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

249 lines
5.8 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApi.proto
namespace Rv\Data\ProLink;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.ProLink.MemberStatus</code>
*/
class MemberStatus 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 name = 3;</code>
*/
protected $name = '';
/**
* Generated from protobuf field <code>.rv.data.ApplicationInfo.Platform platform = 4;</code>
*/
protected $platform = 0;
/**
* Generated from protobuf field <code>string os_version = 5;</code>
*/
protected $os_version = '';
/**
* Generated from protobuf field <code>string host_description = 6;</code>
*/
protected $host_description = '';
/**
* Generated from protobuf field <code>string api_version = 7;</code>
*/
protected $api_version = '';
/**
* Generated from protobuf field <code>.rv.data.ProLink.MemberStatus.ConnectionStatus connection_status = 8;</code>
*/
protected $connection_status = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $ip
* @type int $port
* @type string $name
* @type int $platform
* @type string $os_version
* @type string $host_description
* @type string $api_version
* @type int $connection_status
* }
*/
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 name = 3;</code>
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Generated from protobuf field <code>string name = 3;</code>
* @param string $var
* @return $this
*/
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.ApplicationInfo.Platform platform = 4;</code>
* @return int
*/
public function getPlatform()
{
return $this->platform;
}
/**
* Generated from protobuf field <code>.rv.data.ApplicationInfo.Platform platform = 4;</code>
* @param int $var
* @return $this
*/
public function setPlatform($var)
{
GPBUtil::checkEnum($var, \Rv\Data\ApplicationInfo\Platform::class);
$this->platform = $var;
return $this;
}
/**
* Generated from protobuf field <code>string os_version = 5;</code>
* @return string
*/
public function getOsVersion()
{
return $this->os_version;
}
/**
* Generated from protobuf field <code>string os_version = 5;</code>
* @param string $var
* @return $this
*/
public function setOsVersion($var)
{
GPBUtil::checkString($var, True);
$this->os_version = $var;
return $this;
}
/**
* Generated from protobuf field <code>string host_description = 6;</code>
* @return string
*/
public function getHostDescription()
{
return $this->host_description;
}
/**
* Generated from protobuf field <code>string host_description = 6;</code>
* @param string $var
* @return $this
*/
public function setHostDescription($var)
{
GPBUtil::checkString($var, True);
$this->host_description = $var;
return $this;
}
/**
* Generated from protobuf field <code>string api_version = 7;</code>
* @return string
*/
public function getApiVersion()
{
return $this->api_version;
}
/**
* Generated from protobuf field <code>string api_version = 7;</code>
* @param string $var
* @return $this
*/
public function setApiVersion($var)
{
GPBUtil::checkString($var, True);
$this->api_version = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.ProLink.MemberStatus.ConnectionStatus connection_status = 8;</code>
* @return int
*/
public function getConnectionStatus()
{
return $this->connection_status;
}
/**
* Generated from protobuf field <code>.rv.data.ProLink.MemberStatus.ConnectionStatus connection_status = 8;</code>
* @param int $var
* @return $this
*/
public function setConnectionStatus($var)
{
GPBUtil::checkEnum($var, \Rv\Data\ProLink\MemberStatus\ConnectionStatus::class);
$this->connection_status = $var;
return $this;
}
}