rv.analytics.trackedevents.ApplicationLaunch
*/
class ApplicationLaunch extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field string hardware_id = 1;
*/
protected $hardware_id = '';
/**
* Generated from protobuf field .rv.analytics.trackedevents.ApplicationLaunch.Channel channel = 2;
*/
protected $channel = 0;
/**
* Generated from protobuf field .rv.analytics.trackedevents.ApplicationLaunch.Platform platform = 3;
*/
protected $platform = 0;
/**
* Generated from protobuf field string app_version = 4;
*/
protected $app_version = '';
/**
* Generated from protobuf field string os_version = 5;
*/
protected $os_version = '';
/**
* Generated from protobuf field string build_number = 6;
*/
protected $build_number = '';
/**
* Generated from protobuf field string location = 7;
*/
protected $location = '';
/**
* Generated from protobuf field string language = 8;
*/
protected $language = '';
/**
* Generated from protobuf field string hardware_model = 9;
*/
protected $hardware_model = '';
/**
* Generated from protobuf field uint64 physical_memory = 10;
*/
protected $physical_memory = 0;
/**
* Generated from protobuf field string video_controller = 11;
*/
protected $video_controller = '';
/**
* Generated from protobuf field uint64 video_controller_ram = 12;
*/
protected $video_controller_ram = 0;
/**
* Generated from protobuf field string blackmagic_desktop_version = 13;
*/
protected $blackmagic_desktop_version = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $hardware_id
* @type int $channel
* @type int $platform
* @type string $app_version
* @type string $os_version
* @type string $build_number
* @type string $location
* @type string $language
* @type string $hardware_model
* @type int|string $physical_memory
* @type string $video_controller
* @type int|string $video_controller_ram
* @type string $blackmagic_desktop_version
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\AnalyticsTrackedEvents::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field string hardware_id = 1;
* @return string
*/
public function getHardwareId()
{
return $this->hardware_id;
}
/**
* Generated from protobuf field string hardware_id = 1;
* @param string $var
* @return $this
*/
public function setHardwareId($var)
{
GPBUtil::checkString($var, True);
$this->hardware_id = $var;
return $this;
}
/**
* Generated from protobuf field .rv.analytics.trackedevents.ApplicationLaunch.Channel channel = 2;
* @return int
*/
public function getChannel()
{
return $this->channel;
}
/**
* Generated from protobuf field .rv.analytics.trackedevents.ApplicationLaunch.Channel channel = 2;
* @param int $var
* @return $this
*/
public function setChannel($var)
{
GPBUtil::checkEnum($var, \Rv\Analytics\Trackedevents\ApplicationLaunch\Channel::class);
$this->channel = $var;
return $this;
}
/**
* Generated from protobuf field .rv.analytics.trackedevents.ApplicationLaunch.Platform platform = 3;
* @return int
*/
public function getPlatform()
{
return $this->platform;
}
/**
* Generated from protobuf field .rv.analytics.trackedevents.ApplicationLaunch.Platform platform = 3;
* @param int $var
* @return $this
*/
public function setPlatform($var)
{
GPBUtil::checkEnum($var, \Rv\Analytics\Trackedevents\ApplicationLaunch\Platform::class);
$this->platform = $var;
return $this;
}
/**
* Generated from protobuf field string app_version = 4;
* @return string
*/
public function getAppVersion()
{
return $this->app_version;
}
/**
* Generated from protobuf field string app_version = 4;
* @param string $var
* @return $this
*/
public function setAppVersion($var)
{
GPBUtil::checkString($var, True);
$this->app_version = $var;
return $this;
}
/**
* Generated from protobuf field string os_version = 5;
* @return string
*/
public function getOsVersion()
{
return $this->os_version;
}
/**
* Generated from protobuf field string os_version = 5;
* @param string $var
* @return $this
*/
public function setOsVersion($var)
{
GPBUtil::checkString($var, True);
$this->os_version = $var;
return $this;
}
/**
* Generated from protobuf field string build_number = 6;
* @return string
*/
public function getBuildNumber()
{
return $this->build_number;
}
/**
* Generated from protobuf field string build_number = 6;
* @param string $var
* @return $this
*/
public function setBuildNumber($var)
{
GPBUtil::checkString($var, True);
$this->build_number = $var;
return $this;
}
/**
* Generated from protobuf field string location = 7;
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* Generated from protobuf field string location = 7;
* @param string $var
* @return $this
*/
public function setLocation($var)
{
GPBUtil::checkString($var, True);
$this->location = $var;
return $this;
}
/**
* Generated from protobuf field string language = 8;
* @return string
*/
public function getLanguage()
{
return $this->language;
}
/**
* Generated from protobuf field string language = 8;
* @param string $var
* @return $this
*/
public function setLanguage($var)
{
GPBUtil::checkString($var, True);
$this->language = $var;
return $this;
}
/**
* Generated from protobuf field string hardware_model = 9;
* @return string
*/
public function getHardwareModel()
{
return $this->hardware_model;
}
/**
* Generated from protobuf field string hardware_model = 9;
* @param string $var
* @return $this
*/
public function setHardwareModel($var)
{
GPBUtil::checkString($var, True);
$this->hardware_model = $var;
return $this;
}
/**
* Generated from protobuf field uint64 physical_memory = 10;
* @return int|string
*/
public function getPhysicalMemory()
{
return $this->physical_memory;
}
/**
* Generated from protobuf field uint64 physical_memory = 10;
* @param int|string $var
* @return $this
*/
public function setPhysicalMemory($var)
{
GPBUtil::checkUint64($var);
$this->physical_memory = $var;
return $this;
}
/**
* Generated from protobuf field string video_controller = 11;
* @return string
*/
public function getVideoController()
{
return $this->video_controller;
}
/**
* Generated from protobuf field string video_controller = 11;
* @param string $var
* @return $this
*/
public function setVideoController($var)
{
GPBUtil::checkString($var, True);
$this->video_controller = $var;
return $this;
}
/**
* Generated from protobuf field uint64 video_controller_ram = 12;
* @return int|string
*/
public function getVideoControllerRam()
{
return $this->video_controller_ram;
}
/**
* Generated from protobuf field uint64 video_controller_ram = 12;
* @param int|string $var
* @return $this
*/
public function setVideoControllerRam($var)
{
GPBUtil::checkUint64($var);
$this->video_controller_ram = $var;
return $this;
}
/**
* Generated from protobuf field string blackmagic_desktop_version = 13;
* @return string
*/
public function getBlackmagicDesktopVersion()
{
return $this->blackmagic_desktop_version;
}
/**
* Generated from protobuf field string blackmagic_desktop_version = 13;
* @param string $var
* @return $this
*/
public function setBlackmagicDesktopVersion($var)
{
GPBUtil::checkString($var, True);
$this->blackmagic_desktop_version = $var;
return $this;
}
}