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

namespace Rv\Data;

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

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

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\API_v1_Stage_Request\GetLayoutMap $get_layout_map
     *     @type \Rv\Data\API_v1_Stage_Request\SetLayoutMap $set_layout_map
     *     @type \Rv\Data\API_v1_Stage_Request\GetMessage $get_message
     *     @type \Rv\Data\API_v1_Stage_Request\PutMessage $put_message
     *     @type \Rv\Data\API_v1_Stage_Request\DeleteMessage $delete_message
     *     @type \Rv\Data\API_v1_Stage_Request\GetScreens $get_screens
     *     @type \Rv\Data\API_v1_Stage_Request\GetScreenLayout $get_screen_layout
     *     @type \Rv\Data\API_v1_Stage_Request\SetScreenLayout $set_screen_layout
     *     @type \Rv\Data\API_v1_Stage_Request\GetLayouts $get_layouts
     *     @type \Rv\Data\API_v1_Stage_Request\DeleteLayout $delete_layout
     *     @type \Rv\Data\API_v1_Stage_Request\GetLayoutThumbnail $get_layout_thumbnail
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProApiV1Stage::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Stage_Request.GetLayoutMap get_layout_map = 1;</code>
     * @return \Rv\Data\API_v1_Stage_Request\GetLayoutMap|null
     */
    public function getGetLayoutMap()
    {
        return $this->readOneof(1);
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Stage_Request.SetLayoutMap set_layout_map = 2;</code>
     * @return \Rv\Data\API_v1_Stage_Request\SetLayoutMap|null
     */
    public function getSetLayoutMap()
    {
        return $this->readOneof(2);
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Stage_Request.GetMessage get_message = 3;</code>
     * @return \Rv\Data\API_v1_Stage_Request\GetMessage|null
     */
    public function getGetMessage()
    {
        return $this->readOneof(3);
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Stage_Request.PutMessage put_message = 4;</code>
     * @return \Rv\Data\API_v1_Stage_Request\PutMessage|null
     */
    public function getPutMessage()
    {
        return $this->readOneof(4);
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Stage_Request.DeleteMessage delete_message = 5;</code>
     * @return \Rv\Data\API_v1_Stage_Request\DeleteMessage|null
     */
    public function getDeleteMessage()
    {
        return $this->readOneof(5);
    }

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

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

        return $this;
    }

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

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Stage_Request.GetScreenLayout get_screen_layout = 7;</code>
     * @return \Rv\Data\API_v1_Stage_Request\GetScreenLayout|null
     */
    public function getGetScreenLayout()
    {
        return $this->readOneof(7);
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Stage_Request.SetScreenLayout set_screen_layout = 8;</code>
     * @return \Rv\Data\API_v1_Stage_Request\SetScreenLayout|null
     */
    public function getSetScreenLayout()
    {
        return $this->readOneof(8);
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Stage_Request.GetLayouts get_layouts = 9;</code>
     * @return \Rv\Data\API_v1_Stage_Request\GetLayouts|null
     */
    public function getGetLayouts()
    {
        return $this->readOneof(9);
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Stage_Request.DeleteLayout delete_layout = 10;</code>
     * @return \Rv\Data\API_v1_Stage_Request\DeleteLayout|null
     */
    public function getDeleteLayout()
    {
        return $this->readOneof(10);
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Stage_Request.GetLayoutThumbnail get_layout_thumbnail = 11;</code>
     * @return \Rv\Data\API_v1_Stage_Request\GetLayoutThumbnail|null
     */
    public function getGetLayoutThumbnail()
    {
        return $this->readOneof(11);
    }

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

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

        return $this;
    }

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

}

