rv.data.PresentationSlide.Notes */ class Notes extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field bytes rtf_data = 1; */ protected $rtf_data = ''; /** * Generated from protobuf field .rv.data.Graphics.Text.Attributes attributes = 2; */ protected $attributes = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $rtf_data * @type \Rv\Data\Graphics\Text\Attributes $attributes * } */ public function __construct($data = NULL) { \GPBMetadata\PresentationSlide::initOnce(); parent::__construct($data); } /** * Generated from protobuf field bytes rtf_data = 1; * @return string */ public function getRtfData() { return $this->rtf_data; } /** * Generated from protobuf field bytes rtf_data = 1; * @param string $var * @return $this */ public function setRtfData($var) { GPBUtil::checkString($var, False); $this->rtf_data = $var; return $this; } /** * Generated from protobuf field .rv.data.Graphics.Text.Attributes attributes = 2; * @return \Rv\Data\Graphics\Text\Attributes|null */ public function getAttributes() { return $this->attributes; } public function hasAttributes() { return isset($this->attributes); } public function clearAttributes() { unset($this->attributes); } /** * Generated from protobuf field .rv.data.Graphics.Text.Attributes attributes = 2; * @param \Rv\Data\Graphics\Text\Attributes $var * @return $this */ public function setAttributes($var) { GPBUtil::checkMessage($var, \Rv\Data\Graphics\Text\Attributes::class); $this->attributes = $var; return $this; } }