Package com.google.cloud.dialogflow.v2
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 Summary
Enum ConstantsEnum ConstantDescriptionCertificate leaf node has expired.Hostname has invalid format.There is no hostname defined to authenticate in SipTrunkingServer.Catch all for any error not specified.Certificate has exhausted its quota.Certificate state is not specified.Trust store does not exist.No path found from the leaf certificate to any root.Certificate is valid. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCertificate leaf node has expired.static final intHostname has invalid format.static final intThere is no hostname defined to authenticate in SipTrunkingServer.static final intCatch all for any error not specified.static final intCertificate has exhausted its quota.static final intCertificate state is not specified.static final intTrust store does not exist.static final intNo path found from the leaf certificate to any root.static final intCertificate is valid. -
Method Summary
Modifier and TypeMethodDescriptionstatic Connection.CertificateStateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Connection.CertificateState>static Connection.CertificateStatevalueOf(int value) Deprecated.static Connection.CertificateStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Connection.CertificateStateReturns the enum constant of this type with the specified name.static Connection.CertificateState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CERTIFICATE_STATE_UNSPECIFIED
Certificate state is not specified.
CERTIFICATE_STATE_UNSPECIFIED = 0; -
CERTIFICATE_VALID
Certificate is valid.
CERTIFICATE_VALID = 1; -
CERTIFICATE_INVALID
Catch all for any error not specified.
CERTIFICATE_INVALID = 2; -
CERTIFICATE_EXPIRED
Certificate leaf node has expired.
CERTIFICATE_EXPIRED = 3; -
CERTIFICATE_HOSTNAME_NOT_FOUND
There is no hostname defined to authenticate in SipTrunkingServer.
CERTIFICATE_HOSTNAME_NOT_FOUND = 4; -
CERTIFICATE_UNAUTHENTICATED
No path found from the leaf certificate to any root.
CERTIFICATE_UNAUTHENTICATED = 5; -
CERTIFICATE_TRUST_STORE_NOT_FOUND
Trust store does not exist.
CERTIFICATE_TRUST_STORE_NOT_FOUND = 6; -
CERTIFICATE_HOSTNAME_INVALID_FORMAT
Hostname has invalid format.
CERTIFICATE_HOSTNAME_INVALID_FORMAT = 7; -
CERTIFICATE_QUOTA_EXCEEDED
Certificate has exhausted its quota.
CERTIFICATE_QUOTA_EXCEEDED = 8; -
UNRECOGNIZED
-
-
Field Details
-
CERTIFICATE_STATE_UNSPECIFIED_VALUE
public static final int CERTIFICATE_STATE_UNSPECIFIED_VALUECertificate state is not specified.
CERTIFICATE_STATE_UNSPECIFIED = 0;- See Also:
-
CERTIFICATE_VALID_VALUE
public static final int CERTIFICATE_VALID_VALUECertificate is valid.
CERTIFICATE_VALID = 1;- See Also:
-
CERTIFICATE_INVALID_VALUE
public static final int CERTIFICATE_INVALID_VALUECatch all for any error not specified.
CERTIFICATE_INVALID = 2;- See Also:
-
CERTIFICATE_EXPIRED_VALUE
public static final int CERTIFICATE_EXPIRED_VALUECertificate leaf node has expired.
CERTIFICATE_EXPIRED = 3;- See Also:
-
CERTIFICATE_HOSTNAME_NOT_FOUND_VALUE
public static final int CERTIFICATE_HOSTNAME_NOT_FOUND_VALUEThere is no hostname defined to authenticate in SipTrunkingServer.
CERTIFICATE_HOSTNAME_NOT_FOUND = 4;- See Also:
-
CERTIFICATE_UNAUTHENTICATED_VALUE
public static final int CERTIFICATE_UNAUTHENTICATED_VALUENo 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_VALUETrust 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_VALUEHostname has invalid format.
CERTIFICATE_HOSTNAME_INVALID_FORMAT = 7;- See Also:
-
CERTIFICATE_QUOTA_EXCEEDED_VALUE
public static final int CERTIFICATE_QUOTA_EXCEEDED_VALUECertificate has exhausted its quota.
CERTIFICATE_QUOTA_EXCEEDED = 8;- See Also:
-
-
Method Details
-
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
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 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 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 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
public static com.google.protobuf.Internal.EnumLiteMap<Connection.CertificateState> 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 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 nameNullPointerException- if the argument is null
-