# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/spanner/admin/instance_v1/proto/spanner_instance_admin.proto

import sys

_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.api import client_pb2 as google_dot_api_dot_client__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from google.api import resource_pb2 as google_dot_api_dot_resource__pb2
from google.iam.v1 import iam_policy_pb2 as google_dot_iam_dot_v1_dot_iam__policy__pb2
from google.iam.v1 import policy_pb2 as google_dot_iam_dot_v1_dot_policy__pb2
from google.longrunning import (
    operations_pb2 as google_dot_longrunning_dot_operations__pb2,
)
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
    name="google/cloud/spanner/admin/instance_v1/proto/spanner_instance_admin.proto",
    package="google.spanner.admin.instance.v1",
    syntax="proto3",
    serialized_options=_b(
        "\n$com.google.spanner.admin.instance.v1B\031SpannerInstanceAdminProtoP\001ZHgoogle.golang.org/genproto/googleapis/spanner/admin/instance/v1;instance\252\002&Google.Cloud.Spanner.Admin.Instance.V1\312\002&Google\\Cloud\\Spanner\\Admin\\Instance\\V1"
    ),
    serialized_pb=_b(
        '\nIgoogle/cloud/spanner/admin/instance_v1/proto/spanner_instance_admin.proto\x12 google.spanner.admin.instance.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xda\x01\n\x0bReplicaInfo\x12\x10\n\x08location\x18\x01 \x01(\t\x12G\n\x04type\x18\x02 \x01(\x0e\x32\x39.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType\x12\x1f\n\x17\x64\x65\x66\x61ult_leader_location\x18\x03 \x01(\x08"O\n\x0bReplicaType\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nREAD_WRITE\x10\x01\x12\r\n\tREAD_ONLY\x10\x02\x12\x0b\n\x07WITNESS\x10\x03"\xd7\x01\n\x0eInstanceConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12?\n\x08replicas\x18\x03 \x03(\x0b\x32-.google.spanner.admin.instance.v1.ReplicaInfo:`\xea\x41]\n%spanner.googleapis.com/InstanceConfig\x12\x34projects/{project}/instanceConfigs/{instance_config}"\xbe\x03\n\x08Instance\x12\x0c\n\x04name\x18\x01 \x01(\t\x12:\n\x06\x63onfig\x18\x02 \x01(\tB*\xfa\x41\'\n%spanner.googleapis.com/InstanceConfig\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x12\n\nnode_count\x18\x05 \x01(\x05\x12?\n\x05state\x18\x06 \x01(\x0e\x32\x30.google.spanner.admin.instance.v1.Instance.State\x12\x46\n\x06labels\x18\x07 \x03(\x0b\x32\x36.google.spanner.admin.instance.v1.Instance.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"7\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02:M\xea\x41J\n\x1fspanner.googleapis.com/Instance\x12\'projects/{project}/instances/{instance}"\x88\x01\n\x1aListInstanceConfigsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t"\x82\x01\n\x1bListInstanceConfigsResponse\x12J\n\x10instance_configs\x18\x01 \x03(\x0b\x32\x30.google.spanner.admin.instance.v1.InstanceConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"W\n\x18GetInstanceConfigRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%spanner.googleapis.com/InstanceConfig"K\n\x12GetInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fspanner.googleapis.com/Instance"\xb9\x01\n\x15\x43reateInstanceRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x08instance\x18\x03 \x01(\x0b\x32*.google.spanner.admin.instance.v1.InstanceB\x03\xe0\x41\x02"\x92\x01\n\x14ListInstancesRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t"o\n\x15ListInstancesResponse\x12=\n\tinstances\x18\x01 \x03(\x0b\x32*.google.spanner.admin.instance.v1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\x8f\x01\n\x15UpdateInstanceRequest\x12\x41\n\x08instance\x18\x01 \x01(\x0b\x32*.google.spanner.admin.instance.v1.InstanceB\x03\xe0\x41\x02\x12\x33\n\nfield_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02"N\n\x15\x44\x65leteInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fspanner.googleapis.com/Instance"\xe5\x01\n\x16\x43reateInstanceMetadata\x12<\n\x08instance\x18\x01 \x01(\x0b\x32*.google.spanner.admin.instance.v1.Instance\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x63\x61ncel_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xe5\x01\n\x16UpdateInstanceMetadata\x12<\n\x08instance\x18\x01 \x01(\x0b\x32*.google.spanner.admin.instance.v1.Instance\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x63\x61ncel_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\xbf\x10\n\rInstanceAdmin\x12\xcc\x01\n\x13ListInstanceConfigs\x12<.google.spanner.admin.instance.v1.ListInstanceConfigsRequest\x1a=.google.spanner.admin.instance.v1.ListInstanceConfigsResponse"8\x82\xd3\xe4\x93\x02)\x12\'/v1/{parent=projects/*}/instanceConfigs\xda\x41\x06parent\x12\xb9\x01\n\x11GetInstanceConfig\x12:.google.spanner.admin.instance.v1.GetInstanceConfigRequest\x1a\x30.google.spanner.admin.instance.v1.InstanceConfig"6\x82\xd3\xe4\x93\x02)\x12\'/v1/{name=projects/*/instanceConfigs/*}\xda\x41\x04name\x12\xb4\x01\n\rListInstances\x12\x36.google.spanner.admin.instance.v1.ListInstancesRequest\x1a\x37.google.spanner.admin.instance.v1.ListInstancesResponse"2\x82\xd3\xe4\x93\x02#\x12!/v1/{parent=projects/*}/instances\xda\x41\x06parent\x12\xa1\x01\n\x0bGetInstance\x12\x34.google.spanner.admin.instance.v1.GetInstanceRequest\x1a*.google.spanner.admin.instance.v1.Instance"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=projects/*/instances/*}\xda\x41\x04name\x12\x9c\x02\n\x0e\x43reateInstance\x12\x37.google.spanner.admin.instance.v1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation"\xb1\x01\x82\xd3\xe4\x93\x02&"!/v1/{parent=projects/*}/instances:\x01*\xda\x41\x1bparent,instance_id,instance\xca\x41\x64\n)google.spanner.admin.instance.v1.Instance\x12\x37google.spanner.admin.instance.v1.CreateInstanceMetadata\x12\x9d\x02\n\x0eUpdateInstance\x12\x37.google.spanner.admin.instance.v1.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation"\xb2\x01\x82\xd3\xe4\x93\x02/2*/v1/{instance.name=projects/*/instances/*}:\x01*\xda\x41\x13instance,field_mask\xca\x41\x64\n)google.spanner.admin.instance.v1.Instance\x12\x37google.spanner.admin.instance.v1.UpdateInstanceMetadata\x12\x93\x01\n\x0e\x44\x65leteInstance\x12\x37.google.spanner.admin.instance.v1.DeleteInstanceRequest\x1a\x16.google.protobuf.Empty"0\x82\xd3\xe4\x93\x02#*!/v1/{name=projects/*/instances/*}\xda\x41\x04name\x12\x9a\x01\n\x0cSetIamPolicy\x12".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy"O\x82\xd3\xe4\x93\x02\x37"2/v1/{resource=projects/*/instances/*}:setIamPolicy:\x01*\xda\x41\x0fresource,policy\x12\x93\x01\n\x0cGetIamPolicy\x12".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy"H\x82\xd3\xe4\x93\x02\x37"2/v1/{resource=projects/*/instances/*}:getIamPolicy:\x01*\xda\x41\x08resource\x12\xc5\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse"Z\x82\xd3\xe4\x93\x02="8/v1/{resource=projects/*/instances/*}:testIamPermissions:\x01*\xda\x41\x14resource,permissions\x1ax\xca\x41\x16spanner.googleapis.com\xd2\x41\\https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/spanner.adminB\xdf\x01\n$com.google.spanner.admin.instance.v1B\x19SpannerInstanceAdminProtoP\x01ZHgoogle.golang.org/genproto/googleapis/spanner/admin/instance/v1;instance\xaa\x02&Google.Cloud.Spanner.Admin.Instance.V1\xca\x02&Google\\Cloud\\Spanner\\Admin\\Instance\\V1b\x06proto3'
    ),
    dependencies=[
        google_dot_api_dot_annotations__pb2.DESCRIPTOR,
        google_dot_api_dot_client__pb2.DESCRIPTOR,
        google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,
        google_dot_api_dot_resource__pb2.DESCRIPTOR,
        google_dot_iam_dot_v1_dot_iam__policy__pb2.DESCRIPTOR,
        google_dot_iam_dot_v1_dot_policy__pb2.DESCRIPTOR,
        google_dot_longrunning_dot_operations__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,
    ],
)


