propresenter-php/php/generated/Rv/Data/ProLink/ClientAction/AddConnection.php
2026-03-01 16:12:17 +01:00

114 lines
2.4 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApi.proto
namespace Rv\Data\ProLink\ClientAction;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.ProLink.ClientAction.AddConnection</code>
*/
class AddConnection extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>string ip = 1;</code>
*/
protected $ip = '';
/**
* Generated from protobuf field <code>uint32 port = 2;</code>
*/
protected $port = 0;
/**
* Generated from protobuf field <code>string group_name = 3;</code>
*/
protected $group_name = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $ip
* @type int $port
* @type string $group_name
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProApi::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>string ip = 1;</code>
* @return string
*/
public function getIp()
{
return $this->ip;
}
/**
* Generated from protobuf field <code>string ip = 1;</code>
* @param string $var
* @return $this
*/
public function setIp($var)
{
GPBUtil::checkString($var, True);
$this->ip = $var;
return $this;
}
/**
* Generated from protobuf field <code>uint32 port = 2;</code>
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* Generated from protobuf field <code>uint32 port = 2;</code>
* @param int $var
* @return $this
*/
public function setPort($var)
{
GPBUtil::checkUint32($var);
$this->port = $var;
return $this;
}
/**
* Generated from protobuf field <code>string group_name = 3;</code>
* @return string
*/
public function getGroupName()
{
return $this->group_name;
}
/**
* Generated from protobuf field <code>string group_name = 3;</code>
* @param string $var
* @return $this
*/
public function setGroupName($var)
{
GPBUtil::checkString($var, True);
$this->group_name = $var;
return $this;
}
}