<?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.WelcomeToProPresenter</code>
 */
class WelcomeToProPresenter extends \Google\Protobuf\Internal\Message
{
    protected $Component;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Analytics\UI\WelcomeToProPresenter\Shown $shown
     *     @type \Rv\Analytics\UI\WelcomeToProPresenter\Migration $migration
     *     @type \Rv\Analytics\UI\WelcomeToProPresenter\ScreenConfigurationHelp $screen_configuration_help
     *     @type \Rv\Analytics\UI\WelcomeToProPresenter\DownloadSampleContent $download_sample_content
     *     @type \Rv\Analytics\UI\WelcomeToProPresenter\UserGroup $user_group
     *     @type \Rv\Analytics\UI\WelcomeToProPresenter\Tutorials $tutorials
     *     @type \Rv\Analytics\UI\WelcomeToProPresenter\KnowledgeBase $knowledge_base
     *     @type \Rv\Analytics\UI\WelcomeToProPresenter\Blog $blog
     *     @type \Rv\Analytics\UI\WelcomeToProPresenter\Instagram $instagram
     *     @type \Rv\Analytics\UI\WelcomeToProPresenter\Facebook $facebook
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\AnalyticsUI::initOnce();
        parent::__construct($data);
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

}