_REPLICAINFO_REPLICATYPE = _descriptor.EnumDescriptor(
    name="ReplicaType",
    full_name="google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType",
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(
            name="TYPE_UNSPECIFIED",
            index=0,
            number=0,
            serialized_options=None,
            type=None,
        ),
        _descriptor.EnumValueDescriptor(
            name="READ_WRITE", index=1, number=1, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="READ_ONLY", index=2, number=2, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="WITNESS", index=3, number=3, serialized_options=None, type=None
        ),
    ],
    containing_type=None,
    serialized_options=None,
    serialized_start=559,
    serialized_end=638,
)
_sym_db.RegisterEnumDescriptor(_REPLICAINFO_REPLICATYPE)

_INSTANCE_STATE = _descriptor.EnumDescriptor(
    name="State",
    full_name="google.spanner.admin.instance.v1.Instance.State",
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(
            name="STATE_UNSPECIFIED",
            index=0,
            number=0,
            serialized_options=None,
            type=None,
        ),
        _descriptor.EnumValueDescriptor(
            name="CREATING", index=1, number=1, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="READY", index=2, number=2, serialized_options=None, type=None
        ),
    ],
    containing_type=None,
    serialized_options=None,
    serialized_start=1171,
    serialized_end=1226,
)
_sym_db.RegisterEnumDescriptor(_INSTANCE_STATE)


_REPLICAINFO = _descriptor.Descriptor(
    name="ReplicaInfo",
    full_name="google.spanner.admin.instance.v1.ReplicaInfo",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="location",
            full_name="google.spanner.admin.instance.v1.ReplicaInfo.location",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="type",
            full_name="google.spanner.admin.instance.v1.ReplicaInfo.type",
            index=1,
            number=2,
            type=14,
            cpp_type=8,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="default_leader_location",
            full_name="google.spanner.admin.instance.v1.ReplicaInfo.default_leader_location",
            index=2,
            number=3,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[_REPLICAINFO_REPLICATYPE],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=420,
    serialized_end=638,
)


