Package io.deephaven.proto.auth
Enum Class CallStatus
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CallStatus>,java.lang.constant.Constable
@Generated
public enum CallStatus
extends Enum<CallStatus>
implements com.google.protobuf.ProtocolMessageEnum
Map directly to classes derived from AuthException. If you modify this enum, ensure to keep consistent the mappings to/from it in GrpcAuthenticationService.java and GrpcAuthenticationClientManager.java.Protobuf enum
io.deephaven.proto.auth.CallStatus-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlreadyAuthenticatedExceptionAuthException, non-retryable.AuthException, retryable.NotAuthenticatedExceptionNo error, everything is fine.PubPrivKeyExceptionTokenCreationExceptionTokenVerificationExceptionUnavailableException -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAlreadyAuthenticatedExceptionstatic final intAuthException, non-retryable.static final intAuthException, retryable.static final intNotAuthenticatedExceptionstatic final intNo error, everything is fine.static final intPubPrivKeyExceptionstatic final intTokenCreationExceptionstatic final intTokenVerificationExceptionstatic final intUnavailableException -
Method Summary
Modifier and TypeMethodDescriptionstatic CallStatusforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<CallStatus>static CallStatusvalueOf(int value) Deprecated.static CallStatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static CallStatusReturns the enum constant of this class with the specified name.static CallStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OK
No error, everything is fine.
OK = 0; -
AUTH_ERROR_NON_RETRYABLE
AuthException, non-retryable.
AUTH_ERROR_NON_RETRYABLE = 1; -
AUTH_ERROR_RETRYABLE
AuthException, retryable.
AUTH_ERROR_RETRYABLE = 2; -
ALREADY_AUTHENTICATED
AlreadyAuthenticatedException
ALREADY_AUTHENTICATED = 3; -
NOT_AUTHENTICATED
NotAuthenticatedException
NOT_AUTHENTICATED = 4; -
PUB_PRIV_KEY
PubPrivKeyException
PUB_PRIV_KEY = 5; -
TOKEN_CREATION
TokenCreationException
TOKEN_CREATION = 6; -
TOKEN_VERIFICATION
TokenVerificationException
TOKEN_VERIFICATION = 7; -
UNAVAILABLE
UnavailableException
UNAVAILABLE = 8; -
UNRECOGNIZED
-
-
Field Details
-
OK_VALUE
public static final int OK_VALUENo error, everything is fine.
OK = 0;- See Also:
-
AUTH_ERROR_NON_RETRYABLE_VALUE
public static final int AUTH_ERROR_NON_RETRYABLE_VALUEAuthException, non-retryable.
AUTH_ERROR_NON_RETRYABLE = 1;- See Also:
-
AUTH_ERROR_RETRYABLE_VALUE
public static final int AUTH_ERROR_RETRYABLE_VALUEAuthException, retryable.
AUTH_ERROR_RETRYABLE = 2;- See Also:
-
ALREADY_AUTHENTICATED_VALUE
public static final int ALREADY_AUTHENTICATED_VALUEAlreadyAuthenticatedException
ALREADY_AUTHENTICATED = 3;- See Also:
-
NOT_AUTHENTICATED_VALUE
public static final int NOT_AUTHENTICATED_VALUENotAuthenticatedException
NOT_AUTHENTICATED = 4;- See Also:
-
PUB_PRIV_KEY_VALUE
public static final int PUB_PRIV_KEY_VALUEPubPrivKeyException
PUB_PRIV_KEY = 5;- See Also:
-
TOKEN_CREATION_VALUE
public static final int TOKEN_CREATION_VALUETokenCreationException
TOKEN_CREATION = 6;- See Also:
-
TOKEN_VERIFICATION_VALUE
public static final int TOKEN_VERIFICATION_VALUETokenVerificationException
TOKEN_VERIFICATION = 7;- See Also:
-
UNAVAILABLE_VALUE
public static final int UNAVAILABLE_VALUEUnavailableException
UNAVAILABLE = 8;- 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 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
-