# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/redis_v1/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 client_pb2 as google_dot_api_dot_client__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__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_v1/proto/cloud_redis.proto",
    package="google.cloud.redis.v1",
    syntax="proto3",
    serialized_options=_b(
        "\n\031com.google.cloud.redis.v1B\030CloudRedisServiceV1ProtoP\001Z:google.golang.org/genproto/googleapis/cloud/redis/v1;redis"
    ),
    serialized_pb=_b(
        '\n-google/cloud/redis_v1/proto/cloud_redis.proto\x12\x15google.cloud.redis.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xc6\x08\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12;\n\x06labels\x18\x03 \x03(\x0b\x32+.google.cloud.redis.v1.Instance.LabelsEntry\x12\x18\n\x0blocation_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12$\n\x17\x61lternative_location_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rredis_version\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11reserved_ip_range\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04host\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04port\x18\x0b \x01(\x05\x42\x03\xe0\x41\x03\x12 \n\x13\x63urrent_location_id\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x39\n\x05state\x18\x0e \x01(\x0e\x32%.google.cloud.redis.v1.Instance.StateB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12M\n\rredis_configs\x18\x10 \x03(\x0b\x32\x31.google.cloud.redis.v1.Instance.RedisConfigsEntryB\x03\xe0\x41\x01\x12\x37\n\x04tier\x18\x11 \x01(\x0e\x32$.google.cloud.redis.v1.Instance.TierB\x03\xe0\x41\x02\x12\x1b\n\x0ememory_size_gb\x18\x12 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1f\n\x12\x61uthorized_network\x18\x14 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18persistence_iam_identity\x18\x15 \x01(\tB\x03\xe0\x41\x03\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\t"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:`\xea\x41]\n\x1dredis.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}"x\n\x14ListInstancesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t"y\n\x15ListInstancesResponse\x12\x32\n\tinstances\x18\x01 \x03(\x0b\x32\x1f.google.cloud.redis.v1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t"I\n\x12GetInstanceRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dredis.googleapis.com/Instance"\xa4\x01\n\x15\x43reateInstanceRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\x08instance\x18\x03 \x01(\x0b\x32\x1f.google.cloud.redis.v1.InstanceB\x03\xe0\x41\x02"\x85\x01\n\x15UpdateInstanceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x36\n\x08instance\x18\x02 \x01(\x0b\x32\x1f.google.cloud.redis.v1.InstanceB\x03\xe0\x41\x02"L\n\x15\x44\x65leteInstanceRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dredis.googleapis.com/Instance"\x1d\n\tGcsSource\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02"O\n\x0bInputConfig\x12\x36\n\ngcs_source\x18\x01 \x01(\x0b\x32 .google.cloud.redis.v1.GcsSourceH\x00\x42\x08\n\x06source"i\n\x15ImportInstanceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12=\n\x0cinput_config\x18\x03 \x01(\x0b\x32".google.cloud.redis.v1.InputConfigB\x03\xe0\x41\x02""\n\x0eGcsDestination\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02"_\n\x0cOutputConfig\x12@\n\x0fgcs_destination\x18\x01 \x01(\x0b\x32%.google.cloud.redis.v1.GcsDestinationH\x00\x42\r\n\x0b\x64\x65stination"k\n\x15\x45xportInstanceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12?\n\routput_config\x18\x03 \x01(\x0b\x32#.google.cloud.redis.v1.OutputConfigB\x03\xe0\x41\x02"\x9c\x02\n\x17\x46\x61iloverInstanceRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dredis.googleapis.com/Instance\x12\x64\n\x14\x64\x61ta_protection_mode\x18\x02 \x01(\x0e\x32\x41.google.cloud.redis.v1.FailoverInstanceRequest.DataProtectionModeB\x03\xe0\x41\x01"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"\xd6\x01\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x0c\n\x04verb\x18\x04 \x01(\t\x12\x15\n\rstatus_detail\x18\x05 \x01(\t\x12\x18\n\x10\x63\x61ncel_requested\x18\x06 \x01(\x08\x12\x13\n\x0b\x61pi_version\x18\x07 \x01(\t"\xc9\x01\n\x10LocationMetadata\x12Y\n\x0f\x61vailable_zones\x18\x01 \x03(\x0b\x32;.google.cloud.redis.v1.LocationMetadata.AvailableZonesEntryB\x03\xe0\x41\x03\x1aZ\n\x13\x41vailableZonesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.google.cloud.redis.v1.ZoneMetadata:\x02\x38\x01"\x0e\n\x0cZoneMetadata2\xad\x0f\n\nCloudRedis\x12\xaa\x01\n\rListInstances\x12+.google.cloud.redis.v1.ListInstancesRequest\x1a,.google.cloud.redis.v1.ListInstancesResponse">\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/instances\xda\x41\x06parent\x12\x97\x01\n\x0bGetInstance\x12).google.cloud.redis.v1.GetInstanceRequest\x1a\x1f.google.cloud.redis.v1.Instance"<\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\xda\x41\x04name\x12\x89\x02\n\x0e\x43reateInstance\x12,.google.cloud.redis.v1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation"\xa9\x01\x82\xd3\xe4\x93\x02\x39"-/v1/{parent=projects/*/locations/*}/instances:\x08instance\xda\x41\x1bparent,instance_id,instance\xca\x41I\n\x1egoogle.cloud.redis.v1.Instance\x12\'google.cloud.redis.v1.OperationMetadata\x12\x8b\x02\n\x0eUpdateInstance\x12,.google.cloud.redis.v1.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation"\xab\x01\x82\xd3\xe4\x93\x02\x42\x32\x36/v1/{instance.name=projects/*/locations/*/instances/*}:\x08instance\xda\x41\x14update_mask,instance\xca\x41I\n\x1egoogle.cloud.redis.v1.Instance\x12\'google.cloud.redis.v1.OperationMetadata\x12\xff\x01\n\x0eImportInstance\x12,.google.cloud.redis.v1.ImportInstanceRequest\x1a\x1d.google.longrunning.Operation"\x9f\x01\x82\xd3\xe4\x93\x02\x39"4/v1/{name=projects/*/locations/*/instances/*}:import:\x01*\xda\x41\x11name,input_config\xca\x41I\n\x1egoogle.cloud.redis.v1.Instance\x12\'google.cloud.redis.v1.OperationMetadata\x12\x80\x02\n\x0e\x45xportInstance\x12,.google.cloud.redis.v1.ExportInstanceRequest\x1a\x1d.google.longrunning.Operation"\xa0\x01\x82\xd3\xe4\x93\x02\x39"4/v1/{name=projects/*/locations/*/instances/*}:export:\x01*\xda\x41\x12name,output_config\xca\x41I\n\x1egoogle.cloud.redis.v1.Instance\x12\'google.cloud.redis.v1.OperationMetadata\x12\x8d\x02\n\x10\x46\x61iloverInstance\x12..google.cloud.redis.v1.FailoverInstanceRequest\x1a\x1d.google.longrunning.Operation"\xa9\x01\x82\xd3\xe4\x93\x02;"6/v1/{name=projects/*/locations/*/instances/*}:failover:\x01*\xda\x41\x19name,data_protection_mode\xca\x41I\n\x1egoogle.cloud.redis.v1.Instance\x12\'google.cloud.redis.v1.OperationMetadata\x12\xde\x01\n\x0e\x44\x65leteInstance\x12,.google.cloud.redis.v1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation"\x7f\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/instances/*}\xda\x41\x04name\xca\x41@\n\x15google.protobuf.Empty\x12\'google.cloud.redis.v1.OperationMetadata\x1aH\xca\x41\x14redis.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBs\n\x19\x63om.google.cloud.redis.v1B\x18\x43loudRedisServiceV1ProtoP\x01Z:google.golang.org/genproto/googleapis/cloud/redis/v1;redisb\x06proto3'
    ),
    dependencies=[
        google_dot_api_dot_annotations__pb2.DESCRIPTOR,
        google_dot_api_dot_client__pb2.DESCRIPTOR,
        google_dot_api_dot_field__behavior__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.v1.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=9, serialized_options=None, type=None
        ),
    ],
    containing_type=None,
    serialized_options=None,
    serialized_start=1082,
    serialized_end=1230,
)
_sym_db.RegisterEnumDescriptor(_INSTANCE_STATE)

