rv.data.NetworkAPI.LinkStatus */ class LinkStatus extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.ApplicationInfo.Platform platform = 1; */ protected $platform = 0; /** * Generated from protobuf field string os_version = 2; */ protected $os_version = ''; /** * Generated from protobuf field string version = 3; */ protected $version = ''; /** * Generated from protobuf field string description = 4; */ protected $description = ''; /** * Generated from protobuf field .rv.data.NetworkAPI.Group group_info = 5; */ protected $group_info = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $platform * @type string $os_version * @type string $version * @type string $description * @type \Rv\Data\NetworkAPI\Group $group_info * } */ public function __construct($data = NULL) { \GPBMetadata\ProApi::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.ApplicationInfo.Platform platform = 1; * @return int */ public function getPlatform() { return $this->platform; } /** * Generated from protobuf field .rv.data.ApplicationInfo.Platform platform = 1; * @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 string os_version = 2; * @return string */ public function getOsVersion() { return $this->os_version; } /** * Generated from protobuf field string os_version = 2; * @param string $var * @return $this */ public function setOsVersion($var) { GPBUtil::checkString($var, True); $this->os_version = $var; return $this; } /** * Generated from protobuf field string version = 3; * @return string */ public function getVersion() { return $this->version; } /** * Generated from protobuf field string version = 3; * @param string $var * @return $this */ public function setVersion($var) { GPBUtil::checkString($var, True); $this->version = $var; return $this; } /** * Generated from protobuf field string description = 4; * @return string */ public function getDescription() { return $this->description; } /** * Generated from protobuf field string description = 4; * @param string $var * @return $this */ public function setDescription($var) { GPBUtil::checkString($var, True); $this->description = $var; return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Group group_info = 5; * @return \Rv\Data\NetworkAPI\Group|null */ public function getGroupInfo() { return $this->group_info; } public function hasGroupInfo() { return isset($this->group_info); } public function clearGroupInfo() { unset($this->group_info); } /** * Generated from protobuf field .rv.data.NetworkAPI.Group group_info = 5; * @param \Rv\Data\NetworkAPI\Group $var * @return $this */ public function setGroupInfo($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Group::class); $this->group_info = $var; return $this; } }