# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/redis_v1beta1/proto/cloud_redis.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 resource_pb2 as google_dot_api_dot_resource__pb2
from google.longrunning import (
    operations_pb2 as google_dot_longrunning_dot_operations__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/redis_v1beta1/proto/cloud_redis.proto",
    package="google.cloud.redis.v1beta1",
    syntax="proto3",
    serialized_options=_b(
        "\n\036com.google.cloud.redis.v1beta1B\032CloudRedisServiceBetaProtoP\001Z?google.golang.org/genproto/googleapis/cloud/redis/v1beta1;redis"
    ),
    serialized_pb=_b(
        '\n2google/cloud/redis_v1beta1/proto/cloud_redis.proto\x12\x1agoogle.cloud.redis.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x86\x07\n\x08Instance\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12@\n\x06labels\x18\x03 \x03(\x0b\x32\x30.google.cloud.redis.v1beta1.Instance.LabelsEntry\x12\x13\n\x0blocation_id\x18\x04 \x01(\t\x12\x1f\n\x17\x61lternative_location_id\x18\x05 \x01(\t\x12\x15\n\rredis_version\x18\x07 \x01(\t\x12\x19\n\x11reserved_ip_range\x18\t \x01(\t\x12\x0c\n\x04host\x18\n \x01(\t\x12\x0c\n\x04port\x18\x0b \x01(\x05\x12\x1b\n\x13\x63urrent_location_id\x18\x0c \x01(\t\x12/\n\x0b\x63reate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x05state\x18\x0e \x01(\x0e\x32*.google.cloud.redis.v1beta1.Instance.State\x12\x16\n\x0estatus_message\x18\x0f \x01(\t\x12M\n\rredis_configs\x18\x10 \x03(\x0b\x32\x36.google.cloud.redis.v1beta1.Instance.RedisConfigsEntry\x12\x37\n\x04tier\x18\x11 \x01(\x0e\x32).google.cloud.redis.v1beta1.Instance.Tier\x12\x16\n\x0ememory_size_gb\x18\x12 \x01(\x05\x12\x1a\n\x12\x61uthorized_network\x18\x14 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11RedisConfigsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x94\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\r\n\tREPAIRING\x10\x05\x12\x0f\n\x0bMAINTENANCE\x10\x06\x12\r\n\tIMPORTING\x10\x08\x12\x10\n\x0c\x46\x41ILING_OVER\x10\n"8\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x0f\n\x0bSTANDARD_HA\x10\x03"M\n\x14ListInstancesRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t"~\n\x15ListInstancesResponse\x12\x37\n\tinstances\x18\x01 \x03(\x0b\x32$.google.cloud.redis.v1beta1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t""\n\x12GetInstanceRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"t\n\x15\x43reateInstanceRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x13\n\x0binstance_id\x18\x02 \x01(\t\x12\x36\n\x08instance\x18\x03 \x01(\x0b\x32$.google.cloud.redis.v1beta1.Instance"\x80\x01\n\x15UpdateInstanceRequest\x12/\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x36\n\x08instance\x18\x02 \x01(\x0b\x32$.google.cloud.redis.v1beta1.Instance"%\n\x15\x44\x65leteInstanceRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"\xf5\x01\n\x17\x46\x61iloverInstanceRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x64\n\x14\x64\x61ta_protection_mode\x18\x02 \x01(\x0e\x32\x46.google.cloud.redis.v1beta1.FailoverInstanceRequest.DataProtectionMode"f\n\x12\x44\x61taProtectionMode\x12$\n DATA_PROTECTION_MODE_UNSPECIFIED\x10\x00\x12\x15\n\x11LIMITED_DATA_LOSS\x10\x01\x12\x13\n\x0f\x46ORCE_DATA_LOSS\x10\x02"\xce\x01\n\x10LocationMetadata\x12Y\n\x0f\x61vailable_zones\x18\x01 \x03(\x0b\x32@.google.cloud.redis.v1beta1.LocationMetadata.AvailableZonesEntry\x1a_\n\x13\x41vailableZonesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.google.cloud.redis.v1beta1.ZoneMetadata:\x02\x38\x01"\x0e\n\x0cZoneMetadata2\x92\x08\n\nCloudRedis\x12\xb0\x01\n\rListInstances\x12\x30.google.cloud.redis.v1beta1.ListInstancesRequest\x1a\x31.google.cloud.redis.v1beta1.ListInstancesResponse":\x82\xd3\xe4\x93\x02\x34\x12\x32/v1beta1/{parent=projects/*/locations/*}/instances\x12\x9f\x01\n\x0bGetInstance\x12..google.cloud.redis.v1beta1.GetInstanceRequest\x1a$.google.cloud.redis.v1beta1.Instance":\x82\xd3\xe4\x93\x02\x34\x12\x32/v1beta1/{name=projects/*/locations/*/instances/*}\x12\xa8\x01\n\x0e\x43reateInstance\x12\x31.google.cloud.redis.v1beta1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation"D\x82\xd3\xe4\x93\x02>"2/v1beta1/{parent=projects/*/locations/*}/instances:\x08instance\x12\xb1\x01\n\x0eUpdateInstance\x12\x31.google.cloud.redis.v1beta1.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation"M\x82\xd3\xe4\x93\x02G2;/v1beta1/{instance.name=projects/*/locations/*/instances/*}:\x08instance\x12\xae\x01\n\x10\x46\x61iloverInstance\x12\x33.google.cloud.redis.v1beta1.FailoverInstanceRequest\x1a\x1d.google.longrunning.Operation"F\x82\xd3\xe4\x93\x02@";/v1beta1/{name=projects/*/locations/*/instances/*}:failover:\x01*\x12\x9e\x01\n\x0e\x44\x65leteInstance\x12\x31.google.cloud.redis.v1beta1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation":\x82\xd3\xe4\x93\x02\x34*2/v1beta1/{name=projects/*/locations/*/instances/*}B\x7f\n\x1e\x63om.google.cloud.redis.v1beta1B\x1a\x43loudRedisServiceBetaProtoP\x01Z?google.golang.org/genproto/googleapis/cloud/redis/v1beta1;redisb\x06proto3'
    ),
    dependencies=[
        google_dot_api_dot_annotations__pb2.DESCRIPTOR,
        google_dot_api_dot_resource__pb2.DESCRIPTOR,
        google_dot_longrunning_dot_operations__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,
    ],
)