_INSTANCE_TIER = _descriptor.EnumDescriptor(
    name="Tier",
    full_name="google.cloud.redis.v1.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=1232,
    serialized_end=1288,
)
_sym_db.RegisterEnumDescriptor(_INSTANCE_TIER)

_FAILOVERINSTANCEREQUEST_DATAPROTECTIONMODE = _descriptor.EnumDescriptor(
    name="DataProtectionMode",
    full_name="google.cloud.redis.v1.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=2733,
    serialized_end=2835,
)
_sym_db.RegisterEnumDescriptor(_FAILOVERINSTANCEREQUEST_DATAPROTECTIONMODE)


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

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

_INSTANCE = _descriptor.Descriptor(
    name="Instance",
    full_name="google.cloud.redis.v1.Instance",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.redis.v1.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=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="display_name",
            full_name="google.cloud.redis.v1.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.v1.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.v1.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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="alternative_location_id",
            full_name="google.cloud.redis.v1.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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="redis_version",
            full_name="google.cloud.redis.v1.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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="reserved_ip_range",
            full_name="google.cloud.redis.v1.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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="host",
            full_name="google.cloud.redis.v1.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=_b("\340A\003"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="port",
            full_name="google.cloud.redis.v1.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=_b("\340A\003"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="current_location_id",
            full_name="google.cloud.redis.v1.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=_b("\340A\003"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="create_time",
            full_name="google.cloud.redis.v1.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=_b("\340A\003"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="state",
            full_name="google.cloud.redis.v1.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=_b("\340A\003"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="status_message",
            full_name="google.cloud.redis.v1.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=_b("\340A\003"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="redis_configs",
            full_name="google.cloud.redis.v1.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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="tier",
            full_name="google.cloud.redis.v1.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=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="memory_size_gb",
            full_name="google.cloud.redis.v1.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=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="authorized_network",
            full_name="google.cloud.redis.v1.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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="persistence_iam_identity",
            full_name="google.cloud.redis.v1.Instance.persistence_iam_identity",
            index=17,
            number=21,
            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=_b("\340A\003"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[_INSTANCE_LABELSENTRY, _INSTANCE_REDISCONFIGSENTRY],
    enum_types=[_INSTANCE_STATE, _INSTANCE_TIER],
    serialized_options=_b(
        "\352A]\n\035redis.googleapis.com/Instance\022<projects/{project}/locations/{location}/instances/{instance}"
    ),
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=292,
    serialized_end=1386,
)


_LISTINSTANCESREQUEST = _descriptor.Descriptor(
    name="ListInstancesRequest",
    full_name="google.cloud.redis.v1.ListInstancesRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.redis.v1.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=_b(
                "\340A\002\372A#\n!locations.googleapis.com/Location"
            ),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_size",
            full_name="google.cloud.redis.v1.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.v1.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=1388,
    serialized_end=1508,
)


