# 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/firestore_admin.py
# class ListDatabasesRequest(proto.Message):
# class ListDatabasesResponse(proto.Message):
# class GetDatabaseRequest(proto.Message):
# class UpdateDatabaseRequest(proto.Message):
# class UpdateDatabaseMetadata(proto.Message):
# class CreateIndexRequest(proto.Message):
# class ListIndexesRequest(proto.Message):
# class ListIndexesResponse(proto.Message):
# class GetIndexRequest(proto.Message):
# class DeleteIndexRequest(proto.Message):
# class UpdateFieldRequest(proto.Message):
# class GetFieldRequest(proto.Message):
# class ListFieldsRequest(proto.Message):
# class ListFieldsResponse(proto.Message):
# class ExportDocumentsRequest(proto.Message):
# class ImportDocumentsRequest(proto.Message):
#     def raw_page(self):
#     def raw_page(self):
# 
# 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 abc
import pkg_resources
import google.auth  # type: ignore
import google.api_core
from typing import Awaitable, Callable, Dict, Optional, Sequence, Union
from google.api_core import exceptions as core_exceptions
from google.api_core import gapic_v1
from google.api_core import retry as retries
from google.api_core import operations_v1
from google.auth import credentials as ga_credentials  # type: ignore
from google.oauth2 import service_account  # type: ignore
from google.cloud.firestore_admin_v1.types import database
from google.cloud.firestore_admin_v1.types import field
from google.cloud.firestore_admin_v1.types import firestore_admin
from google.cloud.firestore_admin_v1.types import index
from google.longrunning import operations_pb2  # type: ignore
from google.protobuf import empty_pb2  # type: ignore
    @property
    def operations_client(self):
        """Return the client designed to process long-running operations."""
        raise NotImplementedError()

    @property
    def create_index(
        self,
    ) -> Callable[
        [firestore_admin.CreateIndexRequest],
        Union[operations_pb2.Operation, Awaitable[operations_pb2.Operation]],
    ]:
        raise NotImplementedError()

    @property
    def list_indexes(
        self,
    ) -> Callable[
        [firestore_admin.ListIndexesRequest],
        Union[
            firestore_admin.ListIndexesResponse,
            Awaitable[firestore_admin.ListIndexesResponse],
        ],
    ]:
        raise NotImplementedError()

    @property
    def get_index(
        self,
    ) -> Callable[

# 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/firestore_admin.py
# class ListDatabasesRequest(proto.Message):
# class ListDatabasesResponse(proto.Message):
# class GetDatabaseRequest(proto.Message):
# class UpdateDatabaseRequest(proto.Message):
# class UpdateDatabaseMetadata(proto.Message):
# class CreateIndexRequest(proto.Message):
# class ListIndexesRequest(proto.Message):
# class ListIndexesResponse(proto.Message):
# class GetIndexRequest(proto.Message):
# class DeleteIndexRequest(proto.Message):
# class UpdateFieldRequest(proto.Message):
# class GetFieldRequest(proto.Message):
# class ListFieldsRequest(proto.Message):
# class ListFieldsResponse(proto.Message):
# class ExportDocumentsRequest(proto.Message):
# class ImportDocumentsRequest(proto.Message):
#     def raw_page(self):
#     def raw_page(self):
# 
# 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/services/firestore_admin/transports/base.py
import abc
import pkg_resources
import google.auth  # type: ignore
import google.api_core
from typing import Awaitable, Callable, Dict, Optional, Sequence, Union
from google.api_core import exceptions as core_exceptions
from google.api_core import gapic_v1
from google.api_core import retry as retries
from google.api_core import operations_v1
from google.auth import credentials as ga_credentials  # type: ignore
from google.oauth2 import service_account  # type: ignore
from google.cloud.firestore_admin_v1.types import database
from google.cloud.firestore_admin_v1.types import field
from google.cloud.firestore_admin_v1.types import firestore_admin
from google.cloud.firestore_admin_v1.types import index
from google.longrunning import operations_pb2  # type: ignore
from google.protobuf import empty_pb2  # type: ignore

    @property
    def operations_client(self):
        """Return the client designed to process long-running operations."""
        raise NotImplementedError()

    @property
    def create_index(
        self,
    ) -> Callable[
        [firestore_admin.CreateIndexRequest],
        Union[operations_pb2.Operation, Awaitable[operations_pb2.Operation]],
    ]:
        raise NotImplementedError()

    @property
    def list_indexes(
        self,
    ) -> Callable[
        [firestore_admin.ListIndexesRequest],
        Union[
            firestore_admin.ListIndexesResponse,
            Awaitable[firestore_admin.ListIndexesResponse],
        ],
    ]:
        raise NotImplementedError()

    @property
    def get_index(
        self,
    ) -> Callable[

        [firestore_admin.GetIndexRequest], Union[index.Index, Awaitable[index.Index]]