_INSTANCE_STATE = _descriptor.EnumDescriptor(
    name="State",
    full_name="google.cloud.redis.v1beta1.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
        ),
        _descriptor.EnumValueDescriptor(
            name="UPDATING", index=3, number=3, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="DELETING", index=4, number=4, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="REPAIRING", index=5, number=5, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="MAINTENANCE", index=6, number=6, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="IMPORTING", index=7, number=8, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="FAILING_OVER", index=8, number=10, serialized_options=None, type=None
        ),
    ],
    containing_type=None,
    serialized_options=None,
    serialized_start=940,
    serialized_end=1088,
)
_sym_db.RegisterEnumDescriptor(_INSTANCE_STATE)

_INSTANCE_TIER = _descriptor.EnumDescriptor(
    name="Tier",
    full_name="google.cloud.redis.v1beta1.Instance.Tier",
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(
            name="TIER_UNSPECIFIED",
            index=0,
            number=0,
            serialized_options=None,
            type=None,
        ),
        _descriptor.EnumValueDescriptor(
            name="BASIC", index=1, number=1, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="STANDARD_HA", index=2, number=3, serialized_options=None, type=None
        ),
    ],
    containing_type=None,
    serialized_options=None,
    serialized_start=1090,
    serialized_end=1146,
)
_sym_db.RegisterEnumDescriptor(_INSTANCE_TIER)

_FAILOVERINSTANCEREQUEST_DATAPROTECTIONMODE = _descriptor.EnumDescriptor(
    name="DataProtectionMode",
    full_name="google.cloud.redis.v1beta1.FailoverInstanceRequest.DataProtectionMode",
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(
            name="DATA_PROTECTION_MODE_UNSPECIFIED",
            index=0,
            number=0,
            serialized_options=None,
            type=None,
        ),
        _descriptor.EnumValueDescriptor(
            name="LIMITED_DATA_LOSS",
            index=1,
            number=1,
            serialized_options=None,
            type=None,
        ),
        _descriptor.EnumValueDescriptor(
            name="FORCE_DATA_LOSS",
            index=2,
            number=2,
            serialized_options=None,
            type=None,
        ),
    ],
    containing_type=None,
    serialized_options=None,
    serialized_start=1823,
    serialized_end=1925,
)
_sym_db.RegisterEnumDescriptor(_FAILOVERINSTANCEREQUEST_DATAPROTECTIONMODE)


