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

namespace Rv\Analytics;

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

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

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Analytics\UI\QuickSearch $quick_search
     *     @type \Rv\Analytics\UI\Toolbar $toolbar
     *     @type \Rv\Analytics\UI\MainView $main_view
     *     @type \Rv\Analytics\UI\Looks $looks
     *     @type \Rv\Analytics\UI\ScreenConfiguration $screen_configuration
     *     @type \Rv\Analytics\UI\LowerRight $lower_right
     *     @type \Rv\Analytics\UI\TextInspector $text_inspector
     *     @type \Rv\Analytics\UI\Show $show
     *     @type \Rv\Analytics\UI\InAppStore $in_app_store
     *     @type \Rv\Analytics\UI\Editor $editor
     *     @type \Rv\Analytics\UI\WhatsNew $whats_new
     *     @type \Rv\Analytics\UI\ClearGroups $clear_groups
     *     @type \Rv\Analytics\UI\PreviewArea $preview_area
     *     @type \Rv\Analytics\UI\Placeholder $placeholder
     *     @type \Rv\Analytics\UI\PlanningCenterLive $planning_center_live
     *     @type \Rv\Analytics\UI\NetworkGroup $network_group
     *     @type \Rv\Analytics\UI\CCLI $ccli
     *     @type \Rv\Analytics\UI\Capture $capture
     *     @type \Rv\Analytics\UI\WelcomeToProPresenter $welcomeToProPresenter
     *     @type \Rv\Analytics\UI\TestPattern $test_pattern
     *     @type \Rv\Analytics\UI\Preferences $preferences
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\AnalyticsUI::initOnce();
        parent::__construct($data);
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.WhatsNew whats_new = 11;</code>
     * @return \Rv\Analytics\UI\WhatsNew|null
     */
    public function getWhatsNew()
    {
        return $this->readOneof(11);
    }

    public function hasWhatsNew()
    {
        return $this->hasOneof(11);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.ClearGroups clear_groups = 12;</code>
     * @return \Rv\Analytics\UI\ClearGroups|null
     */
    public function getClearGroups()
    {
        return $this->readOneof(12);
    }

    public function hasClearGroups()
    {
        return $this->hasOneof(12);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.PreviewArea preview_area = 13;</code>
     * @return \Rv\Analytics\UI\PreviewArea|null
     */
    public function getPreviewArea()
    {
        return $this->readOneof(13);
    }

    public function hasPreviewArea()
    {
        return $this->hasOneof(13);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.Placeholder placeholder = 14;</code>
     * @return \Rv\Analytics\UI\Placeholder|null
     */
    public function getPlaceholder()
    {
        return $this->readOneof(14);
    }

    public function hasPlaceholder()
    {
        return $this->hasOneof(14);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.PlanningCenterLive planning_center_live = 15;</code>
     * @return \Rv\Analytics\UI\PlanningCenterLive|null
     */
    public function getPlanningCenterLive()
    {
        return $this->readOneof(15);
    }

    public function hasPlanningCenterLive()
    {
        return $this->hasOneof(15);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.NetworkGroup network_group = 16;</code>
     * @return \Rv\Analytics\UI\NetworkGroup|null
     */
    public function getNetworkGroup()
    {
        return $this->readOneof(16);
    }

    public function hasNetworkGroup()
    {
        return $this->hasOneof(16);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.CCLI ccli = 17;</code>
     * @return \Rv\Analytics\UI\CCLI|null
     */
    public function getCcli()
    {
        return $this->readOneof(17);
    }

    public function hasCcli()
    {
        return $this->hasOneof(17);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.Capture capture = 18;</code>
     * @return \Rv\Analytics\UI\Capture|null
     */
    public function getCapture()
    {
        return $this->readOneof(18);
    }

    public function hasCapture()
    {
        return $this->hasOneof(18);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.WelcomeToProPresenter welcomeToProPresenter = 19;</code>
     * @return \Rv\Analytics\UI\WelcomeToProPresenter|null
     */
    public function getWelcomeToProPresenter()
    {
        return $this->readOneof(19);
    }

    public function hasWelcomeToProPresenter()
    {
        return $this->hasOneof(19);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.TestPattern test_pattern = 20;</code>
     * @return \Rv\Analytics\UI\TestPattern|null
     */
    public function getTestPattern()
    {
        return $this->readOneof(20);
    }

    public function hasTestPattern()
    {
        return $this->hasOneof(20);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.Preferences preferences = 21;</code>
     * @return \Rv\Analytics\UI\Preferences|null
     */
    public function getPreferences()
    {
        return $this->readOneof(21);
    }

    public function hasPreferences()
    {
        return $this->hasOneof(21);
    }

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

        return $this;
    }

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

}

