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

namespace Rv\Analytics\UI\LowerRight;

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

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

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Analytics\UI\LowerRight\Timers\Shown $shown
     *     @type \Rv\Analytics\UI\LowerRight\Timers\Collapse $collapse
     *     @type \Rv\Analytics\UI\LowerRight\Timers\Edit $edit
     *     @type \Rv\Analytics\UI\LowerRight\Timers\State $state
     *     @type \Rv\Analytics\UI\LowerRight\Timers\Create $create
     *     @type \Rv\Analytics\UI\LowerRight\Timers\Delete $delete
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\AnalyticsUI::initOnce();
        parent::__construct($data);
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

}