_INSTANCE_LABELSENTRY = _descriptor.Descriptor(
    name="LabelsEntry",
    full_name="google.cloud.redis.v1beta1.Instance.LabelsEntry",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="key",
            full_name="google.cloud.redis.v1beta1.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.cloud.redis.v1beta1.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=839,
    serialized_end=884,
)

_INSTANCE_REDISCONFIGSENTRY = _descriptor.Descriptor(
    name="RedisConfigsEntry",
    full_name="google.cloud.redis.v1beta1.Instance.RedisConfigsEntry",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="key",
            full_name="google.cloud.redis.v1beta1.Instance.RedisConfigsEntry.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.cloud.redis.v1beta1.Instance.RedisConfigsEntry.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=886,
    serialized_end=937,
)

_INSTANCE = _descriptor.Descriptor(
    name="Instance",
    full_name="google.cloud.redis.v1beta1.Instance",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.redis.v1beta1.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="display_name",
            full_name="google.cloud.redis.v1beta1.Instance.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="labels",
            full_name="google.cloud.redis.v1beta1.Instance.labels",
            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,
        ),
        _descriptor.FieldDescriptor(
            name="location_id",
            full_name="google.cloud.redis.v1beta1.Instance.location_id",
            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,
        ),
        _descriptor.FieldDescriptor(
            name="alternative_location_id",
            full_name="google.cloud.redis.v1beta1.Instance.alternative_location_id",
            index=4,
            number=5,
            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="redis_version",
            full_name="google.cloud.redis.v1beta1.Instance.redis_version",
            index=5,
            number=7,
            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="reserved_ip_range",
            full_name="google.cloud.redis.v1beta1.Instance.reserved_ip_range",
            index=6,
            number=9,
            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="host",
            full_name="google.cloud.redis.v1beta1.Instance.host",
            index=7,
            number=10,
            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="port",
            full_name="google.cloud.redis.v1beta1.Instance.port",
            index=8,
            number=11,
            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="current_location_id",
            full_name="google.cloud.redis.v1beta1.Instance.current_location_id",
            index=9,
            number=12,
            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="create_time",
            full_name="google.cloud.redis.v1beta1.Instance.create_time",
            index=10,
            number=13,
            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="state",
            full_name="google.cloud.redis.v1beta1.Instance.state",
            index=11,
            number=14,
            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="status_message",
            full_name="google.cloud.redis.v1beta1.Instance.status_message",
            index=12,
            number=15,
            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="redis_configs",
            full_name="google.cloud.redis.v1beta1.Instance.redis_configs",
            index=13,
            number=16,
            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="tier",
            full_name="google.cloud.redis.v1beta1.Instance.tier",
            index=14,
            number=17,
            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="memory_size_gb",
            full_name="google.cloud.redis.v1beta1.Instance.memory_size_gb",
            index=15,
            number=18,
            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="authorized_network",
            full_name="google.cloud.redis.v1beta1.Instance.authorized_network",
            index=16,
            number=20,
            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=[_INSTANCE_LABELSENTRY, _INSTANCE_REDISCONFIGSENTRY],
    enum_types=[_INSTANCE_STATE, _INSTANCE_TIER],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=244,
    serialized_end=1146,
)


_LISTINSTANCESREQUEST = _descriptor.Descriptor(
    name="ListInstancesRequest",
    full_name="google.cloud.redis.v1beta1.ListInstancesRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.redis.v1beta1.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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_size",
            full_name="google.cloud.redis.v1beta1.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.cloud.redis.v1beta1.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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1148,
    serialized_end=1225,
)


_LISTINSTANCESRESPONSE = _descriptor.Descriptor(
    name="ListInstancesResponse",
    full_name="google.cloud.redis.v1beta1.ListInstancesResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="instances",
            full_name="google.cloud.redis.v1beta1.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.cloud.redis.v1beta1.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,
        ),
        _descriptor.FieldDescriptor(
            name="unreachable",
            full_name="google.cloud.redis.v1beta1.ListInstancesResponse.unreachable",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            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=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1227,
    serialized_end=1353,
)


_GETINSTANCEREQUEST = _descriptor.Descriptor(
    name="GetInstanceRequest",
    full_name="google.cloud.redis.v1beta1.GetInstanceRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.redis.v1beta1.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=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1355,
    serialized_end=1389,
)


