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

namespace RoadRunner\Temporal\DTO\V1;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\GPBUtil;
use Google\Protobuf\RepeatedField;

/**
 * https://cloud.google.com/apis/design/errors
 *
 * Generated from protobuf message <code>temporal.v1.ReplayResponse</code>
 */
class ReplayResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.common.v1.Status status = 1;</code>
     */
    protected $status = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \RoadRunner\Common\DTO\V1\Status $status
     * }
     */
    public function __construct($data = NULL) {
        \RoadRunner\Temporal\DTO\V1\GPBMetadata\Temporal::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.common.v1.Status status = 1;</code>
     * @return \RoadRunner\Common\DTO\V1\Status|null
     */
    public function getStatus()
    {
        return $this->status;
    }

    public function hasStatus()
    {
        return isset($this->status);
    }

    public function clearStatus()
    {
        unset($this->status);
    }

    /**
     * Generated from protobuf field <code>.common.v1.Status status = 1;</code>
     * @param \RoadRunner\Common\DTO\V1\Status $var
     * @return $this
     */
    public function setStatus($var)
    {
        GPBUtil::checkMessage($var, \RoadRunner\Common\DTO\V1\Status::class);
        $this->status = $var;

        return $this;
    }

}

