public enum SslVersion extends java.lang.Enum<SslVersion> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum teamdev.browsercore.net.SslVersion
Enum Constant and Description |
---|
SSL_VERSION_QUIC |
SSL_VERSION_SSL2 |
SSL_VERSION_SSL3 |
SSL_VERSION_TLS1 |
SSL_VERSION_TLS1_1 |
SSL_VERSION_TLS1_2 |
SSL_VERSION_TLS1_3 |
SSL_VERSION_UNKNOWN |
SSL_VERSION_UNSPECIFIED
Reserved value.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
SSL_VERSION_QUIC_VALUE |
static int |
SSL_VERSION_SSL2_VALUE |
static int |
SSL_VERSION_SSL3_VALUE |
static int |
SSL_VERSION_TLS1_1_VALUE |
static int |
SSL_VERSION_TLS1_2_VALUE |
static int |
SSL_VERSION_TLS1_3_VALUE |
static int |
SSL_VERSION_TLS1_VALUE |
static int |
SSL_VERSION_UNKNOWN_VALUE |
static int |
SSL_VERSION_UNSPECIFIED_VALUE
Reserved value.
|
Modifier and Type | Method and Description |
---|---|
static SslVersion |
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<SslVersion> |
internalGetValueMap() |
static SslVersion |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SslVersion |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SslVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SslVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SslVersion SSL_VERSION_UNSPECIFIED
public static final SslVersion SSL_VERSION_UNKNOWN
public static final SslVersion SSL_VERSION_SSL2
public static final SslVersion SSL_VERSION_SSL3
public static final SslVersion SSL_VERSION_TLS1
public static final SslVersion SSL_VERSION_TLS1_1
public static final SslVersion SSL_VERSION_TLS1_2
public static final SslVersion SSL_VERSION_TLS1_3
public static final SslVersion SSL_VERSION_QUIC
public static final SslVersion UNRECOGNIZED
public static final int SSL_VERSION_UNSPECIFIED_VALUE
public static final int SSL_VERSION_UNKNOWN_VALUE
public static final int SSL_VERSION_SSL2_VALUE
public static final int SSL_VERSION_SSL3_VALUE
public static final int SSL_VERSION_TLS1_VALUE
public static final int SSL_VERSION_TLS1_1_VALUE
public static final int SSL_VERSION_TLS1_2_VALUE
public static final int SSL_VERSION_TLS1_3_VALUE
public static final int SSL_VERSION_QUIC_VALUE
public static SslVersion[] values()
for (SslVersion c : SslVersion.values()) System.out.println(c);
public static SslVersion valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static SslVersion valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static SslVersion forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SslVersion> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SslVersion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)