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

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\API_v1_Theme_Response\GetAll $get_all
     *     @type \Rv\Data\API_v1_Theme_Response\GetTheme $get_theme
     *     @type \Rv\Data\API_v1_Theme_Response\DeleteTheme $delete_theme
     *     @type \Rv\Data\API_v1_Theme_Response\GetThemeName $get_theme_name
     *     @type \Rv\Data\API_v1_Theme_Response\PutThemeName $put_theme_name
     *     @type \Rv\Data\API_v1_Theme_Response\GetThemeSlide $get_theme_slide
     *     @type \Rv\Data\API_v1_Theme_Response\PutThemeSlide $put_theme_slide
     *     @type \Rv\Data\API_v1_Theme_Response\DeleteThemeSlide $delete_theme_slide
     *     @type \Rv\Data\API_v1_Theme_Response\GetThemeSlideThumbnail $get_theme_slide_thumbnail
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProApiV1Theme::initOnce();
        parent::__construct($data);
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

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

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

        return $this;
    }

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

}

