rv.data.ProLink.HandlerOut.ProPresenterInfo */ class ProPresenterInfo 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 host_description = 3; */ protected $host_description = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $platform * @type string $os_version * @type string $host_description * } */ 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 host_description = 3; * @return string */ public function getHostDescription() { return $this->host_description; } /** * Generated from protobuf field string host_description = 3; * @param string $var * @return $this */ public function setHostDescription($var) { GPBUtil::checkString($var, True); $this->host_description = $var; return $this; } }