_LISTINSTANCESRESPONSE = _descriptor.Descriptor(
    name="ListInstancesResponse",
    full_name="google.cloud.redis.v1.ListInstancesResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="instances",
            full_name="google.cloud.redis.v1.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.v1.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.v1.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=1510,
    serialized_end=1631,
)


_GETINSTANCEREQUEST = _descriptor.Descriptor(
    name="GetInstanceRequest",
    full_name="google.cloud.redis.v1.GetInstanceRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.redis.v1.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=_b(
                "\340A\002\372A\037\n\035redis.googleapis.com/Instance"
            ),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1633,
    serialized_end=1706,
)


_CREATEINSTANCEREQUEST = _descriptor.Descriptor(
    name="CreateInstanceRequest",
    full_name="google.cloud.redis.v1.CreateInstanceRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.redis.v1.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=_b(
                "\340A\002\372A#\n!locations.googleapis.com/Location"
            ),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="instance_id",
            full_name="google.cloud.redis.v1.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=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="instance",
            full_name="google.cloud.redis.v1.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=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1709,
    serialized_end=1873,
)


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


_DELETEINSTANCEREQUEST = _descriptor.Descriptor(
    name="DeleteInstanceRequest",
    full_name="google.cloud.redis.v1.DeleteInstanceRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.redis.v1.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=_b(
                "\340A\002\372A\037\n\035redis.googleapis.com/Instance"
            ),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2011,
    serialized_end=2087,
)


_GCSSOURCE = _descriptor.Descriptor(
    name="GcsSource",
    full_name="google.cloud.redis.v1.GcsSource",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="uri",
            full_name="google.cloud.redis.v1.GcsSource.uri",
            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=_b("\340A\002"),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2089,
    serialized_end=2118,
)


_INPUTCONFIG = _descriptor.Descriptor(
    name="InputConfig",
    full_name="google.cloud.redis.v1.InputConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="gcs_source",
            full_name="google.cloud.redis.v1.InputConfig.gcs_source",
            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,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[
        _descriptor.OneofDescriptor(
            name="source",
            full_name="google.cloud.redis.v1.InputConfig.source",
            index=0,
            containing_type=None,
            fields=[],
        )
    ],
    serialized_start=2120,
    serialized_end=2199,
)


