Enum Class CallStatus

java.lang.Object
java.lang.Enum<CallStatus>
io.deephaven.proto.auth.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
  • Enum Constant Details

    • OK

      public static final CallStatus OK
       No error, everything is fine.
       
      OK = 0;
    • AUTH_ERROR_NON_RETRYABLE

      public static final CallStatus AUTH_ERROR_NON_RETRYABLE
       AuthException, non-retryable.
       
      AUTH_ERROR_NON_RETRYABLE = 1;
    • AUTH_ERROR_RETRYABLE

      public static final CallStatus AUTH_ERROR_RETRYABLE
       AuthException, retryable.
       
      AUTH_ERROR_RETRYABLE = 2;
    • ALREADY_AUTHENTICATED

      public static final CallStatus ALREADY_AUTHENTICATED
       AlreadyAuthenticatedException
       
      ALREADY_AUTHENTICATED = 3;
    • NOT_AUTHENTICATED

      public static final CallStatus NOT_AUTHENTICATED
       NotAuthenticatedException
       
      NOT_AUTHENTICATED = 4;
    • PUB_PRIV_KEY

      public static final CallStatus PUB_PRIV_KEY
       PubPrivKeyException
       
      PUB_PRIV_KEY = 5;
    • TOKEN_CREATION

      public static final CallStatus TOKEN_CREATION
       TokenCreationException
       
      TOKEN_CREATION = 6;
    • TOKEN_VERIFICATION

      public static final CallStatus TOKEN_VERIFICATION
       TokenVerificationException
       
      TOKEN_VERIFICATION = 7;
    • UNAVAILABLE

      public static final CallStatus UNAVAILABLE
       UnavailableException
       
      UNAVAILABLE = 8;
    • UNRECOGNIZED

      public static final CallStatus UNRECOGNIZED
  • Field Details

    • OK_VALUE

      public static final int OK_VALUE
       No error, everything is fine.
       
      OK = 0;
      See Also:
    • AUTH_ERROR_NON_RETRYABLE_VALUE

      public static final int AUTH_ERROR_NON_RETRYABLE_VALUE
       AuthException, non-retryable.
       
      AUTH_ERROR_NON_RETRYABLE = 1;
      See Also:
    • AUTH_ERROR_RETRYABLE_VALUE

      public static final int AUTH_ERROR_RETRYABLE_VALUE
       AuthException, retryable.
       
      AUTH_ERROR_RETRYABLE = 2;
      See Also:
    • ALREADY_AUTHENTICATED_VALUE

      public static final int ALREADY_AUTHENTICATED_VALUE
       AlreadyAuthenticatedException
       
      ALREADY_AUTHENTICATED = 3;
      See Also:
    • NOT_AUTHENTICATED_VALUE

      public static final int NOT_AUTHENTICATED_VALUE
       NotAuthenticatedException
       
      NOT_AUTHENTICATED = 4;
      See Also:
    • PUB_PRIV_KEY_VALUE

      public static final int PUB_PRIV_KEY_VALUE
       PubPrivKeyException
       
      PUB_PRIV_KEY = 5;
      See Also:
    • TOKEN_CREATION_VALUE

      public static final int TOKEN_CREATION_VALUE
       TokenCreationException
       
      TOKEN_CREATION = 6;
      See Also:
    • TOKEN_VERIFICATION_VALUE

      public static final int TOKEN_VERIFICATION_VALUE
       TokenVerificationException
       
      TOKEN_VERIFICATION = 7;
      See Also:
    • UNAVAILABLE_VALUE

      public static final int UNAVAILABLE_VALUE
       UnavailableException
       
      UNAVAILABLE = 8;
      See Also:
  • Method Details

    • values

      public static CallStatus[] 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 CallStatus 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 io.deephaven.shadow.core.com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface io.deephaven.shadow.core.com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static CallStatus 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 CallStatus 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 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 interface io.deephaven.shadow.core.com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final io.deephaven.shadow.core.com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface io.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 name
      NullPointerException - if the argument is null