<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proCore.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.TriggerTransferRenderState</code>
 */
class TriggerTransferRenderState extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.Slide slide = 1;</code>
     */
    protected $slide = null;
    /**
     * Generated from protobuf field <code>string stage_message = 2;</code>
     */
    protected $stage_message = '';
    /**
     * Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.MediaState presentation_media = 3;</code>
     */
    protected $presentation_media = null;
    /**
     * Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.MediaState announcement_media = 4;</code>
     */
    protected $announcement_media = null;
    /**
     * Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.MediaState audio_media = 5;</code>
     */
    protected $audio_media = null;
    /**
     * Generated from protobuf field <code>.rv.data.Media live_video_media = 6;</code>
     */
    protected $live_video_media = null;
    /**
     * Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.SlideState presentation = 7;</code>
     */
    protected $presentation = null;
    /**
     * Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.SlideState announcement = 8;</code>
     */
    protected $announcement = null;
    /**
     * Generated from protobuf field <code>repeated .rv.data.TriggerTransferRenderState.TimerState timers = 9;</code>
     */
    private $timers;
    /**
     * Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.CaptureState capture = 10;</code>
     */
    protected $capture = null;
    /**
     * Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.TimecodeState timecode = 11;</code>
     */
    protected $timecode = null;
    /**
     * Generated from protobuf field <code>uint64 system_time = 12;</code>
     */
    protected $system_time = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\Slide $slide
     *     @type string $stage_message
     *     @type \Rv\Data\TriggerTransferRenderState\MediaState $presentation_media
     *     @type \Rv\Data\TriggerTransferRenderState\MediaState $announcement_media
     *     @type \Rv\Data\TriggerTransferRenderState\MediaState $audio_media
     *     @type \Rv\Data\Media $live_video_media
     *     @type \Rv\Data\TriggerTransferRenderState\SlideState $presentation
     *     @type \Rv\Data\TriggerTransferRenderState\SlideState $announcement
     *     @type array<\Rv\Data\TriggerTransferRenderState\TimerState>|\Google\Protobuf\Internal\RepeatedField $timers
     *     @type \Rv\Data\TriggerTransferRenderState\CaptureState $capture
     *     @type \Rv\Data\TriggerTransferRenderState\TimecodeState $timecode
     *     @type int|string $system_time
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProCore::initOnce();
        parent::__construct($data);
    }

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

    public function hasSlide()
    {
        return isset($this->slide);
    }

    public function clearSlide()
    {
        unset($this->slide);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string stage_message = 2;</code>
     * @return string
     */
    public function getStageMessage()
    {
        return $this->stage_message;
    }

    /**
     * Generated from protobuf field <code>string stage_message = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setStageMessage($var)
    {
        GPBUtil::checkString($var, True);
        $this->stage_message = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.MediaState presentation_media = 3;</code>
     * @return \Rv\Data\TriggerTransferRenderState\MediaState|null
     */
    public function getPresentationMedia()
    {
        return $this->presentation_media;
    }

    public function hasPresentationMedia()
    {
        return isset($this->presentation_media);
    }

    public function clearPresentationMedia()
    {
        unset($this->presentation_media);
    }

    /**
     * Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.MediaState presentation_media = 3;</code>
     * @param \Rv\Data\TriggerTransferRenderState\MediaState $var
     * @return $this
     */
    public function setPresentationMedia($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\TriggerTransferRenderState\MediaState::class);
        $this->presentation_media = $var;

        return $this;
    }

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

    public function hasAnnouncementMedia()
    {
        return isset($this->announcement_media);
    }

    public function clearAnnouncementMedia()
    {
        unset($this->announcement_media);
    }

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

        return $this;
    }

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

    public function hasAudioMedia()
    {
        return isset($this->audio_media);
    }

    public function clearAudioMedia()
    {
        unset($this->audio_media);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.Media live_video_media = 6;</code>
     * @return \Rv\Data\Media|null
     */
    public function getLiveVideoMedia()
    {
        return $this->live_video_media;
    }

    public function hasLiveVideoMedia()
    {
        return isset($this->live_video_media);
    }

    public function clearLiveVideoMedia()
    {
        unset($this->live_video_media);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.SlideState presentation = 7;</code>
     * @return \Rv\Data\TriggerTransferRenderState\SlideState|null
     */
    public function getPresentation()
    {
        return $this->presentation;
    }

    public function hasPresentation()
    {
        return isset($this->presentation);
    }

    public function clearPresentation()
    {
        unset($this->presentation);
    }

    /**
     * Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.SlideState presentation = 7;</code>
     * @param \Rv\Data\TriggerTransferRenderState\SlideState $var
     * @return $this
     */
    public function setPresentation($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\TriggerTransferRenderState\SlideState::class);
        $this->presentation = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.SlideState announcement = 8;</code>
     * @return \Rv\Data\TriggerTransferRenderState\SlideState|null
     */
    public function getAnnouncement()
    {
        return $this->announcement;
    }

    public function hasAnnouncement()
    {
        return isset($this->announcement);
    }

    public function clearAnnouncement()
    {
        unset($this->announcement);
    }

    /**
     * Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.SlideState announcement = 8;</code>
     * @param \Rv\Data\TriggerTransferRenderState\SlideState $var
     * @return $this
     */
    public function setAnnouncement($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\TriggerTransferRenderState\SlideState::class);
        $this->announcement = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>repeated .rv.data.TriggerTransferRenderState.TimerState timers = 9;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getTimers()
    {
        return $this->timers;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.CaptureState capture = 10;</code>
     * @return \Rv\Data\TriggerTransferRenderState\CaptureState|null
     */
    public function getCapture()
    {
        return $this->capture;
    }

    public function hasCapture()
    {
        return isset($this->capture);
    }

    public function clearCapture()
    {
        unset($this->capture);
    }

    /**
     * Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.CaptureState capture = 10;</code>
     * @param \Rv\Data\TriggerTransferRenderState\CaptureState $var
     * @return $this
     */
    public function setCapture($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\TriggerTransferRenderState\CaptureState::class);
        $this->capture = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.TimecodeState timecode = 11;</code>
     * @return \Rv\Data\TriggerTransferRenderState\TimecodeState|null
     */
    public function getTimecode()
    {
        return $this->timecode;
    }

    public function hasTimecode()
    {
        return isset($this->timecode);
    }

    public function clearTimecode()
    {
        unset($this->timecode);
    }

    /**
     * Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.TimecodeState timecode = 11;</code>
     * @param \Rv\Data\TriggerTransferRenderState\TimecodeState $var
     * @return $this
     */
    public function setTimecode($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\TriggerTransferRenderState\TimecodeState::class);
        $this->timecode = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>uint64 system_time = 12;</code>
     * @return int|string
     */
    public function getSystemTime()
    {
        return $this->system_time;
    }

    /**
     * Generated from protobuf field <code>uint64 system_time = 12;</code>
     * @param int|string $var
     * @return $this
     */
    public function setSystemTime($var)
    {
        GPBUtil::checkUint64($var);
        $this->system_time = $var;

        return $this;
    }

}