_IMPORTINSTANCEREQUEST = _descriptor.Descriptor(
    name="ImportInstanceRequest",
    full_name="google.cloud.redis.v1.ImportInstanceRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.redis.v1.ImportInstanceRequest.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=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="input_config",
            full_name="google.cloud.redis.v1.ImportInstanceRequest.input_config",
            index=1,
            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=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2201,
    serialized_end=2306,
)


_GCSDESTINATION = _descriptor.Descriptor(
    name="GcsDestination",
    full_name="google.cloud.redis.v1.GcsDestination",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="uri",
            full_name="google.cloud.redis.v1.GcsDestination.uri",
            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=_b("\340A\002"),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2308,
    serialized_end=2342,
)


_OUTPUTCONFIG = _descriptor.Descriptor(
    name="OutputConfig",
    full_name="google.cloud.redis.v1.OutputConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="gcs_destination",
            full_name="google.cloud.redis.v1.OutputConfig.gcs_destination",
            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,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[
        _descriptor.OneofDescriptor(
            name="destination",
            full_name="google.cloud.redis.v1.OutputConfig.destination",
            index=0,
            containing_type=None,
            fields=[],
        )
    ],
    serialized_start=2344,
    serialized_end=2439,
)


_EXPORTINSTANCEREQUEST = _descriptor.Descriptor(
    name="ExportInstanceRequest",
    full_name="google.cloud.redis.v1.ExportInstanceRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.redis.v1.ExportInstanceRequest.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=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="output_config",
            full_name="google.cloud.redis.v1.ExportInstanceRequest.output_config",
            index=1,
            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=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2441,
    serialized_end=2548,
)


_FAILOVERINSTANCEREQUEST = _descriptor.Descriptor(
    name="FailoverInstanceRequest",
    full_name="google.cloud.redis.v1.FailoverInstanceRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.redis.v1.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=_b(
                "\340A\002\372A\037\n\035redis.googleapis.com/Instance"
            ),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="data_protection_mode",
            full_name="google.cloud.redis.v1.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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[_FAILOVERINSTANCEREQUEST_DATAPROTECTIONMODE],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2551,
    serialized_end=2835,
)


_OPERATIONMETADATA = _descriptor.Descriptor(
    name="OperationMetadata",
    full_name="google.cloud.redis.v1.OperationMetadata",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="create_time",
            full_name="google.cloud.redis.v1.OperationMetadata.create_time",
            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="end_time",
            full_name="google.cloud.redis.v1.OperationMetadata.end_time",
            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,
        ),
        _descriptor.FieldDescriptor(
            name="target",
            full_name="google.cloud.redis.v1.OperationMetadata.target",
            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,
        ),
        _descriptor.FieldDescriptor(
            name="verb",
            full_name="google.cloud.redis.v1.OperationMetadata.verb",
            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="status_detail",
            full_name="google.cloud.redis.v1.OperationMetadata.status_detail",
            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="cancel_requested",
            full_name="google.cloud.redis.v1.OperationMetadata.cancel_requested",
            index=5,
            number=6,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="api_version",
            full_name="google.cloud.redis.v1.OperationMetadata.api_version",
            index=6,
            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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2838,
    serialized_end=3052,
)


_LOCATIONMETADATA_AVAILABLEZONESENTRY = _descriptor.Descriptor(
    name="AvailableZonesEntry",
    full_name="google.cloud.redis.v1.LocationMetadata.AvailableZonesEntry",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="key",
            full_name="google.cloud.redis.v1.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.v1.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=3166,
    serialized_end=3256,
)

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


_ZONEMETADATA = _descriptor.Descriptor(
    name="ZoneMetadata",
    full_name="google.cloud.redis.v1.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=3258,
    serialized_end=3272,
)

