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

namespace Rv\Data\API_v1_Status_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_Status_Response.GetSlide</code>
 */
class GetSlide extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.API_v1_SlideDisplayDetails current = 1;</code>
     */
    protected $current = null;
    /**
     * Generated from protobuf field <code>.rv.data.API_v1_SlideDisplayDetails next = 2;</code>
     */
    protected $next = null;

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

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

    public function hasCurrent()
    {
        return isset($this->current);
    }

    public function clearCurrent()
    {
        unset($this->current);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_SlideDisplayDetails next = 2;</code>
     * @return \Rv\Data\API_v1_SlideDisplayDetails|null
     */
    public function getNext()
    {
        return $this->next;
    }

    public function hasNext()
    {
        return isset($this->next);
    }

    public function clearNext()
    {
        unset($this->next);
    }

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

        return $this;
    }

}

