# Path: google/cloud/datastore_v1/types/datastore.py
# class LookupRequest(proto.Message):
# class LookupResponse(proto.Message):
# class RunQueryRequest(proto.Message):
# class RunQueryResponse(proto.Message):
# class BeginTransactionRequest(proto.Message):
# class BeginTransactionResponse(proto.Message):
# class RollbackRequest(proto.Message):
# class RollbackResponse(proto.Message):
# class CommitRequest(proto.Message):
#     class Mode(proto.Enum):
# class CommitResponse(proto.Message):
# class AllocateIdsRequest(proto.Message):
# class AllocateIdsResponse(proto.Message):
# class ReserveIdsRequest(proto.Message):
# class ReserveIdsResponse(proto.Message):
# class Mutation(proto.Message):
# class MutationResult(proto.Message):
# class ReadOptions(proto.Message):
#     class ReadConsistency(proto.Enum):
# class TransactionOptions(proto.Message):
#     class ReadWrite(proto.Message):
#     class ReadOnly(proto.Message):
#         MODE_UNSPECIFIED = 0
#         TRANSACTIONAL = 1
#         NON_TRANSACTIONAL = 2
#         READ_CONSISTENCY_UNSPECIFIED = 0
#         STRONG = 1
#         EVENTUAL = 2


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.auth import credentials as ga_credentials  # type: ignore
from google.oauth2 import service_account  # type: ignore
from google.cloud.datastore_v1.types import datastore
            self.reserve_ids: gapic_v1.method.wrap_method(
                self.reserve_ids,
                default_retry=retries.Retry(
                    initial=0.1,
                    maximum=60.0,
                    multiplier=1.3,
                    predicate=retries.if_exception_type(
                        core_exceptions.DeadlineExceeded,
                        core_exceptions.ServiceUnavailable,
                    ),
                    deadline=60.0,
                ),
                default_timeout=60.0,
                client_info=client_info,
            ),
        }

    def close(self):
        """Closes resources associated with the transport.

       .. warning::
            Only call this method if the transport is NOT shared
            with other clients - this may cause errors in other clients!
        """
        raise NotImplementedError()

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

# Path: google/cloud/datastore_v1/types/datastore.py
# class LookupRequest(proto.Message):
# class LookupResponse(proto.Message):
# class RunQueryRequest(proto.Message):
# class RunQueryResponse(proto.Message):
# class BeginTransactionRequest(proto.Message):
# class BeginTransactionResponse(proto.Message):
# class RollbackRequest(proto.Message):
# class RollbackResponse(proto.Message):
# class CommitRequest(proto.Message):
#     class Mode(proto.Enum):
# class CommitResponse(proto.Message):
# class AllocateIdsRequest(proto.Message):
# class AllocateIdsResponse(proto.Message):
# class ReserveIdsRequest(proto.Message):
# class ReserveIdsResponse(proto.Message):
# class Mutation(proto.Message):
# class MutationResult(proto.Message):
# class ReadOptions(proto.Message):
#     class ReadConsistency(proto.Enum):
# class TransactionOptions(proto.Message):
#     class ReadWrite(proto.Message):
#     class ReadOnly(proto.Message):
#         MODE_UNSPECIFIED = 0
#         TRANSACTIONAL = 1
#         NON_TRANSACTIONAL = 2
#         READ_CONSISTENCY_UNSPECIFIED = 0
#         STRONG = 1
#         EVENTUAL = 2


# Path: google/cloud/datastore_v1/services/datastore/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.auth import credentials as ga_credentials  # type: ignore
from google.oauth2 import service_account  # type: ignore
from google.cloud.datastore_v1.types import datastore

            self.reserve_ids: gapic_v1.method.wrap_method(
                self.reserve_ids,
                default_retry=retries.Retry(
                    initial=0.1,
                    maximum=60.0,
                    multiplier=1.3,
                    predicate=retries.if_exception_type(
                        core_exceptions.DeadlineExceeded,
                        core_exceptions.ServiceUnavailable,
                    ),
                    deadline=60.0,
                ),
                default_timeout=60.0,
                client_info=client_info,
            ),
        }

    def close(self):
        """Closes resources associated with the transport.

       .. warning::
            Only call this method if the transport is NOT shared
            with other clients - this may cause errors in other clients!
        """
        raise NotImplementedError()

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

        [datastore.LookupRequest],