_CREATEINSTANCEREQUEST = _descriptor.Descriptor(
    name="CreateInstanceRequest",
    full_name="google.cloud.redis.v1beta1.CreateInstanceRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.redis.v1beta1.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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="instance_id",
            full_name="google.cloud.redis.v1beta1.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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="instance",
            full_name="google.cloud.redis.v1beta1.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=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1391,
    serialized_end=1507,
)


_UPDATEINSTANCEREQUEST = _descriptor.Descriptor(
    name="UpdateInstanceRequest",
    full_name="google.cloud.redis.v1beta1.UpdateInstanceRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="update_mask",
            full_name="google.cloud.redis.v1beta1.UpdateInstanceRequest.update_mask",
            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="instance",
            full_name="google.cloud.redis.v1beta1.UpdateInstanceRequest.instance",
            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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1510,
    serialized_end=1638,
)


_DELETEINSTANCEREQUEST = _descriptor.Descriptor(
    name="DeleteInstanceRequest",
    full_name="google.cloud.redis.v1beta1.DeleteInstanceRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.redis.v1beta1.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=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1640,
    serialized_end=1677,
)


_FAILOVERINSTANCEREQUEST = _descriptor.Descriptor(
    name="FailoverInstanceRequest",
    full_name="google.cloud.redis.v1beta1.FailoverInstanceRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.redis.v1beta1.FailoverInstanceRequest.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="data_protection_mode",
            full_name="google.cloud.redis.v1beta1.FailoverInstanceRequest.data_protection_mode",
            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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[_FAILOVERINSTANCEREQUEST_DATAPROTECTIONMODE],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1680,
    serialized_end=1925,
)


_LOCATIONMETADATA_AVAILABLEZONESENTRY = _descriptor.Descriptor(
    name="AvailableZonesEntry",
    full_name="google.cloud.redis.v1beta1.LocationMetadata.AvailableZonesEntry",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="key",
            full_name="google.cloud.redis.v1beta1.LocationMetadata.AvailableZonesEntry.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.cloud.redis.v1beta1.LocationMetadata.AvailableZonesEntry.value",
            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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=_b("8\001"),
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2039,
    serialized_end=2134,
)

_LOCATIONMETADATA = _descriptor.Descriptor(
    name="LocationMetadata",
    full_name="google.cloud.redis.v1beta1.LocationMetadata",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="available_zones",
            full_name="google.cloud.redis.v1beta1.LocationMetadata.available_zones",
            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,
        )
    ],
    extensions=[],
    nested_types=[_LOCATIONMETADATA_AVAILABLEZONESENTRY],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1928,
    serialized_end=2134,
)


_ZONEMETADATA = _descriptor.Descriptor(
    name="ZoneMetadata",
    full_name="google.cloud.redis.v1beta1.ZoneMetadata",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2136,
    serialized_end=2150,
)

