<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proCore.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.PropPauseResponse</code>
 */
class PropPauseResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.UUID prop_id = 1;</code>
     */
    protected $prop_id = null;
    protected $ResponseType;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\UUID $prop_id
     *     @type \Rv\Data\PropPauseResponse\Status $status
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProCore::initOnce();
        parent::__construct($data);
    }

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

    public function hasPropId()
    {
        return isset($this->prop_id);
    }

    public function clearPropId()
    {
        unset($this->prop_id);
    }

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

        return $this;
    }

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

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

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

        return $this;
    }

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

}

