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

namespace Temporal\Api\Workflowservice\V1;

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

/**
 * Returns the Current Deployment of a deployment series.
 * [cleanup-wv-pre-release] Pre-release deployment APIs, clean up later
 *
 * Generated from protobuf message <code>temporal.api.workflowservice.v1.GetCurrentDeploymentRequest</code>
 */
class GetCurrentDeploymentRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string namespace = 1;</code>
     */
    protected $namespace = '';
    /**
     * Generated from protobuf field <code>string series_name = 2;</code>
     */
    protected $series_name = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $namespace
     *     @type string $series_name
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Temporal\Api\Workflowservice\V1\RequestResponse::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>string namespace = 1;</code>
     * @return string
     */
    public function getNamespace()
    {
        return $this->namespace;
    }

    /**
     * Generated from protobuf field <code>string namespace = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setNamespace($var)
    {
        GPBUtil::checkString($var, True);
        $this->namespace = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string series_name = 2;</code>
     * @return string
     */
    public function getSeriesName()
    {
        return $this->series_name;
    }

    /**
     * Generated from protobuf field <code>string series_name = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setSeriesName($var)
    {
        GPBUtil::checkString($var, True);
        $this->series_name = $var;

        return $this;
    }

}

