rv.analytics.trackedevents.Device */ class Device extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string protocol = 1; */ protected $protocol = ''; /** * Generated from protobuf field string device_name = 2; */ protected $device_name = ''; /** * Generated from protobuf field string device_protocol = 3; */ protected $device_protocol = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $protocol * @type string $device_name * @type string $device_protocol * } */ public function __construct($data = NULL) { \GPBMetadata\AnalyticsTrackedEvents::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string protocol = 1; * @return string */ public function getProtocol() { return $this->protocol; } /** * Generated from protobuf field string protocol = 1; * @param string $var * @return $this */ public function setProtocol($var) { GPBUtil::checkString($var, True); $this->protocol = $var; return $this; } /** * Generated from protobuf field string device_name = 2; * @return string */ public function getDeviceName() { return $this->device_name; } /** * Generated from protobuf field string device_name = 2; * @param string $var * @return $this */ public function setDeviceName($var) { GPBUtil::checkString($var, True); $this->device_name = $var; return $this; } /** * Generated from protobuf field string device_protocol = 3; * @return string */ public function getDeviceProtocol() { return $this->device_protocol; } /** * Generated from protobuf field string device_protocol = 3; * @param string $var * @return $this */ public function setDeviceProtocol($var) { GPBUtil::checkString($var, True); $this->device_protocol = $var; return $this; } }