# Path: google/cloud/redis_v1beta1/types/cloud_redis.py
# class NodeInfo(proto.Message):
# class Instance(proto.Message):
#     class State(proto.Enum):
#     class Tier(proto.Enum):
#     class ConnectMode(proto.Enum):
#     class TransitEncryptionMode(proto.Enum):
#     class ReadReplicasMode(proto.Enum):
# class PersistenceConfig(proto.Message):
#     class PersistenceMode(proto.Enum):
#     class SnapshotPeriod(proto.Enum):
# class RescheduleMaintenanceRequest(proto.Message):
#     class RescheduleType(proto.Enum):
# class MaintenancePolicy(proto.Message):
# class WeeklyMaintenanceWindow(proto.Message):
# class MaintenanceSchedule(proto.Message):
# class ListInstancesRequest(proto.Message):
# class ListInstancesResponse(proto.Message):
# class GetInstanceRequest(proto.Message):
# class GetInstanceAuthStringRequest(proto.Message):
# class InstanceAuthString(proto.Message):
# class CreateInstanceRequest(proto.Message):
# class UpdateInstanceRequest(proto.Message):
# class UpgradeInstanceRequest(proto.Message):
# class DeleteInstanceRequest(proto.Message):
# class GcsSource(proto.Message):
# class InputConfig(proto.Message):
# class ImportInstanceRequest(proto.Message):
# class GcsDestination(proto.Message):
# class OutputConfig(proto.Message):
# class ExportInstanceRequest(proto.Message):
# class FailoverInstanceRequest(proto.Message):
#     class DataProtectionMode(proto.Enum):
# class LocationMetadata(proto.Message):
# class ZoneMetadata(proto.Message):
# class TlsCertificate(proto.Message):
#         STATE_UNSPECIFIED = 0
#         CREATING = 1
#         READY = 2
#         UPDATING = 3
#         DELETING = 4
#         REPAIRING = 5
#         MAINTENANCE = 6
#         IMPORTING = 8
#         FAILING_OVER = 10
#         TIER_UNSPECIFIED = 0
#         BASIC = 1
#         STANDARD_HA = 3
#         CONNECT_MODE_UNSPECIFIED = 0
#         DIRECT_PEERING = 1
#         PRIVATE_SERVICE_ACCESS = 2
#         TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0
#         SERVER_AUTHENTICATION = 1
#         DISABLED = 2
#         READ_REPLICAS_MODE_UNSPECIFIED = 0
#         READ_REPLICAS_DISABLED = 1
#         READ_REPLICAS_ENABLED = 2
#         PERSISTENCE_MODE_UNSPECIFIED = 0
#         DISABLED = 1
#         RDB = 2
#         SNAPSHOT_PERIOD_UNSPECIFIED = 0
#         ONE_HOUR = 3
#         SIX_HOURS = 4
#         TWELVE_HOURS = 5
#         TWENTY_FOUR_HOURS = 6
#         RESCHEDULE_TYPE_UNSPECIFIED = 0
#         IMMEDIATE = 1
#         NEXT_AVAILABLE_WINDOW = 2
#         SPECIFIC_TIME = 3
#         DATA_PROTECTION_MODE_UNSPECIFIED = 0
#         LIMITED_DATA_LOSS = 1
#         FORCE_DATA_LOSS = 2
#     def raw_page(self):


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.redis_v1beta1.types import cloud_redis
from google.longrunning import operations_pb2  # type: ignore
        """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 operations_client(self):
        """Return the client designed to process long-running operations."""
        raise NotImplementedError()

    @property
    def list_instances(
        self,
    ) -> Callable[
        [cloud_redis.ListInstancesRequest],
        Union[
            cloud_redis.ListInstancesResponse,
            Awaitable[cloud_redis.ListInstancesResponse],
        ],
    ]:
        raise NotImplementedError()

    @property
    def get_instance(
        self,
    ) -> Callable[
        [cloud_redis.GetInstanceRequest],

# Path: google/cloud/redis_v1beta1/types/cloud_redis.py
# class NodeInfo(proto.Message):
# class Instance(proto.Message):
#     class State(proto.Enum):
#     class Tier(proto.Enum):
#     class ConnectMode(proto.Enum):
#     class TransitEncryptionMode(proto.Enum):
#     class ReadReplicasMode(proto.Enum):
# class PersistenceConfig(proto.Message):
#     class PersistenceMode(proto.Enum):
#     class SnapshotPeriod(proto.Enum):
# class RescheduleMaintenanceRequest(proto.Message):
#     class RescheduleType(proto.Enum):
# class MaintenancePolicy(proto.Message):
# class WeeklyMaintenanceWindow(proto.Message):
# class MaintenanceSchedule(proto.Message):
# class ListInstancesRequest(proto.Message):
# class ListInstancesResponse(proto.Message):
# class GetInstanceRequest(proto.Message):
# class GetInstanceAuthStringRequest(proto.Message):
# class InstanceAuthString(proto.Message):
# class CreateInstanceRequest(proto.Message):
# class UpdateInstanceRequest(proto.Message):
# class UpgradeInstanceRequest(proto.Message):
# class DeleteInstanceRequest(proto.Message):
# class GcsSource(proto.Message):
# class InputConfig(proto.Message):
# class ImportInstanceRequest(proto.Message):
# class GcsDestination(proto.Message):
# class OutputConfig(proto.Message):
# class ExportInstanceRequest(proto.Message):
# class FailoverInstanceRequest(proto.Message):
#     class DataProtectionMode(proto.Enum):
# class LocationMetadata(proto.Message):
# class ZoneMetadata(proto.Message):
# class TlsCertificate(proto.Message):
#         STATE_UNSPECIFIED = 0
#         CREATING = 1
#         READY = 2
#         UPDATING = 3
#         DELETING = 4
#         REPAIRING = 5
#         MAINTENANCE = 6
#         IMPORTING = 8
#         FAILING_OVER = 10
#         TIER_UNSPECIFIED = 0
#         BASIC = 1
#         STANDARD_HA = 3
#         CONNECT_MODE_UNSPECIFIED = 0
#         DIRECT_PEERING = 1
#         PRIVATE_SERVICE_ACCESS = 2
#         TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0
#         SERVER_AUTHENTICATION = 1
#         DISABLED = 2
#         READ_REPLICAS_MODE_UNSPECIFIED = 0
#         READ_REPLICAS_DISABLED = 1
#         READ_REPLICAS_ENABLED = 2
#         PERSISTENCE_MODE_UNSPECIFIED = 0
#         DISABLED = 1
#         RDB = 2
#         SNAPSHOT_PERIOD_UNSPECIFIED = 0
#         ONE_HOUR = 3
#         SIX_HOURS = 4
#         TWELVE_HOURS = 5
#         TWENTY_FOUR_HOURS = 6
#         RESCHEDULE_TYPE_UNSPECIFIED = 0
#         IMMEDIATE = 1
#         NEXT_AVAILABLE_WINDOW = 2
#         SPECIFIC_TIME = 3
#         DATA_PROTECTION_MODE_UNSPECIFIED = 0
#         LIMITED_DATA_LOSS = 1
#         FORCE_DATA_LOSS = 2
#     def raw_page(self):


# Path: google/cloud/redis_v1beta1/services/cloud_redis/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.redis_v1beta1.types import cloud_redis
from google.longrunning import operations_pb2  # type: ignore

        """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 operations_client(self):
        """Return the client designed to process long-running operations."""
        raise NotImplementedError()

    @property
    def list_instances(
        self,
    ) -> Callable[
        [cloud_redis.ListInstancesRequest],
        Union[
            cloud_redis.ListInstancesResponse,
            Awaitable[cloud_redis.ListInstancesResponse],
        ],
    ]:
        raise NotImplementedError()

    @property
    def get_instance(
        self,
    ) -> Callable[
        [cloud_redis.GetInstanceRequest],

        Union[cloud_redis.Instance, Awaitable[cloud_redis.Instance]],