_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
_INPUTCONFIG.fields_by_name["gcs_source"].message_type = _GCSSOURCE
_INPUTCONFIG.oneofs_by_name["source"].fields.append(
    _INPUTCONFIG.fields_by_name["gcs_source"]
)
_INPUTCONFIG.fields_by_name[
    "gcs_source"
].containing_oneof = _INPUTCONFIG.oneofs_by_name["source"]
_IMPORTINSTANCEREQUEST.fields_by_name["input_config"].message_type = _INPUTCONFIG
_OUTPUTCONFIG.fields_by_name["gcs_destination"].message_type = _GCSDESTINATION
_OUTPUTCONFIG.oneofs_by_name["destination"].fields.append(
    _OUTPUTCONFIG.fields_by_name["gcs_destination"]
)
_OUTPUTCONFIG.fields_by_name[
    "gcs_destination"
].containing_oneof = _OUTPUTCONFIG.oneofs_by_name["destination"]
_EXPORTINSTANCEREQUEST.fields_by_name["output_config"].message_type = _OUTPUTCONFIG
_FAILOVERINSTANCEREQUEST.fields_by_name[
    "data_protection_mode"
].enum_type = _FAILOVERINSTANCEREQUEST_DATAPROTECTIONMODE
_FAILOVERINSTANCEREQUEST_DATAPROTECTIONMODE.containing_type = _FAILOVERINSTANCEREQUEST
_OPERATIONMETADATA.fields_by_name[
    "create_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_OPERATIONMETADATA.fields_by_name[
    "end_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_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["GcsSource"] = _GCSSOURCE
DESCRIPTOR.message_types_by_name["InputConfig"] = _INPUTCONFIG
DESCRIPTOR.message_types_by_name["ImportInstanceRequest"] = _IMPORTINSTANCEREQUEST
DESCRIPTOR.message_types_by_name["GcsDestination"] = _GCSDESTINATION
DESCRIPTOR.message_types_by_name["OutputConfig"] = _OUTPUTCONFIG
DESCRIPTOR.message_types_by_name["ExportInstanceRequest"] = _EXPORTINSTANCEREQUEST
DESCRIPTOR.message_types_by_name["FailoverInstanceRequest"] = _FAILOVERINSTANCEREQUEST
DESCRIPTOR.message_types_by_name["OperationMetadata"] = _OPERATIONMETADATA
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_v1.proto.cloud_redis_pb2"
                # @@protoc_insertion_point(class_scope:google.cloud.redis.v1.Instance.LabelsEntry)
            ),
        ),
        RedisConfigsEntry=_reflection.GeneratedProtocolMessageType(
            "RedisConfigsEntry",
            (_message.Message,),
            dict(
                DESCRIPTOR=_INSTANCE_REDISCONFIGSENTRY,
                __module__="google.cloud.redis_v1.proto.cloud_redis_pb2"
                # @@protoc_insertion_point(class_scope:google.cloud.redis.v1.Instance.RedisConfigsEntry)
            ),
        ),
        DESCRIPTOR=_INSTANCE,
        __module__="google.cloud.redis_v1.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 (default) -  ``REDIS_3_2`` for Redis
          3.2 compatibility
      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.
      persistence_iam_identity:
          Output only. Cloud IAM identity used by import / export
          operations to transfer data to/from Cloud Storage. Format is
          "serviceAccount:". The value may change over time for a given
          instance so should be checked before each import/export
          operation.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.redis.v1.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_v1.proto.cloud_redis_pb2",
        __doc__="""Request for
  [ListInstances][google.cloud.redis.v1.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.v1.ListInstancesRequest)
    ),
)
_sym_db.RegisterMessage(ListInstancesRequest)

ListInstancesResponse = _reflection.GeneratedProtocolMessageType(
    "ListInstancesResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTINSTANCESRESPONSE,
        __module__="google.cloud.redis_v1.proto.cloud_redis_pb2",
        __doc__="""Response for
  [ListInstances][google.cloud.redis.v1.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.v1.ListInstancesResponse)
    ),
)
_sym_db.RegisterMessage(ListInstancesResponse)

GetInstanceRequest = _reflection.GeneratedProtocolMessageType(
    "GetInstanceRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GETINSTANCEREQUEST,
        __module__="google.cloud.redis_v1.proto.cloud_redis_pb2",
        __doc__="""Request for [GetInstance][google.cloud.redis.v1.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.v1.GetInstanceRequest)
    ),
)
_sym_db.RegisterMessage(GetInstanceRequest)

CreateInstanceRequest = _reflection.GeneratedProtocolMessageType(
    "CreateInstanceRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_CREATEINSTANCEREQUEST,
        __module__="google.cloud.redis_v1.proto.cloud_redis_pb2",
        __doc__="""Request for
  [CreateInstance][google.cloud.redis.v1.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.v1.CreateInstanceRequest)
    ),
)
_sym_db.RegisterMessage(CreateInstanceRequest)

