rv.data.SlidePreview */ class SlidePreview extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.Cue cue = 1; */ protected $cue = null; /** * Generated from protobuf field .rv.data.Slide.Element element = 2; */ protected $element = null; /** * Generated from protobuf field .rv.data.Color background = 3; */ protected $background = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\Cue $cue * @type \Rv\Data\Slide\Element $element * @type \Rv\Data\Color $background * } */ public function __construct($data = NULL) { \GPBMetadata\Rv2D::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.Cue cue = 1; * @return \Rv\Data\Cue|null */ public function getCue() { return $this->cue; } public function hasCue() { return isset($this->cue); } public function clearCue() { unset($this->cue); } /** * Generated from protobuf field .rv.data.Cue cue = 1; * @param \Rv\Data\Cue $var * @return $this */ public function setCue($var) { GPBUtil::checkMessage($var, \Rv\Data\Cue::class); $this->cue = $var; return $this; } /** * Generated from protobuf field .rv.data.Slide.Element element = 2; * @return \Rv\Data\Slide\Element|null */ public function getElement() { return $this->element; } public function hasElement() { return isset($this->element); } public function clearElement() { unset($this->element); } /** * Generated from protobuf field .rv.data.Slide.Element element = 2; * @param \Rv\Data\Slide\Element $var * @return $this */ public function setElement($var) { GPBUtil::checkMessage($var, \Rv\Data\Slide\Element::class); $this->element = $var; return $this; } /** * Generated from protobuf field .rv.data.Color background = 3; * @return \Rv\Data\Color|null */ public function getBackground() { return $this->background; } public function hasBackground() { return isset($this->background); } public function clearBackground() { unset($this->background); } /** * Generated from protobuf field .rv.data.Color background = 3; * @param \Rv\Data\Color $var * @return $this */ public function setBackground($var) { GPBUtil::checkMessage($var, \Rv\Data\Color::class); $this->background = $var; return $this; } }