Enum Status.Code

java.lang.Object
java.lang.Enum<Status.Code>
com.google.cloud.bigtable.common.Status.Code
All Implemented Interfaces:
Serializable, Comparable<Status.Code>
Enclosing class:
Status

public static enum Status.Code extends Enum<Status.Code>
  • Enum Constant Details

    • OK

      public static final Status.Code OK
    • CANCELLED

      public static final Status.Code CANCELLED
    • UNKNOWN

      public static final Status.Code UNKNOWN
    • INVALID_ARGUMENT

      public static final Status.Code INVALID_ARGUMENT
    • DEADLINE_EXCEEDED

      public static final Status.Code DEADLINE_EXCEEDED
    • NOT_FOUND

      public static final Status.Code NOT_FOUND
    • ALREADY_EXISTS

      public static final Status.Code ALREADY_EXISTS
    • PERMISSION_DENIED

      public static final Status.Code PERMISSION_DENIED
    • UNAUTHENTICATED

      public static final Status.Code UNAUTHENTICATED
    • RESOURCE_EXHAUSTED

      public static final Status.Code RESOURCE_EXHAUSTED
    • FAILED_PRECONDITION

      public static final Status.Code FAILED_PRECONDITION
    • ABORTED

      public static final Status.Code ABORTED
    • OUT_OF_RANGE

      public static final Status.Code OUT_OF_RANGE
    • UNIMPLEMENTED

      public static final Status.Code UNIMPLEMENTED
    • INTERNAL

      public static final Status.Code INTERNAL
    • UNAVAILABLE

      public static final Status.Code UNAVAILABLE
    • DATA_LOSS

      public static final Status.Code DATA_LOSS
    • UNRECOGNIZED

      public static final Status.Code UNRECOGNIZED
      Code not known by the client, please upgrade your client
  • Method Details

    • values

      public static Status.Code[] 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 Status.Code 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
    • fromProto

      public static Status.Code fromProto(com.google.rpc.Code proto)
    • fromCodeNumber

      public static Status.Code fromCodeNumber(int num)
    • toProto

      public com.google.rpc.Code toProto()