UpdateInstanceRequest = _reflection.GeneratedProtocolMessageType(
    "UpdateInstanceRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_UPDATEINSTANCEREQUEST,
        __module__="google.cloud.redis_v1.proto.cloud_redis_pb2",
        __doc__="""Request for
  [UpdateInstance][google.cloud.redis.v1.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][CloudRedis.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.v1.UpdateInstanceRequest)
    ),
)
_sym_db.RegisterMessage(UpdateInstanceRequest)

DeleteInstanceRequest = _reflection.GeneratedProtocolMessageType(
    "DeleteInstanceRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DELETEINSTANCEREQUEST,
        __module__="google.cloud.redis_v1.proto.cloud_redis_pb2",
        __doc__="""Request for
  [DeleteInstance][google.cloud.redis.v1.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.v1.DeleteInstanceRequest)
    ),
)
_sym_db.RegisterMessage(DeleteInstanceRequest)

GcsSource = _reflection.GeneratedProtocolMessageType(
    "GcsSource",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GCSSOURCE,
        __module__="google.cloud.redis_v1.proto.cloud_redis_pb2",
        __doc__="""The Cloud Storage location for the input content
  
  
  Attributes:
      uri:
          Required. Source data URI. (e.g.
          'gs://my\_bucket/my\_object').
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.redis.v1.GcsSource)
    ),
)
_sym_db.RegisterMessage(GcsSource)

InputConfig = _reflection.GeneratedProtocolMessageType(
    "InputConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_INPUTCONFIG,
        __module__="google.cloud.redis_v1.proto.cloud_redis_pb2",
        __doc__="""The input content
  
  
  Attributes:
      source:
          Required. Specify source location of input data
      gcs_source:
          Google Cloud Storage location where input content is located.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.redis.v1.InputConfig)
    ),
)
_sym_db.RegisterMessage(InputConfig)

ImportInstanceRequest = _reflection.GeneratedProtocolMessageType(
    "ImportInstanceRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_IMPORTINSTANCEREQUEST,
        __module__="google.cloud.redis_v1.proto.cloud_redis_pb2",
        __doc__="""Request for [Import][google.cloud.redis.v1.CloudRedis.ImportInstance].
  
  
  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.
      input_config:
          Required. Specify data to be imported.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.redis.v1.ImportInstanceRequest)
    ),
)
_sym_db.RegisterMessage(ImportInstanceRequest)

GcsDestination = _reflection.GeneratedProtocolMessageType(
    "GcsDestination",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GCSDESTINATION,
        __module__="google.cloud.redis_v1.proto.cloud_redis_pb2",
        __doc__="""The Cloud Storage location for the output content
  
  
  Attributes:
      uri:
          Required. Data destination URI (e.g.
          'gs://my\_bucket/my\_object'). Existing files will be
          overwritten.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.redis.v1.GcsDestination)
    ),
)
_sym_db.RegisterMessage(GcsDestination)

OutputConfig = _reflection.GeneratedProtocolMessageType(
    "OutputConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_OUTPUTCONFIG,
        __module__="google.cloud.redis_v1.proto.cloud_redis_pb2",
        __doc__="""The output content
  
  
  Attributes:
      destination:
          Required. Specify destination location of output data
      gcs_destination:
          Google Cloud Storage destination for output content.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.redis.v1.OutputConfig)
    ),
)
_sym_db.RegisterMessage(OutputConfig)

ExportInstanceRequest = _reflection.GeneratedProtocolMessageType(
    "ExportInstanceRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_EXPORTINSTANCEREQUEST,
        __module__="google.cloud.redis_v1.proto.cloud_redis_pb2",
        __doc__="""Request for [Export][google.cloud.redis.v1.CloudRedis.ExportInstance].
  
  
  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.
      output_config:
          Required. Specify data to be exported.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.redis.v1.ExportInstanceRequest)
    ),
)
_sym_db.RegisterMessage(ExportInstanceRequest)

