Enum Connection.CertificateState

java.lang.Object
java.lang.Enum<Connection.CertificateState>
com.google.cloud.dialogflow.v2.Connection.CertificateState
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Connection.CertificateState>
Enclosing class:
Connection

public static enum Connection.CertificateState extends Enum<Connection.CertificateState> implements com.google.protobuf.ProtocolMessageEnum
 The state of Sip Trunk certificate authentication.
 
Protobuf enum google.cloud.dialogflow.v2.Connection.CertificateState
  • Enum Constant Details

    • CERTIFICATE_STATE_UNSPECIFIED

      public static final Connection.CertificateState CERTIFICATE_STATE_UNSPECIFIED
       Certificate state is not specified.
       
      CERTIFICATE_STATE_UNSPECIFIED = 0;
    • CERTIFICATE_VALID

      public static final Connection.CertificateState CERTIFICATE_VALID
       Certificate is valid.
       
      CERTIFICATE_VALID = 1;
    • CERTIFICATE_INVALID

      public static final Connection.CertificateState CERTIFICATE_INVALID
       Catch all for any error not specified.
       
      CERTIFICATE_INVALID = 2;
    • CERTIFICATE_EXPIRED

      public static final Connection.CertificateState CERTIFICATE_EXPIRED
       Certificate leaf node has expired.
       
      CERTIFICATE_EXPIRED = 3;
    • CERTIFICATE_HOSTNAME_NOT_FOUND

      public static final Connection.CertificateState CERTIFICATE_HOSTNAME_NOT_FOUND
       There is no hostname defined to authenticate in SipTrunkingServer.
       
      CERTIFICATE_HOSTNAME_NOT_FOUND = 4;
    • CERTIFICATE_UNAUTHENTICATED

      public static final Connection.CertificateState CERTIFICATE_UNAUTHENTICATED
       No path found from the leaf certificate to any root.
       
      CERTIFICATE_UNAUTHENTICATED = 5;
    • CERTIFICATE_TRUST_STORE_NOT_FOUND

      public static final Connection.CertificateState CERTIFICATE_TRUST_STORE_NOT_FOUND
       Trust store does not exist.
       
      CERTIFICATE_TRUST_STORE_NOT_FOUND = 6;
    • CERTIFICATE_HOSTNAME_INVALID_FORMAT

      public static final Connection.CertificateState CERTIFICATE_HOSTNAME_INVALID_FORMAT
       Hostname has invalid format.
       
      CERTIFICATE_HOSTNAME_INVALID_FORMAT = 7;
    • CERTIFICATE_QUOTA_EXCEEDED

      public static final Connection.CertificateState CERTIFICATE_QUOTA_EXCEEDED
       Certificate has exhausted its quota.
       
      CERTIFICATE_QUOTA_EXCEEDED = 8;
    • UNRECOGNIZED

      public static final Connection.CertificateState UNRECOGNIZED
  • Field Details

    • CERTIFICATE_STATE_UNSPECIFIED_VALUE

      public static final int CERTIFICATE_STATE_UNSPECIFIED_VALUE
       Certificate state is not specified.
       
      CERTIFICATE_STATE_UNSPECIFIED = 0;
      See Also:
    • CERTIFICATE_VALID_VALUE

      public static final int CERTIFICATE_VALID_VALUE
       Certificate is valid.
       
      CERTIFICATE_VALID = 1;
      See Also:
    • CERTIFICATE_INVALID_VALUE

      public static final int CERTIFICATE_INVALID_VALUE
       Catch all for any error not specified.
       
      CERTIFICATE_INVALID = 2;
      See Also:
    • CERTIFICATE_EXPIRED_VALUE

      public static final int CERTIFICATE_EXPIRED_VALUE
       Certificate leaf node has expired.
       
      CERTIFICATE_EXPIRED = 3;
      See Also:
    • CERTIFICATE_HOSTNAME_NOT_FOUND_VALUE

      public static final int CERTIFICATE_HOSTNAME_NOT_FOUND_VALUE
       There is no hostname defined to authenticate in SipTrunkingServer.
       
      CERTIFICATE_HOSTNAME_NOT_FOUND = 4;
      See Also:
    • CERTIFICATE_UNAUTHENTICATED_VALUE

      public static final int CERTIFICATE_UNAUTHENTICATED_VALUE
       No path found from the leaf certificate to any root.
       
      CERTIFICATE_UNAUTHENTICATED = 5;
      See Also:
    • CERTIFICATE_TRUST_STORE_NOT_FOUND_VALUE

      public static final int CERTIFICATE_TRUST_STORE_NOT_FOUND_VALUE
       Trust store does not exist.
       
      CERTIFICATE_TRUST_STORE_NOT_FOUND = 6;
      See Also:
    • CERTIFICATE_HOSTNAME_INVALID_FORMAT_VALUE

      public static final int CERTIFICATE_HOSTNAME_INVALID_FORMAT_VALUE
       Hostname has invalid format.
       
      CERTIFICATE_HOSTNAME_INVALID_FORMAT = 7;
      See Also:
    • CERTIFICATE_QUOTA_EXCEEDED_VALUE

      public static final int CERTIFICATE_QUOTA_EXCEEDED_VALUE
       Certificate has exhausted its quota.
       
      CERTIFICATE_QUOTA_EXCEEDED = 8;
      See Also:
  • Method Details

    • values

      public static Connection.CertificateState[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Connection.CertificateState valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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 Connection.CertificateState valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static Connection.CertificateState 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<Connection.CertificateState> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static Connection.CertificateState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null