rv.data.ProLink.GroupDefinition.Member
*/
class Member extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field string ip = 1;
*/
protected $ip = '';
/**
* Generated from protobuf field uint32 port = 2;
*/
protected $port = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $ip
* @type int $port
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProApi::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field string ip = 1;
* @return string
*/
public function getIp()
{
return $this->ip;
}
/**
* Generated from protobuf field string ip = 1;
* @param string $var
* @return $this
*/
public function setIp($var)
{
GPBUtil::checkString($var, True);
$this->ip = $var;
return $this;
}
/**
* Generated from protobuf field uint32 port = 2;
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* Generated from protobuf field uint32 port = 2;
* @param int $var
* @return $this
*/
public function setPort($var)
{
GPBUtil::checkUint32($var);
$this->port = $var;
return $this;
}
}