<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: presentationSlide.proto

namespace Rv\Data\PresentationSlide;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Generated from protobuf message <code>rv.data.PresentationSlide.Notes</code>
 */
class Notes extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>bytes rtf_data = 1;</code>
     */
    protected $rtf_data = '';
    /**
     * Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes attributes = 2;</code>
     */
    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 <code>bytes rtf_data = 1;</code>
     * @return string
     */
    public function getRtfData()
    {
        return $this->rtf_data;
    }

    /**
     * Generated from protobuf field <code>bytes rtf_data = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setRtfData($var)
    {
        GPBUtil::checkString($var, False);
        $this->rtf_data = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes attributes = 2;</code>
     * @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 <code>.rv.data.Graphics.Text.Attributes attributes = 2;</code>
     * @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;
    }

}