_INSTANCECONFIG = _descriptor.Descriptor(
    name="InstanceConfig",
    full_name="google.spanner.admin.instance.v1.InstanceConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.spanner.admin.instance.v1.InstanceConfig.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="display_name",
            full_name="google.spanner.admin.instance.v1.InstanceConfig.display_name",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="replicas",
            full_name="google.spanner.admin.instance.v1.InstanceConfig.replicas",
            index=2,
            number=3,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=_b(
        "\352A]\n%spanner.googleapis.com/InstanceConfig\0224projects/{project}/instanceConfigs/{instance_config}"
    ),
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=641,
    serialized_end=856,
)


_INSTANCE_LABELSENTRY = _descriptor.Descriptor(
    name="LabelsEntry",
    full_name="google.spanner.admin.instance.v1.Instance.LabelsEntry",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="key",
            full_name="google.spanner.admin.instance.v1.Instance.LabelsEntry.key",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="value",
            full_name="google.spanner.admin.instance.v1.Instance.LabelsEntry.value",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=_b("8\001"),
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1124,
    serialized_end=1169,
)

_INSTANCE = _descriptor.Descriptor(
    name="Instance",
    full_name="google.spanner.admin.instance.v1.Instance",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.spanner.admin.instance.v1.Instance.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="config",
            full_name="google.spanner.admin.instance.v1.Instance.config",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\372A'\n%spanner.googleapis.com/InstanceConfig"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="display_name",
            full_name="google.spanner.admin.instance.v1.Instance.display_name",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="node_count",
            full_name="google.spanner.admin.instance.v1.Instance.node_count",
            index=3,
            number=5,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="state",
            full_name="google.spanner.admin.instance.v1.Instance.state",
            index=4,
            number=6,
            type=14,
            cpp_type=8,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="labels",
            full_name="google.spanner.admin.instance.v1.Instance.labels",
            index=5,
            number=7,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[_INSTANCE_LABELSENTRY],
    enum_types=[_INSTANCE_STATE],
    serialized_options=_b(
        "\352AJ\n\037spanner.googleapis.com/Instance\022'projects/{project}/instances/{instance}"
    ),
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=859,
    serialized_end=1305,
)


_LISTINSTANCECONFIGSREQUEST = _descriptor.Descriptor(
    name="ListInstanceConfigsRequest",
    full_name="google.spanner.admin.instance.v1.ListInstanceConfigsRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.spanner.admin.instance.v1.ListInstanceConfigsRequest.parent",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A-\n+cloudresourcemanager.googleapis.com/Project"
            ),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_size",
            full_name="google.spanner.admin.instance.v1.ListInstanceConfigsRequest.page_size",
            index=1,
            number=2,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_token",
            full_name="google.spanner.admin.instance.v1.ListInstanceConfigsRequest.page_token",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1308,
    serialized_end=1444,
)


_LISTINSTANCECONFIGSRESPONSE = _descriptor.Descriptor(
    name="ListInstanceConfigsResponse",
    full_name="google.spanner.admin.instance.v1.ListInstanceConfigsResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="instance_configs",
            full_name="google.spanner.admin.instance.v1.ListInstanceConfigsResponse.instance_configs",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="next_page_token",
            full_name="google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1447,
    serialized_end=1577,
)


_GETINSTANCECONFIGREQUEST = _descriptor.Descriptor(
    name="GetInstanceConfigRequest",
    full_name="google.spanner.admin.instance.v1.GetInstanceConfigRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.spanner.admin.instance.v1.GetInstanceConfigRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A'\n%spanner.googleapis.com/InstanceConfig"
            ),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1579,
    serialized_end=1666,
)


_GETINSTANCEREQUEST = _descriptor.Descriptor(
    name="GetInstanceRequest",
    full_name="google.spanner.admin.instance.v1.GetInstanceRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.spanner.admin.instance.v1.GetInstanceRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A!\n\037spanner.googleapis.com/Instance"
            ),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1668,
    serialized_end=1743,
)


_CREATEINSTANCEREQUEST = _descriptor.Descriptor(
    name="CreateInstanceRequest",
    full_name="google.spanner.admin.instance.v1.CreateInstanceRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.spanner.admin.instance.v1.CreateInstanceRequest.parent",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A-\n+cloudresourcemanager.googleapis.com/Project"
            ),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="instance_id",
            full_name="google.spanner.admin.instance.v1.CreateInstanceRequest.instance_id",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="instance",
            full_name="google.spanner.admin.instance.v1.CreateInstanceRequest.instance",
            index=2,
            number=3,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1746,
    serialized_end=1931,
)


_LISTINSTANCESREQUEST = _descriptor.Descriptor(
    name="ListInstancesRequest",
    full_name="google.spanner.admin.instance.v1.ListInstancesRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.spanner.admin.instance.v1.ListInstancesRequest.parent",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A-\n+cloudresourcemanager.googleapis.com/Project"
            ),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_size",
            full_name="google.spanner.admin.instance.v1.ListInstancesRequest.page_size",
            index=1,
            number=2,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_token",
            full_name="google.spanner.admin.instance.v1.ListInstancesRequest.page_token",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="filter",
            full_name="google.spanner.admin.instance.v1.ListInstancesRequest.filter",
            index=3,
            number=4,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1934,
    serialized_end=2080,
)


_LISTINSTANCESRESPONSE = _descriptor.Descriptor(
    name="ListInstancesResponse",
    full_name="google.spanner.admin.instance.v1.ListInstancesResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="instances",
            full_name="google.spanner.admin.instance.v1.ListInstancesResponse.instances",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="next_page_token",
            full_name="google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2082,
    serialized_end=2193,
)


