public static enum SslPolicy.MinTlsVersion extends Enum<SslPolicy.MinTlsVersion> implements com.google.protobuf.ProtocolMessageEnum
The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.Protobuf enum
google.cloud.compute.v1.SslPolicy.MinTlsVersion| Enum Constant and Description |
|---|
TLS_1_0
TLS 1.0
|
TLS_1_1
TLS 1.1
|
TLS_1_2
TLS 1.2
|
UNDEFINED_MIN_TLS_VERSION
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
TLS_1_0_VALUE
TLS 1.0
|
static int |
TLS_1_1_VALUE
TLS 1.1
|
static int |
TLS_1_2_VALUE
TLS 1.2
|
static int |
UNDEFINED_MIN_TLS_VERSION_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static SslPolicy.MinTlsVersion |
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<SslPolicy.MinTlsVersion> |
internalGetValueMap() |
static SslPolicy.MinTlsVersion |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SslPolicy.MinTlsVersion |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SslPolicy.MinTlsVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SslPolicy.MinTlsVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SslPolicy.MinTlsVersion UNDEFINED_MIN_TLS_VERSION
A value indicating that the enum field is not set.
UNDEFINED_MIN_TLS_VERSION = 0;public static final SslPolicy.MinTlsVersion TLS_1_0
TLS 1.0
TLS_1_0 = 33116734;public static final SslPolicy.MinTlsVersion TLS_1_1
TLS 1.1
TLS_1_1 = 33116735;public static final SslPolicy.MinTlsVersion TLS_1_2
TLS 1.2
TLS_1_2 = 33116736;public static final SslPolicy.MinTlsVersion UNRECOGNIZED
public static final int UNDEFINED_MIN_TLS_VERSION_VALUE
A value indicating that the enum field is not set.
UNDEFINED_MIN_TLS_VERSION = 0;public static final int TLS_1_0_VALUE
TLS 1.0
TLS_1_0 = 33116734;public static final int TLS_1_1_VALUE
TLS 1.1
TLS_1_1 = 33116735;public static final int TLS_1_2_VALUE
TLS 1.2
TLS_1_2 = 33116736;public static SslPolicy.MinTlsVersion[] values()
for (SslPolicy.MinTlsVersion c : SslPolicy.MinTlsVersion.values()) System.out.println(c);
public static SslPolicy.MinTlsVersion 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 SslPolicy.MinTlsVersion valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SslPolicy.MinTlsVersion forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SslPolicy.MinTlsVersion> 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 SslPolicy.MinTlsVersion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.