_INSTANCE_LABELSENTRY.containing_type = _INSTANCE
_INSTANCE_REDISCONFIGSENTRY.containing_type = _INSTANCE
_INSTANCE.fields_by_name["labels"].message_type = _INSTANCE_LABELSENTRY
_INSTANCE.fields_by_name[
    "create_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_INSTANCE.fields_by_name["state"].enum_type = _INSTANCE_STATE
_INSTANCE.fields_by_name["redis_configs"].message_type = _INSTANCE_REDISCONFIGSENTRY
_INSTANCE.fields_by_name["tier"].enum_type = _INSTANCE_TIER
_INSTANCE_STATE.containing_type = _INSTANCE
_INSTANCE_TIER.containing_type = _INSTANCE
_LISTINSTANCESRESPONSE.fields_by_name["instances"].message_type = _INSTANCE
_CREATEINSTANCEREQUEST.fields_by_name["instance"].message_type = _INSTANCE
_UPDATEINSTANCEREQUEST.fields_by_name[
    "update_mask"
].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK
_UPDATEINSTANCEREQUEST.fields_by_name["instance"].message_type = _INSTANCE
_FAILOVERINSTANCEREQUEST.fields_by_name[
    "data_protection_mode"
].enum_type = _FAILOVERINSTANCEREQUEST_DATAPROTECTIONMODE
_FAILOVERINSTANCEREQUEST_DATAPROTECTIONMODE.containing_type = _FAILOVERINSTANCEREQUEST
_LOCATIONMETADATA_AVAILABLEZONESENTRY.fields_by_name[
    "value"
].message_type = _ZONEMETADATA
_LOCATIONMETADATA_AVAILABLEZONESENTRY.containing_type = _LOCATIONMETADATA
_LOCATIONMETADATA.fields_by_name[
    "available_zones"
].message_type = _LOCATIONMETADATA_AVAILABLEZONESENTRY
DESCRIPTOR.message_types_by_name["Instance"] = _INSTANCE
DESCRIPTOR.message_types_by_name["ListInstancesRequest"] = _LISTINSTANCESREQUEST
DESCRIPTOR.message_types_by_name["ListInstancesResponse"] = _LISTINSTANCESRESPONSE
DESCRIPTOR.message_types_by_name["GetInstanceRequest"] = _GETINSTANCEREQUEST
DESCRIPTOR.message_types_by_name["CreateInstanceRequest"] = _CREATEINSTANCEREQUEST
DESCRIPTOR.message_types_by_name["UpdateInstanceRequest"] = _UPDATEINSTANCEREQUEST
DESCRIPTOR.message_types_by_name["DeleteInstanceRequest"] = _DELETEINSTANCEREQUEST
DESCRIPTOR.message_types_by_name["FailoverInstanceRequest"] = _FAILOVERINSTANCEREQUEST
DESCRIPTOR.message_types_by_name["LocationMetadata"] = _LOCATIONMETADATA
DESCRIPTOR.message_types_by_name["ZoneMetadata"] = _ZONEMETADATA
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Instance = _reflection.GeneratedProtocolMessageType(
    "Instance",
    (_message.Message,),
    dict(
        LabelsEntry=_reflection.GeneratedProtocolMessageType(
            "LabelsEntry",
            (_message.Message,),
            dict(
                DESCRIPTOR=_INSTANCE_LABELSENTRY,
                __module__="google.cloud.redis_v1beta1.proto.cloud_redis_pb2"
                # @@protoc_insertion_point(class_scope:google.cloud.redis.v1beta1.Instance.LabelsEntry)
            ),
        ),
        RedisConfigsEntry=_reflection.GeneratedProtocolMessageType(
            "RedisConfigsEntry",
            (_message.Message,),
            dict(
                DESCRIPTOR=_INSTANCE_REDISCONFIGSENTRY,
                __module__="google.cloud.redis_v1beta1.proto.cloud_redis_pb2"
                # @@protoc_insertion_point(class_scope:google.cloud.redis.v1beta1.Instance.RedisConfigsEntry)
            ),
        ),
        DESCRIPTOR=_INSTANCE,
        __module__="google.cloud.redis_v1beta1.proto.cloud_redis_pb2",
        __doc__="""A Google Cloud Redis instance.
  
  
  Attributes:
      name:
          Required. Unique name of the resource in this scope including
          project and location using the form: ``projects/{project_id}/l
          ocations/{location_id}/instances/{instance_id}``  Note: Redis
          instances are managed and addressed at regional level so
          location\_id here refers to a GCP region; however, users may
          choose which specific zone (or collection of zones for cross-
          zone instances) an instance should be provisioned in. Refer to
          [location\_id] and [alternative\_location\_id] fields for more
          details.
      display_name:
          An arbitrary and optional user-provided name for the instance.
      labels:
          Resource labels to represent user provided metadata
      location_id:
          Optional. The zone where the instance will be provisioned. If
          not provided, the service will choose a zone for the instance.
          For STANDARD\_HA tier, instances will be created across two
          zones for protection against zonal failures. If
          [alternative\_location\_id] is also provided, it must be
          different from [location\_id].
      alternative_location_id:
          Optional. Only applicable to STANDARD\_HA tier which protects
          the instance against zonal failures by provisioning it across
          two zones. If provided, it must be a different zone from the
          one provided in [location\_id].
      redis_version:
          Optional. The version of Redis software. If not provided,
          latest supported version will be used. Updating the version
          will perform an upgrade/downgrade to the new version.
          Currently, the supported values are:  -  ``REDIS_4_0`` for
          Redis 4.0 compatibility -  ``REDIS_3_2`` for Redis 3.2
          compatibility (default)
      reserved_ip_range:
          Optional. The CIDR range of internal addresses that are
          reserved for this instance. If not provided, the service will
          choose an unused /29 block, for example, 10.0.0.0/29 or
          192.168.0.0/29. Ranges must be unique and non-overlapping with
          existing subnets in an authorized network.
      host:
          Output only. Hostname or IP address of the exposed Redis
          endpoint used by clients to connect to the service.
      port:
          Output only. The port number of the exposed Redis endpoint.
      current_location_id:
          Output only. The current zone where the Redis endpoint is
          placed. For Basic Tier instances, this will always be the same
          as the [location\_id] provided by the user at creation time.
          For Standard Tier instances, this can be either [location\_id]
          or [alternative\_location\_id] and can change after a failover
          event.
      create_time:
          Output only. The time the instance was created.
      state:
          Output only. The current state of this instance.
      status_message:
          Output only. Additional information about the current status
          of this instance, if available.
      redis_configs:
          Optional. Redis configuration parameters, according to
          http://redis.io/topics/config. Currently, the only supported
          parameters are:  Redis 3.2 and above:  -  maxmemory-policy -
          notify-keyspace-events  Redis 4.0 and above:  -  activedefrag
          -  lfu-log-factor -  lfu-decay-time
      tier:
          Required. The service tier of the instance.
      memory_size_gb:
          Required. Redis memory size in GiB.
      authorized_network:
          Optional. The full name of the Google Compute Engine `network
          </compute/docs/networks-and-firewalls#networks>`__ to which
          the instance is connected. If left unspecified, the
          ``default`` network will be used.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.redis.v1beta1.Instance)
    ),
)
_sym_db.RegisterMessage(Instance)
_sym_db.RegisterMessage(Instance.LabelsEntry)
_sym_db.RegisterMessage(Instance.RedisConfigsEntry)

ListInstancesRequest = _reflection.GeneratedProtocolMessageType(
    "ListInstancesRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTINSTANCESREQUEST,
        __module__="google.cloud.redis_v1beta1.proto.cloud_redis_pb2",
        __doc__="""Request for
  [ListInstances][google.cloud.redis.v1beta1.CloudRedis.ListInstances].
  
  
  Attributes:
      parent:
          Required. The resource name of the instance location using the
          form: ``projects/{project_id}/locations/{location_id}`` where
          ``location_id`` refers to a GCP region
      page_size:
          The maximum number of items to return.  If not specified, a
          default value of 1000 will be used by the service. Regardless
          of the page\_size value, the response may include a partial
          list and a caller should only rely on response's [next\_page\_
          token][CloudRedis.ListInstancesResponse.next\_page\_token] to
          determine if there are more instances left to be queried.
      page_token:
          The next\_page\_token value returned from a previous List
          request, if any.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.redis.v1beta1.ListInstancesRequest)
    ),
)
_sym_db.RegisterMessage(ListInstancesRequest)

