Enum Class TlsVersion

java.lang.Object
java.lang.Enum<TlsVersion>
com.buildless.telemetry.TlsVersion
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<TlsVersion>, Constable

public enum TlsVersion extends Enum<TlsVersion> implements com.google.protobuf.ProtocolMessageEnum
 ## TLS Version

 Enumerates known/supported Transport Layer Security (TLS) protocol versions.
 
Protobuf enum buildless.telemetry.TlsVersion
  • Enum Constant Details

    • UNKNOWN_TLS_VERSION

      public static final TlsVersion UNKNOWN_TLS_VERSION
       Specifies an unknown or un-recognized TLS protocol version.
       
      UNKNOWN_TLS_VERSION = 0;
    • SSL_3_0

      public static final TlsVersion SSL_3_0
       Specifies SSL 3.0.
       
      SSL_3_0 = 1;
    • TLS_1_0

      public static final TlsVersion TLS_1_0
       Specifies TLS 1.0.
       
      TLS_1_0 = 2;
    • TLS_1_1

      public static final TlsVersion TLS_1_1
       Specifies TLS 1.1.
       
      TLS_1_1 = 3;
    • TLS_1_2

      public static final TlsVersion TLS_1_2
       Specifies TLS 1.2.
       
      TLS_1_2 = 4;
    • TLS_1_3

      public static final TlsVersion TLS_1_3
       Specifies TLS 1.3.
       
      TLS_1_3 = 5;
    • UNRECOGNIZED

      public static final TlsVersion UNRECOGNIZED
  • Field Details

    • UNKNOWN_TLS_VERSION_VALUE

      public static final int UNKNOWN_TLS_VERSION_VALUE
       Specifies 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_VALUE
       Specifies SSL 3.0.
       
      SSL_3_0 = 1;
      See Also:
    • TLS_1_0_VALUE

      public static final int TLS_1_0_VALUE
       Specifies TLS 1.0.
       
      TLS_1_0 = 2;
      See Also:
    • TLS_1_1_VALUE

      public static final int TLS_1_1_VALUE
       Specifies TLS 1.1.
       
      TLS_1_1 = 3;
      See Also:
    • TLS_1_2_VALUE

      public static final int TLS_1_2_VALUE
       Specifies TLS 1.2.
       
      TLS_1_2 = 4;
      See Also:
    • TLS_1_3_VALUE

      public static final int TLS_1_3_VALUE
       Specifies TLS 1.3.
       
      TLS_1_3 = 5;
      See Also:
  • Method Details

    • values

      public static TlsVersion[] 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

      public static TlsVersion valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static TlsVersion valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static TlsVersion forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<TlsVersion> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static TlsVersion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      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 name
      NullPointerException - if the argument is null