_UPDATEINSTANCEREQUEST = _descriptor.Descriptor(
    name="UpdateInstanceRequest",
    full_name="google.spanner.admin.instance.v1.UpdateInstanceRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="instance",
            full_name="google.spanner.admin.instance.v1.UpdateInstanceRequest.instance",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="field_mask",
            full_name="google.spanner.admin.instance.v1.UpdateInstanceRequest.field_mask",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2196,
    serialized_end=2339,
)


_DELETEINSTANCEREQUEST = _descriptor.Descriptor(
    name="DeleteInstanceRequest",
    full_name="google.spanner.admin.instance.v1.DeleteInstanceRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.spanner.admin.instance.v1.DeleteInstanceRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A!\n\037spanner.googleapis.com/Instance"
            ),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2341,
    serialized_end=2419,
)


_CREATEINSTANCEMETADATA = _descriptor.Descriptor(
    name="CreateInstanceMetadata",
    full_name="google.spanner.admin.instance.v1.CreateInstanceMetadata",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="instance",
            full_name="google.spanner.admin.instance.v1.CreateInstanceMetadata.instance",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="start_time",
            full_name="google.spanner.admin.instance.v1.CreateInstanceMetadata.start_time",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="cancel_time",
            full_name="google.spanner.admin.instance.v1.CreateInstanceMetadata.cancel_time",
            index=2,
            number=3,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="end_time",
            full_name="google.spanner.admin.instance.v1.CreateInstanceMetadata.end_time",
            index=3,
            number=4,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2422,
    serialized_end=2651,
)


_UPDATEINSTANCEMETADATA = _descriptor.Descriptor(
    name="UpdateInstanceMetadata",
    full_name="google.spanner.admin.instance.v1.UpdateInstanceMetadata",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="instance",
            full_name="google.spanner.admin.instance.v1.UpdateInstanceMetadata.instance",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="start_time",
            full_name="google.spanner.admin.instance.v1.UpdateInstanceMetadata.start_time",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="cancel_time",
            full_name="google.spanner.admin.instance.v1.UpdateInstanceMetadata.cancel_time",
            index=2,
            number=3,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="end_time",
            full_name="google.spanner.admin.instance.v1.UpdateInstanceMetadata.end_time",
            index=3,
            number=4,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2654,
    serialized_end=2883,
)

