rv.analytics.Startup.ScreenConfiguration.Single
*/
class Single extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field .rv.analytics.Startup.ScreenConfiguration.ScreenType screen_type = 1;
*/
protected $screen_type = 0;
/**
* Generated from protobuf field bool screen_color_enabled = 2;
*/
protected $screen_color_enabled = false;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $screen_type
* @type bool $screen_color_enabled
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\AnalyticsStartup::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field .rv.analytics.Startup.ScreenConfiguration.ScreenType screen_type = 1;
* @return int
*/
public function getScreenType()
{
return $this->screen_type;
}
/**
* Generated from protobuf field .rv.analytics.Startup.ScreenConfiguration.ScreenType screen_type = 1;
* @param int $var
* @return $this
*/
public function setScreenType($var)
{
GPBUtil::checkEnum($var, \Rv\Analytics\Startup\ScreenConfiguration\ScreenType::class);
$this->screen_type = $var;
return $this;
}
/**
* Generated from protobuf field bool screen_color_enabled = 2;
* @return bool
*/
public function getScreenColorEnabled()
{
return $this->screen_color_enabled;
}
/**
* Generated from protobuf field bool screen_color_enabled = 2;
* @param bool $var
* @return $this
*/
public function setScreenColorEnabled($var)
{
GPBUtil::checkBool($var);
$this->screen_color_enabled = $var;
return $this;
}
}