public static enum Instance.TransitEncryptionMode extends Enum<Instance.TransitEncryptionMode> implements com.google.protobuf.ProtocolMessageEnum
Available TLS modes.Protobuf enum
google.cloud.redis.v1.Instance.TransitEncryptionMode| Enum Constant and Description |
|---|
DISABLED
TLS is disabled for the instance.
|
SERVER_AUTHENTICATION
Client to Server traffic encryption enabled with server authentication.
|
TRANSIT_ENCRYPTION_MODE_UNSPECIFIED
Not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DISABLED_VALUE
TLS is disabled for the instance.
|
static int |
SERVER_AUTHENTICATION_VALUE
Client to Server traffic encryption enabled with server authentication.
|
static int |
TRANSIT_ENCRYPTION_MODE_UNSPECIFIED_VALUE
Not set.
|
| Modifier and Type | Method and Description |
|---|---|
static Instance.TransitEncryptionMode |
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.TransitEncryptionMode> |
internalGetValueMap() |
static Instance.TransitEncryptionMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Instance.TransitEncryptionMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Instance.TransitEncryptionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instance.TransitEncryptionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.TransitEncryptionMode TRANSIT_ENCRYPTION_MODE_UNSPECIFIED
Not set.
TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0;public static final Instance.TransitEncryptionMode SERVER_AUTHENTICATION
Client to Server traffic encryption enabled with server authentication.
SERVER_AUTHENTICATION = 1;public static final Instance.TransitEncryptionMode DISABLED
TLS is disabled for the instance.
DISABLED = 2;public static final Instance.TransitEncryptionMode UNRECOGNIZED
public static final int TRANSIT_ENCRYPTION_MODE_UNSPECIFIED_VALUE
Not set.
TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0;public static final int SERVER_AUTHENTICATION_VALUE
Client to Server traffic encryption enabled with server authentication.
SERVER_AUTHENTICATION = 1;public static final int DISABLED_VALUE
TLS is disabled for the instance.
DISABLED = 2;public static Instance.TransitEncryptionMode[] values()
for (Instance.TransitEncryptionMode c : Instance.TransitEncryptionMode.values()) System.out.println(c);
public static Instance.TransitEncryptionMode 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.TransitEncryptionMode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Instance.TransitEncryptionMode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Instance.TransitEncryptionMode> 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.TransitEncryptionMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.