Package com.buildless.telemetry
Enum Class TlsVersion
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<TlsVersion>,Constable
## TLS Version Enumerates known/supported Transport Layer Security (TLS) protocol versions.Protobuf enum
buildless.telemetry.TlsVersion-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies SSL 3.0.Specifies TLS 1.0.Specifies TLS 1.1.Specifies TLS 1.2.Specifies TLS 1.3.Specifies an unknown or un-recognized TLS protocol version. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSpecifies SSL 3.0.static final intSpecifies TLS 1.0.static final intSpecifies TLS 1.1.static final intSpecifies TLS 1.2.static final intSpecifies TLS 1.3.static final intSpecifies an unknown or un-recognized TLS protocol version. -
Method Summary
Modifier and TypeMethodDescriptionstatic TlsVersionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<TlsVersion>static TlsVersionvalueOf(int value) Deprecated.static TlsVersionvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static TlsVersionReturns the enum constant of this class with the specified name.static TlsVersion[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN_TLS_VERSION
Specifies an unknown or un-recognized TLS protocol version.
UNKNOWN_TLS_VERSION = 0; -
SSL_3_0
Specifies SSL 3.0.
SSL_3_0 = 1; -
TLS_1_0
Specifies TLS 1.0.
TLS_1_0 = 2; -
TLS_1_1
Specifies TLS 1.1.
TLS_1_1 = 3; -
TLS_1_2
Specifies TLS 1.2.
TLS_1_2 = 4; -
TLS_1_3
Specifies TLS 1.3.
TLS_1_3 = 5; -
UNRECOGNIZED
-
-
Field Details
-
UNKNOWN_TLS_VERSION_VALUE
public static final int UNKNOWN_TLS_VERSION_VALUESpecifies an unknown or un-recognized TLS protocol version.
UNKNOWN_TLS_VERSION = 0;- See Also:
-
SSL_3_0_VALUE
public static final int SSL_3_0_VALUESpecifies SSL 3.0.
SSL_3_0 = 1;- See Also:
-
TLS_1_0_VALUE
public static final int TLS_1_0_VALUESpecifies TLS 1.0.
TLS_1_0 = 2;- See Also:
-
TLS_1_1_VALUE
public static final int TLS_1_1_VALUESpecifies TLS 1.1.
TLS_1_1 = 3;- See Also:
-
TLS_1_2_VALUE
public static final int TLS_1_2_VALUESpecifies TLS 1.2.
TLS_1_2 = 4;- See Also:
-
TLS_1_3_VALUE
public static final int TLS_1_3_VALUESpecifies TLS 1.3.
TLS_1_3 = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-