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

namespace Rv\Data;

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

/**
 * Generated from protobuf message <code>rv.data.PresentationSlide</code>
 */
class PresentationSlide extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.Slide base_slide = 1;</code>
     */
    protected $base_slide = null;
    /**
     * Generated from protobuf field <code>.rv.data.PresentationSlide.Notes notes = 2;</code>
     */
    protected $notes = null;
    /**
     * Generated from protobuf field <code>repeated .rv.data.AlignmentGuide template_guidelines = 3;</code>
     */
    private $template_guidelines;
    /**
     * Generated from protobuf field <code>.rv.data.URL chord_chart = 4;</code>
     */
    protected $chord_chart = null;
    /**
     * Generated from protobuf field <code>.rv.data.Transition transition = 5;</code>
     */
    protected $transition = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\Slide $base_slide
     *     @type \Rv\Data\PresentationSlide\Notes $notes
     *     @type array<\Rv\Data\AlignmentGuide>|\Google\Protobuf\Internal\RepeatedField $template_guidelines
     *     @type \Rv\Data\URL $chord_chart
     *     @type \Rv\Data\Transition $transition
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PresentationSlide::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.data.Slide base_slide = 1;</code>
     * @return \Rv\Data\Slide|null
     */
    public function getBaseSlide()
    {
        return $this->base_slide;
    }

    public function hasBaseSlide()
    {
        return isset($this->base_slide);
    }

    public function clearBaseSlide()
    {
        unset($this->base_slide);
    }

    /**
     * Generated from protobuf field <code>.rv.data.Slide base_slide = 1;</code>
     * @param \Rv\Data\Slide $var
     * @return $this
     */
    public function setBaseSlide($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\Slide::class);
        $this->base_slide = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.PresentationSlide.Notes notes = 2;</code>
     * @return \Rv\Data\PresentationSlide\Notes|null
     */
    public function getNotes()
    {
        return $this->notes;
    }

    public function hasNotes()
    {
        return isset($this->notes);
    }

    public function clearNotes()
    {
        unset($this->notes);
    }

    /**
     * Generated from protobuf field <code>.rv.data.PresentationSlide.Notes notes = 2;</code>
     * @param \Rv\Data\PresentationSlide\Notes $var
     * @return $this
     */
    public function setNotes($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\PresentationSlide\Notes::class);
        $this->notes = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>repeated .rv.data.AlignmentGuide template_guidelines = 3;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getTemplateGuidelines()
    {
        return $this->template_guidelines;
    }

    /**
     * Generated from protobuf field <code>repeated .rv.data.AlignmentGuide template_guidelines = 3;</code>
     * @param array<\Rv\Data\AlignmentGuide>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setTemplateGuidelines($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\AlignmentGuide::class);
        $this->template_guidelines = $arr;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.URL chord_chart = 4;</code>
     * @return \Rv\Data\URL|null
     */
    public function getChordChart()
    {
        return $this->chord_chart;
    }

    public function hasChordChart()
    {
        return isset($this->chord_chart);
    }

    public function clearChordChart()
    {
        unset($this->chord_chart);
    }

    /**
     * Generated from protobuf field <code>.rv.data.URL chord_chart = 4;</code>
     * @param \Rv\Data\URL $var
     * @return $this
     */
    public function setChordChart($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\URL::class);
        $this->chord_chart = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.Transition transition = 5;</code>
     * @return \Rv\Data\Transition|null
     */
    public function getTransition()
    {
        return $this->transition;
    }

    public function hasTransition()
    {
        return isset($this->transition);
    }

    public function clearTransition()
    {
        unset($this->transition);
    }

    /**
     * Generated from protobuf field <code>.rv.data.Transition transition = 5;</code>
     * @param \Rv\Data\Transition $var
     * @return $this
     */
    public function setTransition($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\Transition::class);
        $this->transition = $var;

        return $this;
    }

}