_REPLICAINFO.fields_by_name["type"].enum_type = _REPLICAINFO_REPLICATYPE
_REPLICAINFO_REPLICATYPE.containing_type = _REPLICAINFO
_INSTANCECONFIG.fields_by_name["replicas"].message_type = _REPLICAINFO
_INSTANCE_LABELSENTRY.containing_type = _INSTANCE
_INSTANCE.fields_by_name["state"].enum_type = _INSTANCE_STATE
_INSTANCE.fields_by_name["labels"].message_type = _INSTANCE_LABELSENTRY
_INSTANCE_STATE.containing_type = _INSTANCE
_LISTINSTANCECONFIGSRESPONSE.fields_by_name[
    "instance_configs"
].message_type = _INSTANCECONFIG
_CREATEINSTANCEREQUEST.fields_by_name["instance"].message_type = _INSTANCE
_LISTINSTANCESRESPONSE.fields_by_name["instances"].message_type = _INSTANCE
_UPDATEINSTANCEREQUEST.fields_by_name["instance"].message_type = _INSTANCE
_UPDATEINSTANCEREQUEST.fields_by_name[
    "field_mask"
].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK
_CREATEINSTANCEMETADATA.fields_by_name["instance"].message_type = _INSTANCE
_CREATEINSTANCEMETADATA.fields_by_name[
    "start_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_CREATEINSTANCEMETADATA.fields_by_name[
    "cancel_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_CREATEINSTANCEMETADATA.fields_by_name[
    "end_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_UPDATEINSTANCEMETADATA.fields_by_name["instance"].message_type = _INSTANCE
_UPDATEINSTANCEMETADATA.fields_by_name[
    "start_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_UPDATEINSTANCEMETADATA.fields_by_name[
    "cancel_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_UPDATEINSTANCEMETADATA.fields_by_name[
    "end_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
DESCRIPTOR.message_types_by_name["ReplicaInfo"] = _REPLICAINFO
DESCRIPTOR.message_types_by_name["InstanceConfig"] = _INSTANCECONFIG
DESCRIPTOR.message_types_by_name["Instance"] = _INSTANCE
DESCRIPTOR.message_types_by_name[
    "ListInstanceConfigsRequest"
] = _LISTINSTANCECONFIGSREQUEST
DESCRIPTOR.message_types_by_name[
    "ListInstanceConfigsResponse"
] = _LISTINSTANCECONFIGSRESPONSE
DESCRIPTOR.message_types_by_name["GetInstanceConfigRequest"] = _GETINSTANCECONFIGREQUEST
DESCRIPTOR.message_types_by_name["GetInstanceRequest"] = _GETINSTANCEREQUEST
DESCRIPTOR.message_types_by_name["CreateInstanceRequest"] = _CREATEINSTANCEREQUEST
DESCRIPTOR.message_types_by_name["ListInstancesRequest"] = _LISTINSTANCESREQUEST
DESCRIPTOR.message_types_by_name["ListInstancesResponse"] = _LISTINSTANCESRESPONSE
DESCRIPTOR.message_types_by_name["UpdateInstanceRequest"] = _UPDATEINSTANCEREQUEST
DESCRIPTOR.message_types_by_name["DeleteInstanceRequest"] = _DELETEINSTANCEREQUEST
DESCRIPTOR.message_types_by_name["CreateInstanceMetadata"] = _CREATEINSTANCEMETADATA
DESCRIPTOR.message_types_by_name["UpdateInstanceMetadata"] = _UPDATEINSTANCEMETADATA
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

ReplicaInfo = _reflection.GeneratedProtocolMessageType(
    "ReplicaInfo",
    (_message.Message,),
    dict(
        DESCRIPTOR=_REPLICAINFO,
        __module__="google.cloud.spanner.admin.instance_v1.proto.spanner_instance_admin_pb2",
        __doc__="""Protocol buffer.

  Attributes:
      location:
          The location of the serving resources, e.g. "us-central1".
      type:
          The type of replica.
      default_leader_location:
          If true, this location is designated as the default leader
          location where leader replicas are placed. See the `region
          types documentation <https://cloud.google.com/spanner/docs/ins
          tances#region_types>`__ for more details.
  """,
        # @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ReplicaInfo)
    ),
)
_sym_db.RegisterMessage(ReplicaInfo)

InstanceConfig = _reflection.GeneratedProtocolMessageType(
    "InstanceConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_INSTANCECONFIG,
        __module__="google.cloud.spanner.admin.instance_v1.proto.spanner_instance_admin_pb2",
        __doc__="""A possible configuration for a Cloud Spanner instance. Configurations
  define the geographic placement of nodes and their replication.
  
  
  Attributes:
      name:
          A unique identifier for the instance configuration. Values are
          of the form
          ``projects/<project>/instanceConfigs/[a-z][-a-z0-9]*``
      display_name:
          The name of this instance configuration as it appears in UIs.
      replicas:
          The geographic placement of nodes in this instance
          configuration and their replication properties.
  """,
        # @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.InstanceConfig)
    ),
)
_sym_db.RegisterMessage(InstanceConfig)

Instance = _reflection.GeneratedProtocolMessageType(
    "Instance",
    (_message.Message,),
    dict(
        LabelsEntry=_reflection.GeneratedProtocolMessageType(
            "LabelsEntry",
            (_message.Message,),
            dict(
                DESCRIPTOR=_INSTANCE_LABELSENTRY,
                __module__="google.cloud.spanner.admin.instance_v1.proto.spanner_instance_admin_pb2"
                # @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.Instance.LabelsEntry)
            ),
        ),
        DESCRIPTOR=_INSTANCE,
        __module__="google.cloud.spanner.admin.instance_v1.proto.spanner_instance_admin_pb2",
        __doc__="""An isolated set of Cloud Spanner resources on which databases can be
  hosted.
  
  
  Attributes:
      name:
          Required. A unique identifier for the instance, which cannot
          be changed after the instance is created. Values are of the
          form ``projects/<project>/instances/[a-z][-a-z0-9]*[a-z0-9]``.
          The final segment of the name must be between 2 and 64
          characters in length.
      config:
          Required. The name of the instance's configuration. Values are
          of the form
          ``projects/<project>/instanceConfigs/<configuration>``. See
          also [InstanceConfig][google.spanner.admin.instance.v1.Instanc
          eConfig] and [ListInstanceConfigs][google.spanner.admin.instan
          ce.v1.InstanceAdmin.ListInstanceConfigs].
      display_name:
          Required. The descriptive name for this instance as it appears
          in UIs. Must be unique per project and between 4 and 30
          characters in length.
      node_count:
          Required. The number of nodes allocated to this instance. This
          may be zero in API responses for instances that are not yet in
          state ``READY``.  See `the documentation <https://cloud.google
          .com/spanner/docs/instances#node_count>`__ for more
          information about nodes.
      state:
          Output only. The current instance state. For [CreateInstance][
          google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
          , the state must be either omitted or set to ``CREATING``. For
          [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmi
          n.UpdateInstance], the state must be either omitted or set to
          ``READY``.
      labels:
          Cloud Labels are a flexible and lightweight mechanism for
          organizing cloud resources into groups that reflect a
          customer's organizational needs and deployment strategies.
          Cloud Labels can be used to filter collections of resources.
          They can be used to control how resource metrics are
          aggregated. And they can be used as arguments to policy
          management rules (e.g. route, firewall, load balancing, etc.).
          -  Label keys must be between 1 and 63 characters long and
          must conform    to the following regular expression:
          ``[a-z]([-a-z0-9]*[a-z0-9])?``. -  Label values must be
          between 0 and 63 characters long and must    conform to the
          regular expression ``([a-z]([-a-z0-9]*[a-z0-9])?)?``. -  No
          more than 64 labels can be associated with a given resource.
          See https://goo.gl/xmQnxf for more information on and examples
          of labels.  If you plan to use labels in your own code, please
          note that additional characters may be allowed in the future.
          And so you are advised to use an internal label
          representation, such as JSON, which doesn't rely upon specific
          characters being disallowed. For example, representing labels
          as the string: name + "*" + value would prove problematic if
          we were to allow "*" in a future release.
  """,
        # @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.Instance)
    ),
)
_sym_db.RegisterMessage(Instance)
_sym_db.RegisterMessage(Instance.LabelsEntry)

ListInstanceConfigsRequest = _reflection.GeneratedProtocolMessageType(
    "ListInstanceConfigsRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTINSTANCECONFIGSREQUEST,
        __module__="google.cloud.spanner.admin.instance_v1.proto.spanner_instance_admin_pb2",
        __doc__="""The request for
  [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
  
  
  Attributes:
      parent:
          Required. The name of the project for which a list of
          supported instance configurations is requested. Values are of
          the form ``projects/<project>``.
      page_size:
          Number of instance configurations to be returned in the
          response. If 0 or less, defaults to the server's maximum
          allowed page size.
      page_token:
          If non-empty, ``page_token`` should contain a [next\_page\_tok
          en][google.spanner.admin.instance.v1.ListInstanceConfigsRespon
          se.next\_page\_token] from a previous [ListInstanceConfigsResp
          onse][google.spanner.admin.instance.v1.ListInstanceConfigsResp
          onse].
  """,
        # @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstanceConfigsRequest)
    ),
)
_sym_db.RegisterMessage(ListInstanceConfigsRequest)

