rv.data.ClearGroupsDocument.ClearGroup */ class ClearGroup extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.UUID uuid = 1; */ protected $uuid = null; /** * Generated from protobuf field string name = 2; */ protected $name = ''; /** * Generated from protobuf field repeated .rv.data.Action.ClearType layer_targets = 3; */ private $layer_targets; /** * Generated from protobuf field bool is_hidden_in_preview = 4; */ protected $is_hidden_in_preview = false; /** * Generated from protobuf field bytes image_data = 5; */ protected $image_data = ''; /** * Generated from protobuf field .rv.data.ClearGroupsDocument.ClearGroup.ImageType image_type = 6; */ protected $image_type = 0; /** * Generated from protobuf field bool is_icon_tinted = 7; */ protected $is_icon_tinted = false; /** * Generated from protobuf field .rv.data.Color icon_tint_color = 8; */ protected $icon_tint_color = null; /** * Generated from protobuf field repeated .rv.data.Action.ContentDestination timeline_targets = 9; */ private $timeline_targets; /** * Generated from protobuf field bool clear_presentation_next_slide = 10; */ protected $clear_presentation_next_slide = false; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\UUID $uuid * @type string $name * @type array<\Rv\Data\Action\ClearType>|\Google\Protobuf\Internal\RepeatedField $layer_targets * @type bool $is_hidden_in_preview * @type string $image_data * @type int $image_type * @type bool $is_icon_tinted * @type \Rv\Data\Color $icon_tint_color * @type array|\Google\Protobuf\Internal\RepeatedField $timeline_targets * @type bool $clear_presentation_next_slide * } */ public function __construct($data = NULL) { \GPBMetadata\ClearGroups::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.UUID uuid = 1; * @return \Rv\Data\UUID|null */ public function getUuid() { return $this->uuid; } public function hasUuid() { return isset($this->uuid); } public function clearUuid() { unset($this->uuid); } /** * Generated from protobuf field .rv.data.UUID uuid = 1; * @param \Rv\Data\UUID $var * @return $this */ public function setUuid($var) { GPBUtil::checkMessage($var, \Rv\Data\UUID::class); $this->uuid = $var; return $this; } /** * Generated from protobuf field string name = 2; * @return string */ public function getName() { return $this->name; } /** * Generated from protobuf field string name = 2; * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } /** * Generated from protobuf field repeated .rv.data.Action.ClearType layer_targets = 3; * @return \Google\Protobuf\Internal\RepeatedField */ public function getLayerTargets() { return $this->layer_targets; } /** * Generated from protobuf field repeated .rv.data.Action.ClearType layer_targets = 3; * @param array<\Rv\Data\Action\ClearType>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setLayerTargets($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Action\ClearType::class); $this->layer_targets = $arr; return $this; } /** * Generated from protobuf field bool is_hidden_in_preview = 4; * @return bool */ public function getIsHiddenInPreview() { return $this->is_hidden_in_preview; } /** * Generated from protobuf field bool is_hidden_in_preview = 4; * @param bool $var * @return $this */ public function setIsHiddenInPreview($var) { GPBUtil::checkBool($var); $this->is_hidden_in_preview = $var; return $this; } /** * Generated from protobuf field bytes image_data = 5; * @return string */ public function getImageData() { return $this->image_data; } /** * Generated from protobuf field bytes image_data = 5; * @param string $var * @return $this */ public function setImageData($var) { GPBUtil::checkString($var, False); $this->image_data = $var; return $this; } /** * Generated from protobuf field .rv.data.ClearGroupsDocument.ClearGroup.ImageType image_type = 6; * @return int */ public function getImageType() { return $this->image_type; } /** * Generated from protobuf field .rv.data.ClearGroupsDocument.ClearGroup.ImageType image_type = 6; * @param int $var * @return $this */ public function setImageType($var) { GPBUtil::checkEnum($var, \Rv\Data\ClearGroupsDocument\ClearGroup\ImageType::class); $this->image_type = $var; return $this; } /** * Generated from protobuf field bool is_icon_tinted = 7; * @return bool */ public function getIsIconTinted() { return $this->is_icon_tinted; } /** * Generated from protobuf field bool is_icon_tinted = 7; * @param bool $var * @return $this */ public function setIsIconTinted($var) { GPBUtil::checkBool($var); $this->is_icon_tinted = $var; return $this; } /** * Generated from protobuf field .rv.data.Color icon_tint_color = 8; * @return \Rv\Data\Color|null */ public function getIconTintColor() { return $this->icon_tint_color; } public function hasIconTintColor() { return isset($this->icon_tint_color); } public function clearIconTintColor() { unset($this->icon_tint_color); } /** * Generated from protobuf field .rv.data.Color icon_tint_color = 8; * @param \Rv\Data\Color $var * @return $this */ public function setIconTintColor($var) { GPBUtil::checkMessage($var, \Rv\Data\Color::class); $this->icon_tint_color = $var; return $this; } /** * Generated from protobuf field repeated .rv.data.Action.ContentDestination timeline_targets = 9; * @return \Google\Protobuf\Internal\RepeatedField */ public function getTimelineTargets() { return $this->timeline_targets; } /** * Generated from protobuf field repeated .rv.data.Action.ContentDestination timeline_targets = 9; * @param array|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setTimelineTargets($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Rv\Data\Action\ContentDestination::class); $this->timeline_targets = $arr; return $this; } /** * Generated from protobuf field bool clear_presentation_next_slide = 10; * @return bool */ public function getClearPresentationNextSlide() { return $this->clear_presentation_next_slide; } /** * Generated from protobuf field bool clear_presentation_next_slide = 10; * @param bool $var * @return $this */ public function setClearPresentationNextSlide($var) { GPBUtil::checkBool($var); $this->clear_presentation_next_slide = $var; return $this; } }