rv.analytics.trackedevents.NetworkApp
*/
class NetworkApp extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field .rv.analytics.trackedevents.NetworkApp.AppID app_id = 1;
*/
protected $app_id = 0;
/**
* Generated from protobuf field string device_id = 2;
*/
protected $device_id = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $app_id
* @type string $device_id
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\AnalyticsTrackedEvents::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field .rv.analytics.trackedevents.NetworkApp.AppID app_id = 1;
* @return int
*/
public function getAppId()
{
return $this->app_id;
}
/**
* Generated from protobuf field .rv.analytics.trackedevents.NetworkApp.AppID app_id = 1;
* @param int $var
* @return $this
*/
public function setAppId($var)
{
GPBUtil::checkEnum($var, \Rv\Analytics\Trackedevents\NetworkApp\AppID::class);
$this->app_id = $var;
return $this;
}
/**
* Generated from protobuf field string device_id = 2;
* @return string
*/
public function getDeviceId()
{
return $this->device_id;
}
/**
* Generated from protobuf field string device_id = 2;
* @param string $var
* @return $this
*/
public function setDeviceId($var)
{
GPBUtil::checkString($var, True);
$this->device_id = $var;
return $this;
}
}