ListInstanceConfigsResponse = _reflection.GeneratedProtocolMessageType(
    "ListInstanceConfigsResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTINSTANCECONFIGSRESPONSE,
        __module__="google.cloud.spanner.admin.instance_v1.proto.spanner_instance_admin_pb2",
        __doc__="""The response for
  [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
  
  
  Attributes:
      instance_configs:
          The list of requested instance configurations.
      next_page_token:
          ``next_page_token`` can be sent in a subsequent [ListInstanceC
          onfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListIns
          tanceConfigs] call to fetch more of the matching instance
          configurations.
  """,
        # @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstanceConfigsResponse)
    ),
)
_sym_db.RegisterMessage(ListInstanceConfigsResponse)

GetInstanceConfigRequest = _reflection.GeneratedProtocolMessageType(
    "GetInstanceConfigRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GETINSTANCECONFIGREQUEST,
        __module__="google.cloud.spanner.admin.instance_v1.proto.spanner_instance_admin_pb2",
        __doc__="""The request for
  [GetInstanceConfigRequest][google.spanner.admin.instance.v1.InstanceAdmin.GetInstanceConfig].
  
  
  Attributes:
      name:
          Required. The name of the requested instance configuration.
          Values are of the form
          ``projects/<project>/instanceConfigs/<config>``.
  """,
        # @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.GetInstanceConfigRequest)
    ),
)
_sym_db.RegisterMessage(GetInstanceConfigRequest)

GetInstanceRequest = _reflection.GeneratedProtocolMessageType(
    "GetInstanceRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GETINSTANCEREQUEST,
        __module__="google.cloud.spanner.admin.instance_v1.proto.spanner_instance_admin_pb2",
        __doc__="""The request for
  [GetInstance][google.spanner.admin.instance.v1.InstanceAdmin.GetInstance].
  
  
  Attributes:
      name:
          Required. The name of the requested instance. Values are of
          the form ``projects/<project>/instances/<instance>``.
  """,
        # @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.GetInstanceRequest)
    ),
)
_sym_db.RegisterMessage(GetInstanceRequest)

CreateInstanceRequest = _reflection.GeneratedProtocolMessageType(
    "CreateInstanceRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_CREATEINSTANCEREQUEST,
        __module__="google.cloud.spanner.admin.instance_v1.proto.spanner_instance_admin_pb2",
        __doc__="""The request for
  [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].
  
  
  Attributes:
      parent:
          Required. The name of the project in which to create the
          instance. Values are of the form ``projects/<project>``.
      instance_id:
          Required. The ID of the instance to create. Valid identifiers
          are of the form ``[a-z][-a-z0-9]*[a-z0-9]`` and must be
          between 2 and 64 characters in length.
      instance:
          Required. The instance to create. The name may be omitted, but
          if specified must be ``<parent>/instances/<instance_id>``.
  """,
        # @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.CreateInstanceRequest)
    ),
)
_sym_db.RegisterMessage(CreateInstanceRequest)

ListInstancesRequest = _reflection.GeneratedProtocolMessageType(
    "ListInstancesRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTINSTANCESREQUEST,
        __module__="google.cloud.spanner.admin.instance_v1.proto.spanner_instance_admin_pb2",
        __doc__="""The request for
  [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].
  
  
  Attributes:
      parent:
          Required. The name of the project for which a list of
          instances is requested. Values are of the form
          ``projects/<project>``.
      page_size:
          Number of instances to be returned in the response. If 0 or
          less, defaults to the server's maximum allowed page size.
      page_token:
          If non-empty, ``page_token`` should contain a [next\_page\_tok
          en][google.spanner.admin.instance.v1.ListInstancesResponse.nex
          t\_page\_token] from a previous [ListInstancesResponse][google
          .spanner.admin.instance.v1.ListInstancesResponse].
      filter:
          An expression for filtering the results of the request. Filter
          rules are case insensitive. The fields eligible for filtering
          are:  -  ``name`` -  ``display_name`` -  ``labels.key`` where
          key is the name of a label  Some examples of using filters
          are:  -  ``name:*`` --> The instance has a name. -
          ``name:Howl`` --> The instance's name contains the string
          "howl". -  ``name:HOWL`` --> Equivalent to above. -
          ``NAME:howl`` --> Equivalent to above. -  ``labels.env:*`` -->
          The instance has the label "env". -  ``labels.env:dev`` -->
          The instance has the label "env" and the value    of the label
          contains the string "dev". -  ``name:howl labels.env:dev`` -->
          The instance's name contains "howl"    and it has the label
          "env" with its value containing "dev".
  """,
        # @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstancesRequest)
    ),
)
_sym_db.RegisterMessage(ListInstancesRequest)