ListInstancesResponse = _reflection.GeneratedProtocolMessageType(
    "ListInstancesResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTINSTANCESRESPONSE,
        __module__="google.cloud.redis_v1beta1.proto.cloud_redis_pb2",
        __doc__="""Response for
  [ListInstances][google.cloud.redis.v1beta1.CloudRedis.ListInstances].
  
  
  Attributes:
      instances:
          A list of Redis instances in the project in the specified
          location, or across all locations.  If the ``location_id`` in
          the parent field of the request is "-", all regions available
          to the project are queried, and the results aggregated. If in
          such an aggregated query a location is unavailable, a dummy
          Redis entry is included in the response with the "name" field
          set to a value of the form
          projects/{project\_id}/locations/{location\_id}/instances/-
          and the "status" field set to ERROR and "status\_message"
          field set to "location not available for ListInstances".
      next_page_token:
          Token to retrieve the next page of results, or empty if there
          are no more results in the list.
      unreachable:
          Locations that could not be reached.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.redis.v1beta1.ListInstancesResponse)
    ),
)
_sym_db.RegisterMessage(ListInstancesResponse)

GetInstanceRequest = _reflection.GeneratedProtocolMessageType(
    "GetInstanceRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GETINSTANCEREQUEST,
        __module__="google.cloud.redis_v1beta1.proto.cloud_redis_pb2",
        __doc__="""Request for
  [GetInstance][google.cloud.redis.v1beta1.CloudRedis.GetInstance].
  
  
  Attributes:
      name:
          Required. Redis instance resource name using the form: ``proje
          cts/{project_id}/locations/{location_id}/instances/{instance_i
          d}`` where ``location_id`` refers to a GCP region
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.redis.v1beta1.GetInstanceRequest)
    ),
)
_sym_db.RegisterMessage(GetInstanceRequest)

