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

namespace Temporal\Api\Errordetails\V1;

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

/**
 * Generated from protobuf message <code>temporal.api.errordetails.v1.NotFoundFailure</code>
 */
class NotFoundFailure extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string current_cluster = 1;</code>
     */
    protected $current_cluster = '';
    /**
     * Generated from protobuf field <code>string active_cluster = 2;</code>
     */
    protected $active_cluster = '';

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

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

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

        return $this;
    }

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

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

        return $this;
    }

}