FailoverInstanceRequest = _reflection.GeneratedProtocolMessageType(
    "FailoverInstanceRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_FAILOVERINSTANCEREQUEST,
        __module__="google.cloud.redis_v1.proto.cloud_redis_pb2",
        __doc__="""Request for
  [Failover][google.cloud.redis.v1.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.v1.FailoverInstanceRequest)
    ),
)
_sym_db.RegisterMessage(FailoverInstanceRequest)

OperationMetadata = _reflection.GeneratedProtocolMessageType(
    "OperationMetadata",
    (_message.Message,),
    dict(
        DESCRIPTOR=_OPERATIONMETADATA,
        __module__="google.cloud.redis_v1.proto.cloud_redis_pb2",
        __doc__="""Represents the v1 metadata of the long-running operation.
  
  
  Attributes:
      create_time:
          Creation timestamp.
      end_time:
          End timestamp.
      target:
          Operation target.
      verb:
          Operation verb.
      status_detail:
          Operation status details.
      cancel_requested:
          Specifies if cancellation was requested for the operation.
      api_version:
          API version.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.redis.v1.OperationMetadata)
    ),
)
_sym_db.RegisterMessage(OperationMetadata)

LocationMetadata = _reflection.GeneratedProtocolMessageType(
    "LocationMetadata",
    (_message.Message,),
    dict(
        AvailableZonesEntry=_reflection.GeneratedProtocolMessageType(
            "AvailableZonesEntry",
            (_message.Message,),
            dict(
                DESCRIPTOR=_LOCATIONMETADATA_AVAILABLEZONESENTRY,
                __module__="google.cloud.redis_v1.proto.cloud_redis_pb2"
                # @@protoc_insertion_point(class_scope:google.cloud.redis.v1.LocationMetadata.AvailableZonesEntry)
            ),
        ),
        DESCRIPTOR=_LOCATIONMETADATA,
        __module__="google.cloud.redis_v1.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.v1.LocationMetadata)
    ),
)
_sym_db.RegisterMessage(LocationMetadata)
_sym_db.RegisterMessage(LocationMetadata.AvailableZonesEntry)

ZoneMetadata = _reflection.GeneratedProtocolMessageType(
    "ZoneMetadata",
    (_message.Message,),
    dict(
        DESCRIPTOR=_ZONEMETADATA,
        __module__="google.cloud.redis_v1.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.v1.ZoneMetadata)
    ),
)
_sym_db.RegisterMessage(ZoneMetadata)


DESCRIPTOR._options = None
_INSTANCE_LABELSENTRY._options = None
_INSTANCE_REDISCONFIGSENTRY._options = None
_INSTANCE.fields_by_name["name"]._options = None
_INSTANCE.fields_by_name["location_id"]._options = None
_INSTANCE.fields_by_name["alternative_location_id"]._options = None
_INSTANCE.fields_by_name["redis_version"]._options = None
_INSTANCE.fields_by_name["reserved_ip_range"]._options = None
_INSTANCE.fields_by_name["host"]._options = None
_INSTANCE.fields_by_name["port"]._options = None
_INSTANCE.fields_by_name["current_location_id"]._options = None
_INSTANCE.fields_by_name["create_time"]._options = None
_INSTANCE.fields_by_name["state"]._options = None
_INSTANCE.fields_by_name["status_message"]._options = None
_INSTANCE.fields_by_name["redis_configs"]._options = None
_INSTANCE.fields_by_name["tier"]._options = None
_INSTANCE.fields_by_name["memory_size_gb"]._options = None
_INSTANCE.fields_by_name["authorized_network"]._options = None
_INSTANCE.fields_by_name["persistence_iam_identity"]._options = None
_INSTANCE._options = None
_LISTINSTANCESREQUEST.fields_by_name["parent"]._options = None
_GETINSTANCEREQUEST.fields_by_name["name"]._options = None
_CREATEINSTANCEREQUEST.fields_by_name["parent"]._options = None
_CREATEINSTANCEREQUEST.fields_by_name["instance_id"]._options = None
_CREATEINSTANCEREQUEST.fields_by_name["instance"]._options = None
_UPDATEINSTANCEREQUEST.fields_by_name["update_mask"]._options = None
_UPDATEINSTANCEREQUEST.fields_by_name["instance"]._options = None
_DELETEINSTANCEREQUEST.fields_by_name["name"]._options = None
_GCSSOURCE.fields_by_name["uri"]._options = None
_IMPORTINSTANCEREQUEST.fields_by_name["name"]._options = None
_IMPORTINSTANCEREQUEST.fields_by_name["input_config"]._options = None
_GCSDESTINATION.fields_by_name["uri"]._options = None
_EXPORTINSTANCEREQUEST.fields_by_name["name"]._options = None
_EXPORTINSTANCEREQUEST.fields_by_name["output_config"]._options = None
_FAILOVERINSTANCEREQUEST.fields_by_name["name"]._options = None
_FAILOVERINSTANCEREQUEST.fields_by_name["data_protection_mode"]._options = None
_LOCATIONMETADATA_AVAILABLEZONESENTRY._options = None
_LOCATIONMETADATA.fields_by_name["available_zones"]._options = None

