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

namespace Rv\Data\ProLink;

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

/**
 * Generated from protobuf message <code>rv.data.ProLink.HandlerIn</code>
 */
class HandlerIn extends \Google\Protobuf\Internal\Message
{
    protected $Request;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\ProLink\HandlerIn\GroupName $group_name
     *     @type \Rv\Data\ProLink\HandlerIn\GroupDefinitionRequest $group_definition_request
     *     @type \Rv\Data\ProLink\HandlerIn\GroupJoinConfirmation $group_join_confirmation
     *     @type \Rv\Data\ProLink\HandlerIn\GroupJoinPassword $group_join_password
     *     @type \Rv\Data\ProLink\HandlerIn\AddConnectionResult $add_connection_result
     *     @type \Rv\Data\ProLink\GroupDefinition $group_update
     *     @type \Rv\Data\ProLink\HandlerIn\MemberStatusChange $member_status_change
     *     @type \Rv\Data\ProLink\HandlerIn\ProPresenterInfo $propresenter_info
     *     @type \Rv\Data\ProLink\HandlerIn\ServerState $server_state
     *     @type \Rv\Data\ProLink\HandlerIn\ConfigurationRequest $configuration_request
     *     @type \Rv\Data\ProLink\ZeroConfig\NetworkEnvironment $zeroconfig_network_environment_change
     *     @type \Rv\Data\ProLink\HandlerIn\LogRequest $log_request
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProApi::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.GroupName group_name = 1;</code>
     * @return \Rv\Data\ProLink\HandlerIn\GroupName|null
     */
    public function getGroupName()
    {
        return $this->readOneof(1);
    }

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

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.GroupName group_name = 1;</code>
     * @param \Rv\Data\ProLink\HandlerIn\GroupName $var
     * @return $this
     */
    public function setGroupName($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\ProLink\HandlerIn\GroupName::class);
        $this->writeOneof(1, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.GroupDefinitionRequest group_definition_request = 2;</code>
     * @return \Rv\Data\ProLink\HandlerIn\GroupDefinitionRequest|null
     */
    public function getGroupDefinitionRequest()
    {
        return $this->readOneof(2);
    }

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

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.GroupDefinitionRequest group_definition_request = 2;</code>
     * @param \Rv\Data\ProLink\HandlerIn\GroupDefinitionRequest $var
     * @return $this
     */
    public function setGroupDefinitionRequest($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\ProLink\HandlerIn\GroupDefinitionRequest::class);
        $this->writeOneof(2, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.GroupJoinConfirmation group_join_confirmation = 3;</code>
     * @return \Rv\Data\ProLink\HandlerIn\GroupJoinConfirmation|null
     */
    public function getGroupJoinConfirmation()
    {
        return $this->readOneof(3);
    }

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

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.GroupJoinConfirmation group_join_confirmation = 3;</code>
     * @param \Rv\Data\ProLink\HandlerIn\GroupJoinConfirmation $var
     * @return $this
     */
    public function setGroupJoinConfirmation($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\ProLink\HandlerIn\GroupJoinConfirmation::class);
        $this->writeOneof(3, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.GroupJoinPassword group_join_password = 4;</code>
     * @return \Rv\Data\ProLink\HandlerIn\GroupJoinPassword|null
     */
    public function getGroupJoinPassword()
    {
        return $this->readOneof(4);
    }

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

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.GroupJoinPassword group_join_password = 4;</code>
     * @param \Rv\Data\ProLink\HandlerIn\GroupJoinPassword $var
     * @return $this
     */
    public function setGroupJoinPassword($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\ProLink\HandlerIn\GroupJoinPassword::class);
        $this->writeOneof(4, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.AddConnectionResult add_connection_result = 5;</code>
     * @return \Rv\Data\ProLink\HandlerIn\AddConnectionResult|null
     */
    public function getAddConnectionResult()
    {
        return $this->readOneof(5);
    }

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

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.AddConnectionResult add_connection_result = 5;</code>
     * @param \Rv\Data\ProLink\HandlerIn\AddConnectionResult $var
     * @return $this
     */
    public function setAddConnectionResult($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\ProLink\HandlerIn\AddConnectionResult::class);
        $this->writeOneof(5, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.GroupDefinition group_update = 6;</code>
     * @return \Rv\Data\ProLink\GroupDefinition|null
     */
    public function getGroupUpdate()
    {
        return $this->readOneof(6);
    }

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

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.GroupDefinition group_update = 6;</code>
     * @param \Rv\Data\ProLink\GroupDefinition $var
     * @return $this
     */
    public function setGroupUpdate($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\ProLink\GroupDefinition::class);
        $this->writeOneof(6, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.MemberStatusChange member_status_change = 7;</code>
     * @return \Rv\Data\ProLink\HandlerIn\MemberStatusChange|null
     */
    public function getMemberStatusChange()
    {
        return $this->readOneof(7);
    }

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

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.MemberStatusChange member_status_change = 7;</code>
     * @param \Rv\Data\ProLink\HandlerIn\MemberStatusChange $var
     * @return $this
     */
    public function setMemberStatusChange($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\ProLink\HandlerIn\MemberStatusChange::class);
        $this->writeOneof(7, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.ProPresenterInfo propresenter_info = 8;</code>
     * @return \Rv\Data\ProLink\HandlerIn\ProPresenterInfo|null
     */
    public function getPropresenterInfo()
    {
        return $this->readOneof(8);
    }

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

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.ProPresenterInfo propresenter_info = 8;</code>
     * @param \Rv\Data\ProLink\HandlerIn\ProPresenterInfo $var
     * @return $this
     */
    public function setPropresenterInfo($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\ProLink\HandlerIn\ProPresenterInfo::class);
        $this->writeOneof(8, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.ServerState server_state = 9;</code>
     * @return \Rv\Data\ProLink\HandlerIn\ServerState|null
     */
    public function getServerState()
    {
        return $this->readOneof(9);
    }

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

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.ServerState server_state = 9;</code>
     * @param \Rv\Data\ProLink\HandlerIn\ServerState $var
     * @return $this
     */
    public function setServerState($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\ProLink\HandlerIn\ServerState::class);
        $this->writeOneof(9, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.ConfigurationRequest configuration_request = 10;</code>
     * @return \Rv\Data\ProLink\HandlerIn\ConfigurationRequest|null
     */
    public function getConfigurationRequest()
    {
        return $this->readOneof(10);
    }

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

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.ConfigurationRequest configuration_request = 10;</code>
     * @param \Rv\Data\ProLink\HandlerIn\ConfigurationRequest $var
     * @return $this
     */
    public function setConfigurationRequest($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\ProLink\HandlerIn\ConfigurationRequest::class);
        $this->writeOneof(10, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.ZeroConfig.NetworkEnvironment zeroconfig_network_environment_change = 11;</code>
     * @return \Rv\Data\ProLink\ZeroConfig\NetworkEnvironment|null
     */
    public function getZeroconfigNetworkEnvironmentChange()
    {
        return $this->readOneof(11);
    }

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

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.ZeroConfig.NetworkEnvironment zeroconfig_network_environment_change = 11;</code>
     * @param \Rv\Data\ProLink\ZeroConfig\NetworkEnvironment $var
     * @return $this
     */
    public function setZeroconfigNetworkEnvironmentChange($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\ProLink\ZeroConfig\NetworkEnvironment::class);
        $this->writeOneof(11, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.LogRequest log_request = 12;</code>
     * @return \Rv\Data\ProLink\HandlerIn\LogRequest|null
     */
    public function getLogRequest()
    {
        return $this->readOneof(12);
    }

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

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.LogRequest log_request = 12;</code>
     * @param \Rv\Data\ProLink\HandlerIn\LogRequest $var
     * @return $this
     */
    public function setLogRequest($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\ProLink\HandlerIn\LogRequest::class);
        $this->writeOneof(12, $var);

        return $this;
    }

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

}