ListInstancesResponse = _reflection.GeneratedProtocolMessageType(
    "ListInstancesResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTINSTANCESRESPONSE,
        __module__="google.cloud.spanner.admin.instance_v1.proto.spanner_instance_admin_pb2",
        __doc__="""The response for
  [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].
  
  
  Attributes:
      instances:
          The list of requested instances.
      next_page_token:
          ``next_page_token`` can be sent in a subsequent [ListInstances
          ][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances
          ] call to fetch more of the matching instances.
  """,
        # @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstancesResponse)
    ),
)
_sym_db.RegisterMessage(ListInstancesResponse)

UpdateInstanceRequest = _reflection.GeneratedProtocolMessageType(
    "UpdateInstanceRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_UPDATEINSTANCEREQUEST,
        __module__="google.cloud.spanner.admin.instance_v1.proto.spanner_instance_admin_pb2",
        __doc__="""The request for
  [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance].
  
  
  Attributes:
      instance:
          Required. The instance to update, which must always include
          the instance name. Otherwise, only fields mentioned in [][goog
          le.spanner.admin.instance.v1.UpdateInstanceRequest.field\_mask
          ] need be included.
      field_mask:
          Required. A mask specifying which fields in [][google.spanner.
          admin.instance.v1.UpdateInstanceRequest.instance] should be
          updated. The field mask must always be specified; this
          prevents any future fields in
          [][google.spanner.admin.instance.v1.Instance] from being
          erased accidentally by clients that do not know about them.
  """,
        # @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.UpdateInstanceRequest)
    ),
)
_sym_db.RegisterMessage(UpdateInstanceRequest)

DeleteInstanceRequest = _reflection.GeneratedProtocolMessageType(
    "DeleteInstanceRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DELETEINSTANCEREQUEST,
        __module__="google.cloud.spanner.admin.instance_v1.proto.spanner_instance_admin_pb2",
        __doc__="""The request for
  [DeleteInstance][google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstance].
  
  
  Attributes:
      name:
          Required. The name of the instance to be deleted. Values are
          of the form ``projects/<project>/instances/<instance>``
  """,
        # @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.DeleteInstanceRequest)
    ),
)
_sym_db.RegisterMessage(DeleteInstanceRequest)

CreateInstanceMetadata = _reflection.GeneratedProtocolMessageType(
    "CreateInstanceMetadata",
    (_message.Message,),
    dict(
        DESCRIPTOR=_CREATEINSTANCEMETADATA,
        __module__="google.cloud.spanner.admin.instance_v1.proto.spanner_instance_admin_pb2",
        __doc__="""Metadata type for the operation returned by
  [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].
  
  
  Attributes:
      instance:
          The instance being created.
      start_time:
          The time at which the [CreateInstance][google.spanner.admin.in
          stance.v1.InstanceAdmin.CreateInstance] request was received.
      cancel_time:
          The time at which this operation was cancelled. If set, this
          operation is in the process of undoing itself (which is
          guaranteed to succeed) and cannot be cancelled again.
      end_time:
          The time at which this operation failed or was completed
          successfully.
  """,
        # @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.CreateInstanceMetadata)
    ),
)
_sym_db.RegisterMessage(CreateInstanceMetadata)

UpdateInstanceMetadata = _reflection.GeneratedProtocolMessageType(
    "UpdateInstanceMetadata",
    (_message.Message,),
    dict(
        DESCRIPTOR=_UPDATEINSTANCEMETADATA,
        __module__="google.cloud.spanner.admin.instance_v1.proto.spanner_instance_admin_pb2",
        __doc__="""Metadata type for the operation returned by
  [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance].
  
  
  Attributes:
      instance:
          The desired end state of the update.
      start_time:
          The time at which [UpdateInstance][google.spanner.admin.instan
          ce.v1.InstanceAdmin.UpdateInstance] request was received.
      cancel_time:
          The time at which this operation was cancelled. If set, this
          operation is in the process of undoing itself (which is
          guaranteed to succeed) and cannot be cancelled again.
      end_time:
          The time at which this operation failed or was completed
          successfully.
  """,
        # @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.UpdateInstanceMetadata)
    ),
)
_sym_db.RegisterMessage(UpdateInstanceMetadata)


DESCRIPTOR._options = None
_INSTANCECONFIG._options = None
_INSTANCE_LABELSENTRY._options = None
_INSTANCE.fields_by_name["config"]._options = None
_INSTANCE._options = None
_LISTINSTANCECONFIGSREQUEST.fields_by_name["parent"]._options = None
_GETINSTANCECONFIGREQUEST.fields_by_name["name"]._options = None
_GETINSTANCEREQUEST.fields_by_name["name"]._options = None
_CREATEINSTANCEREQUEST.fields_by_name["parent"]._options = None
_CREATEINSTANCEREQUEST.fields_by_name["instance_id"]._options = None
_CREATEINSTANCEREQUEST.fields_by_name["instance"]._options = None
_LISTINSTANCESREQUEST.fields_by_name["parent"]._options = None
_UPDATEINSTANCEREQUEST.fields_by_name["instance"]._options = None
_UPDATEINSTANCEREQUEST.fields_by_name["field_mask"]._options = None
_DELETEINSTANCEREQUEST.fields_by_name["name"]._options = None

