public static enum Instance.ConnectMode extends Enum<Instance.ConnectMode> implements com.google.protobuf.ProtocolMessageEnum
Available connection modes.Protobuf enum
google.cloud.redis.v1.Instance.ConnectMode| Enum Constant and Description |
|---|
CONNECT_MODE_UNSPECIFIED
Not set.
|
DIRECT_PEERING
Connect via direct peering to the Memorystore for Redis hosted service.
|
PRIVATE_SERVICE_ACCESS
Connect your Memorystore for Redis instance using Private Service
Access.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONNECT_MODE_UNSPECIFIED_VALUE
Not set.
|
static int |
DIRECT_PEERING_VALUE
Connect via direct peering to the Memorystore for Redis hosted service.
|
static int |
PRIVATE_SERVICE_ACCESS_VALUE
Connect your Memorystore for Redis instance using Private Service
Access.
|
| Modifier and Type | Method and Description |
|---|---|
static Instance.ConnectMode |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Instance.ConnectMode> |
internalGetValueMap() |
static Instance.ConnectMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Instance.ConnectMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Instance.ConnectMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instance.ConnectMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.ConnectMode CONNECT_MODE_UNSPECIFIED
Not set.
CONNECT_MODE_UNSPECIFIED = 0;public static final Instance.ConnectMode DIRECT_PEERING
Connect via direct peering to the Memorystore for Redis hosted service.
DIRECT_PEERING = 1;public static final Instance.ConnectMode PRIVATE_SERVICE_ACCESS
Connect your Memorystore for Redis instance using Private Service Access. Private services access provides an IP address range for multiple Google Cloud services, including Memorystore.
PRIVATE_SERVICE_ACCESS = 2;public static final Instance.ConnectMode UNRECOGNIZED
public static final int CONNECT_MODE_UNSPECIFIED_VALUE
Not set.
CONNECT_MODE_UNSPECIFIED = 0;public static final int DIRECT_PEERING_VALUE
Connect via direct peering to the Memorystore for Redis hosted service.
DIRECT_PEERING = 1;public static final int PRIVATE_SERVICE_ACCESS_VALUE
Connect your Memorystore for Redis instance using Private Service Access. Private services access provides an IP address range for multiple Google Cloud services, including Memorystore.
PRIVATE_SERVICE_ACCESS = 2;public static Instance.ConnectMode[] values()
for (Instance.ConnectMode c : Instance.ConnectMode.values()) System.out.println(c);
public static Instance.ConnectMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Instance.ConnectMode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Instance.ConnectMode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Instance.ConnectMode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Instance.ConnectMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020 Google LLC. All rights reserved.