rv.data.API_v1_ClearGroup */ class API_v1_ClearGroup extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.API_v1_Identifier id = 1; */ protected $id = null; /** * Generated from protobuf field string icon = 2; */ protected $icon = ''; /** * Generated from protobuf field .rv.data.API_v1_Color tint = 3; */ protected $tint = null; /** * Generated from protobuf field repeated .rv.data.API_v1_ClearGroup.API_v1_ClearGroupLayerType layers = 4; */ private $layers; /** * Generated from protobuf field bool stop_timeline_announcements = 5; */ protected $stop_timeline_announcements = false; /** * Generated from protobuf field bool stop_timeline_presentation = 6; */ protected $stop_timeline_presentation = false; /** * Generated from protobuf field bool clear_next_presentation = 7; */ protected $clear_next_presentation = false; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\API_v1_Identifier $id * @type string $icon * @type \Rv\Data\API_v1_Color $tint * @type array|\Google\Protobuf\Internal\RepeatedField $layers * @type bool $stop_timeline_announcements * @type bool $stop_timeline_presentation * @type bool $clear_next_presentation * } */ public function __construct($data = NULL) { \GPBMetadata\ProApiV1Clear::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.API_v1_Identifier id = 1; * @return \Rv\Data\API_v1_Identifier|null */ public function getId() { return $this->id; } public function hasId() { return isset($this->id); } public function clearId() { unset($this->id); } /** * Generated from protobuf field .rv.data.API_v1_Identifier id = 1; * @param \Rv\Data\API_v1_Identifier $var * @return $this */ public function setId($var) { GPBUtil::checkMessage($var, \Rv\Data\API_v1_Identifier::class); $this->id = $var; return $this; } /** * Generated from protobuf field string icon = 2; * @return string */ public function getIcon() { return $this->icon; } /** * Generated from protobuf field string icon = 2; * @param string $var * @return $this */ public function setIcon($var) { GPBUtil::checkString($var, True); $this->icon = $var; return $this; } /** * Generated from protobuf field .rv.data.API_v1_Color tint = 3; * @return \Rv\Data\API_v1_Color|null */ public function getTint() { return $this->tint; } public function hasTint() { return isset($this->tint); } public function clearTint() { unset($this->tint); } /** * Generated from protobuf field .rv.data.API_v1_Color tint = 3; * @param \Rv\Data\API_v1_Color $var * @return $this */ public function setTint($var) { GPBUtil::checkMessage($var, \Rv\Data\API_v1_Color::class); $this->tint = $var; return $this; } /** * Generated from protobuf field repeated .rv.data.API_v1_ClearGroup.API_v1_ClearGroupLayerType layers = 4; * @return \Google\Protobuf\Internal\RepeatedField */ public function getLayers() { return $this->layers; } /** * Generated from protobuf field repeated .rv.data.API_v1_ClearGroup.API_v1_ClearGroupLayerType layers = 4; * @param array|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setLayers($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Rv\Data\API_v1_ClearGroup\API_v1_ClearGroupLayerType::class); $this->layers = $arr; return $this; } /** * Generated from protobuf field bool stop_timeline_announcements = 5; * @return bool */ public function getStopTimelineAnnouncements() { return $this->stop_timeline_announcements; } /** * Generated from protobuf field bool stop_timeline_announcements = 5; * @param bool $var * @return $this */ public function setStopTimelineAnnouncements($var) { GPBUtil::checkBool($var); $this->stop_timeline_announcements = $var; return $this; } /** * Generated from protobuf field bool stop_timeline_presentation = 6; * @return bool */ public function getStopTimelinePresentation() { return $this->stop_timeline_presentation; } /** * Generated from protobuf field bool stop_timeline_presentation = 6; * @param bool $var * @return $this */ public function setStopTimelinePresentation($var) { GPBUtil::checkBool($var); $this->stop_timeline_presentation = $var; return $this; } /** * Generated from protobuf field bool clear_next_presentation = 7; * @return bool */ public function getClearNextPresentation() { return $this->clear_next_presentation; } /** * Generated from protobuf field bool clear_next_presentation = 7; * @param bool $var * @return $this */ public function setClearNextPresentation($var) { GPBUtil::checkBool($var); $this->clear_next_presentation = $var; return $this; } }