CreateInstanceRequest = _reflection.GeneratedProtocolMessageType(
    "CreateInstanceRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_CREATEINSTANCEREQUEST,
        __module__="google.cloud.redis_v1beta1.proto.cloud_redis_pb2",
        __doc__="""Request for
  [CreateInstance][google.cloud.redis.v1beta1.CloudRedis.CreateInstance].
  
  
  Attributes:
      parent:
          Required. The resource name of the instance location using the
          form: ``projects/{project_id}/locations/{location_id}`` where
          ``location_id`` refers to a GCP region
      instance_id:
          Required. The logical name of the Redis instance in the
          customer project with the following restrictions:  -  Must
          contain only lowercase letters, numbers, and hyphens. -  Must
          start with a letter. -  Must be between 1-40 characters. -
          Must end with a number or a letter. -  Must be unique within
          the customer project / location
      instance:
          Required. A Redis [Instance] resource
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.redis.v1beta1.CreateInstanceRequest)
    ),
)
_sym_db.RegisterMessage(CreateInstanceRequest)

UpdateInstanceRequest = _reflection.GeneratedProtocolMessageType(
    "UpdateInstanceRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_UPDATEINSTANCEREQUEST,
        __module__="google.cloud.redis_v1beta1.proto.cloud_redis_pb2",
        __doc__="""Request for
  [UpdateInstance][google.cloud.redis.v1beta1.CloudRedis.UpdateInstance].
  
  
  Attributes:
      update_mask:
          Required. Mask of fields to update. At least one path must be
          supplied in this field. The elements of the repeated paths
          field may only include these fields from
          [Instance][google.cloud.redis.v1beta1.Instance]:  -
          ``displayName`` -  ``labels`` -  ``memorySizeGb`` -
          ``redisConfig``
      instance:
          Required. Update description. Only fields specified in
          update\_mask are updated.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.redis.v1beta1.UpdateInstanceRequest)
    ),
)
_sym_db.RegisterMessage(UpdateInstanceRequest)

DeleteInstanceRequest = _reflection.GeneratedProtocolMessageType(
    "DeleteInstanceRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DELETEINSTANCEREQUEST,
        __module__="google.cloud.redis_v1beta1.proto.cloud_redis_pb2",
        __doc__="""Request for
  [DeleteInstance][google.cloud.redis.v1beta1.CloudRedis.DeleteInstance].
  
  
  Attributes:
      name:
          Required. Redis instance resource name using the form: ``proje
          cts/{project_id}/locations/{location_id}/instances/{instance_i
          d}`` where ``location_id`` refers to a GCP region
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.redis.v1beta1.DeleteInstanceRequest)
    ),
)
_sym_db.RegisterMessage(DeleteInstanceRequest)

FailoverInstanceRequest = _reflection.GeneratedProtocolMessageType(
    "FailoverInstanceRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_FAILOVERINSTANCEREQUEST,
        __module__="google.cloud.redis_v1beta1.proto.cloud_redis_pb2",
        __doc__="""Request for
  [Failover][google.cloud.redis.v1beta1.CloudRedis.FailoverInstance].
  
  
  Attributes:
      name:
          Required. Redis instance resource name using the form: ``proje
          cts/{project_id}/locations/{location_id}/instances/{instance_i
          d}`` where ``location_id`` refers to a GCP region
      data_protection_mode:
          Optional. Available data protection modes that the user can
          choose. If it's unspecified, data protection mode will be
          LIMITED\_DATA\_LOSS by default.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.redis.v1beta1.FailoverInstanceRequest)
    ),
)
_sym_db.RegisterMessage(FailoverInstanceRequest)