_CLOUDREDIS = _descriptor.ServiceDescriptor(
    name="CloudRedis",
    full_name="google.cloud.redis.v1.CloudRedis",
    file=DESCRIPTOR,
    index=0,
    serialized_options=_b(
        "\312A\024redis.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform"
    ),
    serialized_start=3275,
    serialized_end=5240,
    methods=[
        _descriptor.MethodDescriptor(
            name="ListInstances",
            full_name="google.cloud.redis.v1.CloudRedis.ListInstances",
            index=0,
            containing_service=None,
            input_type=_LISTINSTANCESREQUEST,
            output_type=_LISTINSTANCESRESPONSE,
            serialized_options=_b(
                "\202\323\344\223\002/\022-/v1/{parent=projects/*/locations/*}/instances\332A\006parent"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="GetInstance",
            full_name="google.cloud.redis.v1.CloudRedis.GetInstance",
            index=1,
            containing_service=None,
            input_type=_GETINSTANCEREQUEST,
            output_type=_INSTANCE,
            serialized_options=_b(
                "\202\323\344\223\002/\022-/v1/{name=projects/*/locations/*/instances/*}\332A\004name"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="CreateInstance",
            full_name="google.cloud.redis.v1.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\0029\"-/v1/{parent=projects/*/locations/*}/instances:\010instance\332A\033parent,instance_id,instance\312AI\n\036google.cloud.redis.v1.Instance\022'google.cloud.redis.v1.OperationMetadata"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="UpdateInstance",
            full_name="google.cloud.redis.v1.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\002B26/v1/{instance.name=projects/*/locations/*/instances/*}:\010instance\332A\024update_mask,instance\312AI\n\036google.cloud.redis.v1.Instance\022'google.cloud.redis.v1.OperationMetadata"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="ImportInstance",
            full_name="google.cloud.redis.v1.CloudRedis.ImportInstance",
            index=4,
            containing_service=None,
            input_type=_IMPORTINSTANCEREQUEST,
            output_type=google_dot_longrunning_dot_operations__pb2._OPERATION,
            serialized_options=_b(
                "\202\323\344\223\0029\"4/v1/{name=projects/*/locations/*/instances/*}:import:\001*\332A\021name,input_config\312AI\n\036google.cloud.redis.v1.Instance\022'google.cloud.redis.v1.OperationMetadata"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="ExportInstance",
            full_name="google.cloud.redis.v1.CloudRedis.ExportInstance",
            index=5,
            containing_service=None,
            input_type=_EXPORTINSTANCEREQUEST,
            output_type=google_dot_longrunning_dot_operations__pb2._OPERATION,
            serialized_options=_b(
                "\202\323\344\223\0029\"4/v1/{name=projects/*/locations/*/instances/*}:export:\001*\332A\022name,output_config\312AI\n\036google.cloud.redis.v1.Instance\022'google.cloud.redis.v1.OperationMetadata"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="FailoverInstance",
            full_name="google.cloud.redis.v1.CloudRedis.FailoverInstance",
            index=6,
            containing_service=None,
            input_type=_FAILOVERINSTANCEREQUEST,
            output_type=google_dot_longrunning_dot_operations__pb2._OPERATION,
            serialized_options=_b(
                "\202\323\344\223\002;\"6/v1/{name=projects/*/locations/*/instances/*}:failover:\001*\332A\031name,data_protection_mode\312AI\n\036google.cloud.redis.v1.Instance\022'google.cloud.redis.v1.OperationMetadata"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="DeleteInstance",
            full_name="google.cloud.redis.v1.CloudRedis.DeleteInstance",
            index=7,
            containing_service=None,
            input_type=_DELETEINSTANCEREQUEST,
            output_type=google_dot_longrunning_dot_operations__pb2._OPERATION,
            serialized_options=_b(
                "\202\323\344\223\002/*-/v1/{name=projects/*/locations/*/instances/*}\332A\004name\312A@\n\025google.protobuf.Empty\022'google.cloud.redis.v1.OperationMetadata"
            ),
        ),
    ],
)
_sym_db.RegisterServiceDescriptor(_CLOUDREDIS)

DESCRIPTOR.services_by_name["CloudRedis"] = _CLOUDREDIS

# @@protoc_insertion_point(module_scope)
