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

namespace Rv\Analytics\UI\MainView;

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

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

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Analytics\UI\MainView\Bible\Shown $shown
     *     @type \Rv\Analytics\UI\MainView\Bible\Trigger $trigger
     *     @type \Rv\Analytics\UI\MainView\Bible\GenerateSlides $generate_slides
     *     @type \Rv\Analytics\UI\MainView\Bible\GenerateNext $generate_next
     *     @type \Rv\Analytics\UI\MainView\Bible\GeneratePrevious $generate_previous
     *     @type \Rv\Analytics\UI\MainView\Bible\SaveSlides $save_slides
     *     @type \Rv\Analytics\UI\MainView\Bible\Lookup $lookup
     *     @type \Rv\Analytics\UI\MainView\Bible\BibleCount $install
     *     @type \Rv\Analytics\UI\MainView\Bible\BibleCount $remove
     *     @type \Rv\Analytics\UI\MainView\Bible\BibleCount $startup
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\AnalyticsUI::initOnce();
        parent::__construct($data);
    }

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

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.Trigger trigger = 2;</code>
     * @return \Rv\Analytics\UI\MainView\Bible\Trigger|null
     */
    public function getTrigger()
    {
        return $this->readOneof(2);
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.GenerateSlides generate_slides = 3;</code>
     * @return \Rv\Analytics\UI\MainView\Bible\GenerateSlides|null
     */
    public function getGenerateSlides()
    {
        return $this->readOneof(3);
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.GenerateNext generate_next = 4;</code>
     * @return \Rv\Analytics\UI\MainView\Bible\GenerateNext|null
     */
    public function getGenerateNext()
    {
        return $this->readOneof(4);
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.GeneratePrevious generate_previous = 5;</code>
     * @return \Rv\Analytics\UI\MainView\Bible\GeneratePrevious|null
     */
    public function getGeneratePrevious()
    {
        return $this->readOneof(5);
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.SaveSlides save_slides = 6;</code>
     * @return \Rv\Analytics\UI\MainView\Bible\SaveSlides|null
     */
    public function getSaveSlides()
    {
        return $this->readOneof(6);
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.Lookup lookup = 7;</code>
     * @return \Rv\Analytics\UI\MainView\Bible\Lookup|null
     */
    public function getLookup()
    {
        return $this->readOneof(7);
    }

    public function hasLookup()
    {
        return $this->hasOneof(7);
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.Lookup lookup = 7;</code>
     * @param \Rv\Analytics\UI\MainView\Bible\Lookup $var
     * @return $this
     */
    public function setLookup($var)
    {
        GPBUtil::checkMessage($var, \Rv\Analytics\UI\MainView\Bible\Lookup::class);
        $this->writeOneof(7, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.BibleCount install = 8;</code>
     * @return \Rv\Analytics\UI\MainView\Bible\BibleCount|null
     */
    public function getInstall()
    {
        return $this->readOneof(8);
    }

    public function hasInstall()
    {
        return $this->hasOneof(8);
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.BibleCount install = 8;</code>
     * @param \Rv\Analytics\UI\MainView\Bible\BibleCount $var
     * @return $this
     */
    public function setInstall($var)
    {
        GPBUtil::checkMessage($var, \Rv\Analytics\UI\MainView\Bible\BibleCount::class);
        $this->writeOneof(8, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.BibleCount remove = 9;</code>
     * @return \Rv\Analytics\UI\MainView\Bible\BibleCount|null
     */
    public function getRemove()
    {
        return $this->readOneof(9);
    }

    public function hasRemove()
    {
        return $this->hasOneof(9);
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.BibleCount remove = 9;</code>
     * @param \Rv\Analytics\UI\MainView\Bible\BibleCount $var
     * @return $this
     */
    public function setRemove($var)
    {
        GPBUtil::checkMessage($var, \Rv\Analytics\UI\MainView\Bible\BibleCount::class);
        $this->writeOneof(9, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.BibleCount startup = 10;</code>
     * @return \Rv\Analytics\UI\MainView\Bible\BibleCount|null
     */
    public function getStartup()
    {
        return $this->readOneof(10);
    }

    public function hasStartup()
    {
        return $this->hasOneof(10);
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.MainView.Bible.BibleCount startup = 10;</code>
     * @param \Rv\Analytics\UI\MainView\Bible\BibleCount $var
     * @return $this
     */
    public function setStartup($var)
    {
        GPBUtil::checkMessage($var, \Rv\Analytics\UI\MainView\Bible\BibleCount::class);
        $this->writeOneof(10, $var);

        return $this;
    }

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

}

