# Path: google/cloud/firestore_admin_v1/types/database.py
# class Database(proto.Message):
#     class DatabaseType(proto.Enum):
#     class ConcurrencyMode(proto.Enum):
#         DATABASE_TYPE_UNSPECIFIED = 0
#         FIRESTORE_NATIVE = 1
#         DATASTORE_MODE = 2
#         CONCURRENCY_MODE_UNSPECIFIED = 0
#         OPTIMISTIC = 1
#         PESSIMISTIC = 2
#         OPTIMISTIC_WITH_ENTITY_GROUPS = 3
# 
# Path: google/cloud/firestore_admin_v1/types/field.py
# class Field(proto.Message):
#     class IndexConfig(proto.Message):
# 
# Path: google/cloud/firestore_admin_v1/types/index.py
# class Index(proto.Message):
#     class QueryScope(proto.Enum):
#     class State(proto.Enum):
#     class IndexField(proto.Message):
#         class Order(proto.Enum):
#         class ArrayConfig(proto.Enum):
#         QUERY_SCOPE_UNSPECIFIED = 0
#         COLLECTION = 1
#         COLLECTION_GROUP = 2
#         STATE_UNSPECIFIED = 0
#         CREATING = 1
#         READY = 2
#         NEEDS_REPAIR = 3
#             ORDER_UNSPECIFIED = 0
#             ASCENDING = 1
#             DESCENDING = 2
#             ARRAY_CONFIG_UNSPECIFIED = 0
#             CONTAINS = 1


import proto  # type: ignore
from google.cloud.firestore_admin_v1.types import database as gfa_database
from google.cloud.firestore_admin_v1.types import field as gfa_field
from google.cloud.firestore_admin_v1.types import index as gfa_index
from google.protobuf import field_mask_pb2  # type: ignore


__protobuf__ = proto.module(
    package="google.firestore.admin.v1",
    manifest={
        "ListDatabasesRequest",
        "ListDatabasesResponse",
        "GetDatabaseRequest",
        "UpdateDatabaseRequest",
        "UpdateDatabaseMetadata",
        "CreateIndexRequest",
        "ListIndexesRequest",
        "ListIndexesResponse",
        "GetIndexRequest",
        "DeleteIndexRequest",
        "UpdateFieldRequest",
        "GetFieldRequest",
        "ListFieldsRequest",
        "ListFieldsResponse",
        "ExportDocumentsRequest",
        "ImportDocumentsRequest",
    },
)


class ListDatabasesRequest(proto.Message):
    r"""A request to list the Firestore Databases in all locations
    for a project.

    Attributes:

# Path: google/cloud/firestore_admin_v1/types/database.py
# class Database(proto.Message):
#     class DatabaseType(proto.Enum):
#     class ConcurrencyMode(proto.Enum):
#         DATABASE_TYPE_UNSPECIFIED = 0
#         FIRESTORE_NATIVE = 1
#         DATASTORE_MODE = 2
#         CONCURRENCY_MODE_UNSPECIFIED = 0
#         OPTIMISTIC = 1
#         PESSIMISTIC = 2
#         OPTIMISTIC_WITH_ENTITY_GROUPS = 3
# 
# Path: google/cloud/firestore_admin_v1/types/field.py
# class Field(proto.Message):
#     class IndexConfig(proto.Message):
# 
# Path: google/cloud/firestore_admin_v1/types/index.py
# class Index(proto.Message):
#     class QueryScope(proto.Enum):
#     class State(proto.Enum):
#     class IndexField(proto.Message):
#         class Order(proto.Enum):
#         class ArrayConfig(proto.Enum):
#         QUERY_SCOPE_UNSPECIFIED = 0
#         COLLECTION = 1
#         COLLECTION_GROUP = 2
#         STATE_UNSPECIFIED = 0
#         CREATING = 1
#         READY = 2
#         NEEDS_REPAIR = 3
#             ORDER_UNSPECIFIED = 0
#             ASCENDING = 1
#             DESCENDING = 2
#             ARRAY_CONFIG_UNSPECIFIED = 0
#             CONTAINS = 1


# Path: google/cloud/firestore_admin_v1/types/firestore_admin.py
import proto  # type: ignore
from google.cloud.firestore_admin_v1.types import database as gfa_database
from google.cloud.firestore_admin_v1.types import field as gfa_field
from google.cloud.firestore_admin_v1.types import index as gfa_index
from google.protobuf import field_mask_pb2  # type: ignore



__protobuf__ = proto.module(
    package="google.firestore.admin.v1",
    manifest={
        "ListDatabasesRequest",
        "ListDatabasesResponse",
        "GetDatabaseRequest",
        "UpdateDatabaseRequest",
        "UpdateDatabaseMetadata",
        "CreateIndexRequest",
        "ListIndexesRequest",
        "ListIndexesResponse",
        "GetIndexRequest",
        "DeleteIndexRequest",
        "UpdateFieldRequest",
        "GetFieldRequest",
        "ListFieldsRequest",
        "ListFieldsResponse",
        "ExportDocumentsRequest",
        "ImportDocumentsRequest",
    },
)


class ListDatabasesRequest(proto.Message):
    r"""A request to list the Firestore Databases in all locations
    for a project.

    Attributes:

        parent (str):