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

namespace Rv\Data\API_v1_Theme_Response;

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.GetThemeSlide</code>
 */
class GetThemeSlide extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.API_v1_ThemeSlide theme_slide = 1;</code>
     */
    protected $theme_slide = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\API_v1_ThemeSlide $theme_slide
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProApiV1Theme::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_ThemeSlide theme_slide = 1;</code>
     * @return \Rv\Data\API_v1_ThemeSlide|null
     */
    public function getThemeSlide()
    {
        return $this->theme_slide;
    }

    public function hasThemeSlide()
    {
        return isset($this->theme_slide);
    }

    public function clearThemeSlide()
    {
        unset($this->theme_slide);
    }

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

        return $this;
    }

}

