<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApiV1Prop.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_Prop_Response</code>
 */
class API_v1_Prop_Response extends \Google\Protobuf\Internal\Message
{
    protected $Response;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\API_v1_Prop_Response\Props $props
     *     @type \Rv\Data\API_v1_Prop_Response\GetProp $get_prop
     *     @type \Rv\Data\API_v1_Prop_Response\PutProp $put_prop
     *     @type \Rv\Data\API_v1_Prop_Response\DeleteProp $delete_prop
     *     @type \Rv\Data\API_v1_Prop_Response\TriggerProp $trigger_prop
     *     @type \Rv\Data\API_v1_Prop_Response\ClearProp $clear_prop
     *     @type \Rv\Data\API_v1_Prop_Response\GetThumbnail $get_thumbnail
     *     @type \Rv\Data\API_v1_Prop_Response\GetPropCollections $get_prop_collections
     *     @type \Rv\Data\API_v1_Prop_Response\GetPropCollection $get_prop_collection
     *     @type \Rv\Data\API_v1_Prop_Response\PostPropCollections $post_prop_collections
     *     @type \Rv\Data\API_v1_Prop_Response\PutPropCollection $put_prop_collection
     *     @type \Rv\Data\API_v1_Prop_Response\DeletePropCollection $delete_prop_collection
     *     @type \Rv\Data\API_v1_Prop_Response\PauseProp $pause_prop
     *     @type \Rv\Data\API_v1_Prop_Response\ResumeProp $resume_prop
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProApiV1Prop::initOnce();
        parent::__construct($data);
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Prop_Response.DeletePropCollection delete_prop_collection = 12;</code>
     * @return \Rv\Data\API_v1_Prop_Response\DeletePropCollection|null
     */
    public function getDeletePropCollection()
    {
        return $this->readOneof(12);
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Prop_Response.PauseProp pause_prop = 13;</code>
     * @return \Rv\Data\API_v1_Prop_Response\PauseProp|null
     */
    public function getPauseProp()
    {
        return $this->readOneof(13);
    }

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

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Prop_Response.PauseProp pause_prop = 13;</code>
     * @param \Rv\Data\API_v1_Prop_Response\PauseProp $var
     * @return $this
     */
    public function setPauseProp($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Prop_Response\PauseProp::class);
        $this->writeOneof(13, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Prop_Response.ResumeProp resume_prop = 14;</code>
     * @return \Rv\Data\API_v1_Prop_Response\ResumeProp|null
     */
    public function getResumeProp()
    {
        return $this->readOneof(14);
    }

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

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Prop_Response.ResumeProp resume_prop = 14;</code>
     * @param \Rv\Data\API_v1_Prop_Response\ResumeProp $var
     * @return $this
     */
    public function setResumeProp($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Prop_Response\ResumeProp::class);
        $this->writeOneof(14, $var);

        return $this;
    }

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

}

