Package io.deephaven.proto.auth
Enum Class CallStatus
- All Implemented Interfaces:
io.deephaven.shadow.core.com.google.protobuf.Internal.EnumLite
,io.deephaven.shadow.core.com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<CallStatus>
,java.lang.constant.Constable
public enum CallStatus
extends Enum<CallStatus>
implements io.deephaven.shadow.core.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 int
AlreadyAuthenticatedExceptionstatic final int
AuthException, non-retryable.static final int
AuthException, retryable.static final int
NotAuthenticatedExceptionstatic final int
No error, everything is fine.static final int
PubPrivKeyExceptionstatic final int
TokenCreationExceptionstatic final int
TokenVerificationExceptionstatic final int
UnavailableException -
Method Summary
Modifier and TypeMethodDescriptionstatic CallStatus
forNumber
(int value) static final io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumDescriptor
final io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumDescriptor
final int
final io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumValueDescriptor
static io.deephaven.shadow.core.com.google.protobuf.Internal.EnumLiteMap<CallStatus>
static CallStatus
valueOf
(int value) Deprecated.static CallStatus
valueOf
(io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static CallStatus
Returns 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:
getNumber
in interfaceio.deephaven.shadow.core.com.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfaceio.deephaven.shadow.core.com.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
public static io.deephaven.shadow.core.com.google.protobuf.Internal.EnumLiteMap<CallStatus> internalGetValueMap() -
getValueDescriptor
public final io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptor
in interfaceio.deephaven.shadow.core.com.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfaceio.deephaven.shadow.core.com.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static CallStatus valueOf(io.deephaven.shadow.core.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 nameNullPointerException
- if the argument is null
-