public static enum TlsParameters.TlsProtocol extends Enum<TlsParameters.TlsProtocol> implements com.google.protobuf.ProtocolMessageEnum
envoy.extensions.transport_sockets.tls.v3.TlsParameters.TlsProtocol| Enum Constant and Description |
|---|
TLS_AUTO
Envoy will choose the optimal TLS version.
|
TLSv1_0
TLS 1.0
TLSv1_0 = 1; |
TLSv1_1
TLS 1.1
TLSv1_1 = 2; |
TLSv1_2
TLS 1.2
TLSv1_2 = 3; |
TLSv1_3
TLS 1.3
TLSv1_3 = 4; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
TLS_AUTO_VALUE
Envoy will choose the optimal TLS version.
|
static int |
TLSv1_0_VALUE
TLS 1.0
TLSv1_0 = 1; |
static int |
TLSv1_1_VALUE
TLS 1.1
TLSv1_1 = 2; |
static int |
TLSv1_2_VALUE
TLS 1.2
TLSv1_2 = 3; |
static int |
TLSv1_3_VALUE
TLS 1.3
TLSv1_3 = 4; |
| Modifier and Type | Method and Description |
|---|---|
static TlsParameters.TlsProtocol |
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<TlsParameters.TlsProtocol> |
internalGetValueMap() |
static TlsParameters.TlsProtocol |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TlsParameters.TlsProtocol |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TlsParameters.TlsProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TlsParameters.TlsProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TlsParameters.TlsProtocol TLS_AUTO
Envoy will choose the optimal TLS version.
TLS_AUTO = 0;public static final TlsParameters.TlsProtocol TLSv1_0
TLS 1.0
TLSv1_0 = 1;public static final TlsParameters.TlsProtocol TLSv1_1
TLS 1.1
TLSv1_1 = 2;public static final TlsParameters.TlsProtocol TLSv1_2
TLS 1.2
TLSv1_2 = 3;public static final TlsParameters.TlsProtocol TLSv1_3
TLS 1.3
TLSv1_3 = 4;public static final TlsParameters.TlsProtocol UNRECOGNIZED
public static final int TLS_AUTO_VALUE
Envoy will choose the optimal TLS version.
TLS_AUTO = 0;public static final int TLSv1_0_VALUE
TLS 1.0
TLSv1_0 = 1;public static final int TLSv1_1_VALUE
TLS 1.1
TLSv1_1 = 2;public static final int TLSv1_2_VALUE
TLS 1.2
TLSv1_2 = 3;public static final int TLSv1_3_VALUE
TLS 1.3
TLSv1_3 = 4;public static TlsParameters.TlsProtocol[] values()
for (TlsParameters.TlsProtocol c : TlsParameters.TlsProtocol.values()) System.out.println(c);
public static TlsParameters.TlsProtocol 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 TlsParameters.TlsProtocol valueOf(int value)
forNumber(int) instead.public static TlsParameters.TlsProtocol forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<TlsParameters.TlsProtocol> 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 TlsParameters.TlsProtocol valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.