rv.data.API_v1_Presentation.SlideGroup.Slide */ class Slide extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field bool enabled = 1; */ protected $enabled = false; /** * Generated from protobuf field string notes = 2; */ protected $notes = ''; /** * Generated from protobuf field string text = 3; */ protected $text = ''; /** * Generated from protobuf field string label = 5; */ protected $label = ''; /** * Generated from protobuf field .rv.data.API_v1_Size size = 6; */ protected $size = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type bool $enabled * @type string $notes * @type string $text * @type string $label * @type \Rv\Data\API_v1_Size $size * } */ public function __construct($data = NULL) { \GPBMetadata\ProApiV1Presentation::initOnce(); parent::__construct($data); } /** * Generated from protobuf field bool enabled = 1; * @return bool */ public function getEnabled() { return $this->enabled; } /** * Generated from protobuf field bool enabled = 1; * @param bool $var * @return $this */ public function setEnabled($var) { GPBUtil::checkBool($var); $this->enabled = $var; return $this; } /** * Generated from protobuf field string notes = 2; * @return string */ public function getNotes() { return $this->notes; } /** * Generated from protobuf field string notes = 2; * @param string $var * @return $this */ public function setNotes($var) { GPBUtil::checkString($var, True); $this->notes = $var; return $this; } /** * Generated from protobuf field string text = 3; * @return string */ public function getText() { return $this->text; } /** * Generated from protobuf field string text = 3; * @param string $var * @return $this */ public function setText($var) { GPBUtil::checkString($var, True); $this->text = $var; return $this; } /** * Generated from protobuf field string label = 5; * @return string */ public function getLabel() { return $this->label; } /** * Generated from protobuf field string label = 5; * @param string $var * @return $this */ public function setLabel($var) { GPBUtil::checkString($var, True); $this->label = $var; return $this; } /** * Generated from protobuf field .rv.data.API_v1_Size size = 6; * @return \Rv\Data\API_v1_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.API_v1_Size size = 6; * @param \Rv\Data\API_v1_Size $var * @return $this */ public function setSize($var) { GPBUtil::checkMessage($var, \Rv\Data\API_v1_Size::class); $this->size = $var; return $this; } }