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

namespace Rv\Analytics\UI;

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

/**
 * Generated from protobuf message <code>rv.analytics.UI.LowerRight</code>
 */
class LowerRight extends \Google\Protobuf\Internal\Message
{
    protected $Component;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Analytics\UI\LowerRight\Timers $timers
     *     @type \Rv\Analytics\UI\LowerRight\Messages $messages
     *     @type \Rv\Analytics\UI\LowerRight\Props $props
     *     @type \Rv\Analytics\UI\LowerRight\Stage $stage
     *     @type \Rv\Analytics\UI\LowerRight\AudioBin $audio_bin
     *     @type \Rv\Analytics\UI\LowerRight\Macros $macros
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\AnalyticsUI::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.LowerRight.Timers timers = 1;</code>
     * @return \Rv\Analytics\UI\LowerRight\Timers|null
     */
    public function getTimers()
    {
        return $this->readOneof(1);
    }

    public function hasTimers()
    {
        return $this->hasOneof(1);
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.LowerRight.Timers timers = 1;</code>
     * @param \Rv\Analytics\UI\LowerRight\Timers $var
     * @return $this
     */
    public function setTimers($var)
    {
        GPBUtil::checkMessage($var, \Rv\Analytics\UI\LowerRight\Timers::class);
        $this->writeOneof(1, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.LowerRight.Messages messages = 2;</code>
     * @return \Rv\Analytics\UI\LowerRight\Messages|null
     */
    public function getMessages()
    {
        return $this->readOneof(2);
    }

    public function hasMessages()
    {
        return $this->hasOneof(2);
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.LowerRight.Messages messages = 2;</code>
     * @param \Rv\Analytics\UI\LowerRight\Messages $var
     * @return $this
     */
    public function setMessages($var)
    {
        GPBUtil::checkMessage($var, \Rv\Analytics\UI\LowerRight\Messages::class);
        $this->writeOneof(2, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.LowerRight.Props props = 3;</code>
     * @return \Rv\Analytics\UI\LowerRight\Props|null
     */
    public function getProps()
    {
        return $this->readOneof(3);
    }

    public function hasProps()
    {
        return $this->hasOneof(3);
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.LowerRight.Props props = 3;</code>
     * @param \Rv\Analytics\UI\LowerRight\Props $var
     * @return $this
     */
    public function setProps($var)
    {
        GPBUtil::checkMessage($var, \Rv\Analytics\UI\LowerRight\Props::class);
        $this->writeOneof(3, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.LowerRight.Stage stage = 4;</code>
     * @return \Rv\Analytics\UI\LowerRight\Stage|null
     */
    public function getStage()
    {
        return $this->readOneof(4);
    }

    public function hasStage()
    {
        return $this->hasOneof(4);
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.LowerRight.Stage stage = 4;</code>
     * @param \Rv\Analytics\UI\LowerRight\Stage $var
     * @return $this
     */
    public function setStage($var)
    {
        GPBUtil::checkMessage($var, \Rv\Analytics\UI\LowerRight\Stage::class);
        $this->writeOneof(4, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.LowerRight.AudioBin audio_bin = 5;</code>
     * @return \Rv\Analytics\UI\LowerRight\AudioBin|null
     */
    public function getAudioBin()
    {
        return $this->readOneof(5);
    }

    public function hasAudioBin()
    {
        return $this->hasOneof(5);
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.LowerRight.AudioBin audio_bin = 5;</code>
     * @param \Rv\Analytics\UI\LowerRight\AudioBin $var
     * @return $this
     */
    public function setAudioBin($var)
    {
        GPBUtil::checkMessage($var, \Rv\Analytics\UI\LowerRight\AudioBin::class);
        $this->writeOneof(5, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.LowerRight.Macros macros = 6;</code>
     * @return \Rv\Analytics\UI\LowerRight\Macros|null
     */
    public function getMacros()
    {
        return $this->readOneof(6);
    }

    public function hasMacros()
    {
        return $this->hasOneof(6);
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.LowerRight.Macros macros = 6;</code>
     * @param \Rv\Analytics\UI\LowerRight\Macros $var
     * @return $this
     */
    public function setMacros($var)
    {
        GPBUtil::checkMessage($var, \Rv\Analytics\UI\LowerRight\Macros::class);
        $this->writeOneof(6, $var);

        return $this;
    }

    /**
     * @return string
     */
    public function getComponent()
    {
        return $this->whichOneof("Component");
    }

}