LocationMetadata = _reflection.GeneratedProtocolMessageType(
    "LocationMetadata",
    (_message.Message,),
    dict(
        AvailableZonesEntry=_reflection.GeneratedProtocolMessageType(
            "AvailableZonesEntry",
            (_message.Message,),
            dict(
                DESCRIPTOR=_LOCATIONMETADATA_AVAILABLEZONESENTRY,
                __module__="google.cloud.redis_v1beta1.proto.cloud_redis_pb2"
                # @@protoc_insertion_point(class_scope:google.cloud.redis.v1beta1.LocationMetadata.AvailableZonesEntry)
            ),
        ),
        DESCRIPTOR=_LOCATIONMETADATA,
        __module__="google.cloud.redis_v1beta1.proto.cloud_redis_pb2",
        __doc__="""This location metadata represents additional configuration options for a
  given location where a Redis instance may be created. All fields are
  output only. It is returned as content of the
  ``google.cloud.location.Location.metadata`` field.
  
  
  Attributes:
      available_zones:
          Output only. The set of available zones in the location. The
          map is keyed by the lowercase ID of each zone, as defined by
          GCE. These keys can be specified in ``location_id`` or
          ``alternative_location_id`` fields when creating a Redis
          instance.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.redis.v1beta1.LocationMetadata)
    ),
)
_sym_db.RegisterMessage(LocationMetadata)
_sym_db.RegisterMessage(LocationMetadata.AvailableZonesEntry)

ZoneMetadata = _reflection.GeneratedProtocolMessageType(
    "ZoneMetadata",
    (_message.Message,),
    dict(
        DESCRIPTOR=_ZONEMETADATA,
        __module__="google.cloud.redis_v1beta1.proto.cloud_redis_pb2",
        __doc__="""Defines specific information for a particular zone. Currently empty and
  reserved for future use only.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.redis.v1beta1.ZoneMetadata)
    ),
)
_sym_db.RegisterMessage(ZoneMetadata)


DESCRIPTOR._options = None
_INSTANCE_LABELSENTRY._options = None
_INSTANCE_REDISCONFIGSENTRY._options = None
_LOCATIONMETADATA_AVAILABLEZONESENTRY._options = None

_CLOUDREDIS = _descriptor.ServiceDescriptor(
    name="CloudRedis",
    full_name="google.cloud.redis.v1beta1.CloudRedis",
    file=DESCRIPTOR,
    index=0,
    serialized_options=None,
    serialized_start=2153,
    serialized_end=3195,
    methods=[
        _descriptor.MethodDescriptor(
            name="ListInstances",
            full_name="google.cloud.redis.v1beta1.CloudRedis.ListInstances",
            index=0,
            containing_service=None,
            input_type=_LISTINSTANCESREQUEST,
            output_type=_LISTINSTANCESRESPONSE,
            serialized_options=_b(
                "\202\323\344\223\0024\0222/v1beta1/{parent=projects/*/locations/*}/instances"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="GetInstance",
            full_name="google.cloud.redis.v1beta1.CloudRedis.GetInstance",
            index=1,
            containing_service=None,
            input_type=_GETINSTANCEREQUEST,
            output_type=_INSTANCE,
            serialized_options=_b(
                "\202\323\344\223\0024\0222/v1beta1/{name=projects/*/locations/*/instances/*}"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="CreateInstance",
            full_name="google.cloud.redis.v1beta1.CloudRedis.CreateInstance",
            index=2,
            containing_service=None,
            input_type=_CREATEINSTANCEREQUEST,
            output_type=google_dot_longrunning_dot_operations__pb2._OPERATION,
            serialized_options=_b(
                '\202\323\344\223\002>"2/v1beta1/{parent=projects/*/locations/*}/instances:\010instance'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="UpdateInstance",
            full_name="google.cloud.redis.v1beta1.CloudRedis.UpdateInstance",
            index=3,
            containing_service=None,
            input_type=_UPDATEINSTANCEREQUEST,
            output_type=google_dot_longrunning_dot_operations__pb2._OPERATION,
            serialized_options=_b(
                "\202\323\344\223\002G2;/v1beta1/{instance.name=projects/*/locations/*/instances/*}:\010instance"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="FailoverInstance",
            full_name="google.cloud.redis.v1beta1.CloudRedis.FailoverInstance",
            index=4,
            containing_service=None,
            input_type=_FAILOVERINSTANCEREQUEST,
            output_type=google_dot_longrunning_dot_operations__pb2._OPERATION,
            serialized_options=_b(
                '\202\323\344\223\002@";/v1beta1/{name=projects/*/locations/*/instances/*}:failover:\001*'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="DeleteInstance",
            full_name="google.cloud.redis.v1beta1.CloudRedis.DeleteInstance",
            index=5,
            containing_service=None,
            input_type=_DELETEINSTANCEREQUEST,
            output_type=google_dot_longrunning_dot_operations__pb2._OPERATION,
            serialized_options=_b(
                "\202\323\344\223\0024*2/v1beta1/{name=projects/*/locations/*/instances/*}"
            ),
        ),
    ],
)
_sym_db.RegisterServiceDescriptor(_CLOUDREDIS)

DESCRIPTOR.services_by_name["CloudRedis"] = _CLOUDREDIS

# @@protoc_insertion_point(module_scope)
