rv.data.Slide */ class Slide extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field repeated .rv.data.Slide.Element elements = 1; */ private $elements; /** * Generated from protobuf field repeated .rv.data.UUID element_build_order = 2; */ private $element_build_order; /** * Generated from protobuf field repeated .rv.data.AlignmentGuide guidelines = 3; */ private $guidelines; /** * Generated from protobuf field bool draws_background_color = 4; */ protected $draws_background_color = false; /** * Generated from protobuf field .rv.data.Color background_color = 5; */ protected $background_color = null; /** * Generated from protobuf field .rv.data.Graphics.Size size = 6; */ protected $size = null; /** * Generated from protobuf field .rv.data.UUID uuid = 7; */ protected $uuid = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type array<\Rv\Data\Slide\Element>|\Google\Protobuf\Internal\RepeatedField $elements * @type array<\Rv\Data\UUID>|\Google\Protobuf\Internal\RepeatedField $element_build_order * @type array<\Rv\Data\AlignmentGuide>|\Google\Protobuf\Internal\RepeatedField $guidelines * @type bool $draws_background_color * @type \Rv\Data\Color $background_color * @type \Rv\Data\Graphics\Size $size * @type \Rv\Data\UUID $uuid * } */ public function __construct($data = NULL) { \GPBMetadata\Slide::initOnce(); parent::__construct($data); } /** * Generated from protobuf field repeated .rv.data.Slide.Element elements = 1; * @return \Google\Protobuf\Internal\RepeatedField */ public function getElements() { return $this->elements; } /** * Generated from protobuf field repeated .rv.data.Slide.Element elements = 1; * @param array<\Rv\Data\Slide\Element>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setElements($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Slide\Element::class); $this->elements = $arr; return $this; } /** * Generated from protobuf field repeated .rv.data.UUID element_build_order = 2; * @return \Google\Protobuf\Internal\RepeatedField */ public function getElementBuildOrder() { return $this->element_build_order; } /** * Generated from protobuf field repeated .rv.data.UUID element_build_order = 2; * @param array<\Rv\Data\UUID>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setElementBuildOrder($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\UUID::class); $this->element_build_order = $arr; return $this; } /** * Generated from protobuf field repeated .rv.data.AlignmentGuide guidelines = 3; * @return \Google\Protobuf\Internal\RepeatedField */ public function getGuidelines() { return $this->guidelines; } /** * Generated from protobuf field repeated .rv.data.AlignmentGuide guidelines = 3; * @param array<\Rv\Data\AlignmentGuide>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setGuidelines($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\AlignmentGuide::class); $this->guidelines = $arr; return $this; } /** * Generated from protobuf field bool draws_background_color = 4; * @return bool */ public function getDrawsBackgroundColor() { return $this->draws_background_color; } /** * Generated from protobuf field bool draws_background_color = 4; * @param bool $var * @return $this */ public function setDrawsBackgroundColor($var) { GPBUtil::checkBool($var); $this->draws_background_color = $var; return $this; } /** * Generated from protobuf field .rv.data.Color background_color = 5; * @return \Rv\Data\Color|null */ public function getBackgroundColor() { return $this->background_color; } public function hasBackgroundColor() { return isset($this->background_color); } public function clearBackgroundColor() { unset($this->background_color); } /** * Generated from protobuf field .rv.data.Color background_color = 5; * @param \Rv\Data\Color $var * @return $this */ public function setBackgroundColor($var) { GPBUtil::checkMessage($var, \Rv\Data\Color::class); $this->background_color = $var; return $this; } /** * Generated from protobuf field .rv.data.Graphics.Size size = 6; * @return \Rv\Data\Graphics\Size|null */ public function getSize() { return $this->size; } public function hasSize() { return isset($this->size); } public function clearSize() { unset($this->size); } /** * Generated from protobuf field .rv.data.Graphics.Size size = 6; * @param \Rv\Data\Graphics\Size $var * @return $this */ public function setSize($var) { GPBUtil::checkMessage($var, \Rv\Data\Graphics\Size::class); $this->size = $var; return $this; } /** * Generated from protobuf field .rv.data.UUID uuid = 7; * @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 = 7; * @param \Rv\Data\UUID $var * @return $this */ public function setUuid($var) { GPBUtil::checkMessage($var, \Rv\Data\UUID::class); $this->uuid = $var; return $this; } }