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

namespace Temporal\Api\PBNamespace\V1;

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

/**
 * Generated from protobuf message <code>temporal.api.namespace.v1.NamespaceFilter</code>
 */
class NamespaceFilter extends \Google\Protobuf\Internal\Message
{
    /**
     * By default namespaces in NAMESPACE_STATE_DELETED state are not included.
     * Setting include_deleted to true will include deleted namespaces.
     * Note: Namespace is in NAMESPACE_STATE_DELETED state when it was deleted from the system but associated data is not deleted yet.
     *
     * Generated from protobuf field <code>bool include_deleted = 1;</code>
     */
    protected $include_deleted = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $include_deleted
     *           By default namespaces in NAMESPACE_STATE_DELETED state are not included.
     *           Setting include_deleted to true will include deleted namespaces.
     *           Note: Namespace is in NAMESPACE_STATE_DELETED state when it was deleted from the system but associated data is not deleted yet.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Temporal\Api\PBNamespace\V1\Message::initOnce();
        parent::__construct($data);
    }

    /**
     * By default namespaces in NAMESPACE_STATE_DELETED state are not included.
     * Setting include_deleted to true will include deleted namespaces.
     * Note: Namespace is in NAMESPACE_STATE_DELETED state when it was deleted from the system but associated data is not deleted yet.
     *
     * Generated from protobuf field <code>bool include_deleted = 1;</code>
     * @return bool
     */
    public function getIncludeDeleted()
    {
        return $this->include_deleted;
    }

    /**
     * By default namespaces in NAMESPACE_STATE_DELETED state are not included.
     * Setting include_deleted to true will include deleted namespaces.
     * Note: Namespace is in NAMESPACE_STATE_DELETED state when it was deleted from the system but associated data is not deleted yet.
     *
     * Generated from protobuf field <code>bool include_deleted = 1;</code>
     * @param bool $var
     * @return $this
     */
    public function setIncludeDeleted($var)
    {
        GPBUtil::checkBool($var);
        $this->include_deleted = $var;

        return $this;
    }

}