_INSTANCEADMIN = _descriptor.ServiceDescriptor(
    name="InstanceAdmin",
    full_name="google.spanner.admin.instance.v1.InstanceAdmin",
    file=DESCRIPTOR,
    index=0,
    serialized_options=_b(
        "\312A\026spanner.googleapis.com\322A\\https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/spanner.admin"
    ),
    serialized_start=2886,
    serialized_end=4997,
    methods=[
        _descriptor.MethodDescriptor(
            name="ListInstanceConfigs",
            full_name="google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs",
            index=0,
            containing_service=None,
            input_type=_LISTINSTANCECONFIGSREQUEST,
            output_type=_LISTINSTANCECONFIGSRESPONSE,
            serialized_options=_b(
                "\202\323\344\223\002)\022'/v1/{parent=projects/*}/instanceConfigs\332A\006parent"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="GetInstanceConfig",
            full_name="google.spanner.admin.instance.v1.InstanceAdmin.GetInstanceConfig",
            index=1,
            containing_service=None,
            input_type=_GETINSTANCECONFIGREQUEST,
            output_type=_INSTANCECONFIG,
            serialized_options=_b(
                "\202\323\344\223\002)\022'/v1/{name=projects/*/instanceConfigs/*}\332A\004name"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="ListInstances",
            full_name="google.spanner.admin.instance.v1.InstanceAdmin.ListInstances",
            index=2,
            containing_service=None,
            input_type=_LISTINSTANCESREQUEST,
            output_type=_LISTINSTANCESRESPONSE,
            serialized_options=_b(
                "\202\323\344\223\002#\022!/v1/{parent=projects/*}/instances\332A\006parent"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="GetInstance",
            full_name="google.spanner.admin.instance.v1.InstanceAdmin.GetInstance",
            index=3,
            containing_service=None,
            input_type=_GETINSTANCEREQUEST,
            output_type=_INSTANCE,
            serialized_options=_b(
                "\202\323\344\223\002#\022!/v1/{name=projects/*/instances/*}\332A\004name"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="CreateInstance",
            full_name="google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance",
            index=4,
            containing_service=None,
            input_type=_CREATEINSTANCEREQUEST,
            output_type=google_dot_longrunning_dot_operations__pb2._OPERATION,
            serialized_options=_b(
                '\202\323\344\223\002&"!/v1/{parent=projects/*}/instances:\001*\332A\033parent,instance_id,instance\312Ad\n)google.spanner.admin.instance.v1.Instance\0227google.spanner.admin.instance.v1.CreateInstanceMetadata'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="UpdateInstance",
            full_name="google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance",
            index=5,
            containing_service=None,
            input_type=_UPDATEINSTANCEREQUEST,
            output_type=google_dot_longrunning_dot_operations__pb2._OPERATION,
            serialized_options=_b(
                "\202\323\344\223\002/2*/v1/{instance.name=projects/*/instances/*}:\001*\332A\023instance,field_mask\312Ad\n)google.spanner.admin.instance.v1.Instance\0227google.spanner.admin.instance.v1.UpdateInstanceMetadata"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="DeleteInstance",
            full_name="google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstance",
            index=6,
            containing_service=None,
            input_type=_DELETEINSTANCEREQUEST,
            output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
            serialized_options=_b(
                "\202\323\344\223\002#*!/v1/{name=projects/*/instances/*}\332A\004name"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="SetIamPolicy",
            full_name="google.spanner.admin.instance.v1.InstanceAdmin.SetIamPolicy",
            index=7,
            containing_service=None,
            input_type=google_dot_iam_dot_v1_dot_iam__policy__pb2._SETIAMPOLICYREQUEST,
            output_type=google_dot_iam_dot_v1_dot_policy__pb2._POLICY,
            serialized_options=_b(
                '\202\323\344\223\0027"2/v1/{resource=projects/*/instances/*}:setIamPolicy:\001*\332A\017resource,policy'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="GetIamPolicy",
            full_name="google.spanner.admin.instance.v1.InstanceAdmin.GetIamPolicy",
            index=8,
            containing_service=None,
            input_type=google_dot_iam_dot_v1_dot_iam__policy__pb2._GETIAMPOLICYREQUEST,
            output_type=google_dot_iam_dot_v1_dot_policy__pb2._POLICY,
            serialized_options=_b(
                '\202\323\344\223\0027"2/v1/{resource=projects/*/instances/*}:getIamPolicy:\001*\332A\010resource'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="TestIamPermissions",
            full_name="google.spanner.admin.instance.v1.InstanceAdmin.TestIamPermissions",
            index=9,
            containing_service=None,
            input_type=google_dot_iam_dot_v1_dot_iam__policy__pb2._TESTIAMPERMISSIONSREQUEST,
            output_type=google_dot_iam_dot_v1_dot_iam__policy__pb2._TESTIAMPERMISSIONSRESPONSE,
            serialized_options=_b(
                '\202\323\344\223\002="8/v1/{resource=projects/*/instances/*}:testIamPermissions:\001*\332A\024resource,permissions'
            ),
        ),
    ],
)
_sym_db.RegisterServiceDescriptor(_INSTANCEADMIN)

DESCRIPTOR.services_by_name["InstanceAdmin"] = _INSTANCEADMIN

# @@protoc_insertion_point(module_scope)
