rv.analytics.Startup.ScreenConfiguration.Grouped */ class Grouped 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; /** * Generated from protobuf field int32 columns = 3; */ protected $columns = 0; /** * Generated from protobuf field int32 rows = 4; */ protected $rows = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $screen_type * @type bool $screen_color_enabled * @type int $columns * @type int $rows * } */ 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; } /** * Generated from protobuf field int32 columns = 3; * @return int */ public function getColumns() { return $this->columns; } /** * Generated from protobuf field int32 columns = 3; * @param int $var * @return $this */ public function setColumns($var) { GPBUtil::checkInt32($var); $this->columns = $var; return $this; } /** * Generated from protobuf field int32 rows = 4; * @return int */ public function getRows() { return $this->rows; } /** * Generated from protobuf field int32 rows = 4; * @param int $var * @return $this */ public function setRows($var) { GPBUtil::checkInt32($var); $this->rows = $var; return $this; } }