Enum Status.Code

    • Enum Constant Detail

      • INVALID_ARGUMENT

        public static final Status.Code INVALID_ARGUMENT
      • DEADLINE_EXCEEDED

        public static final Status.Code DEADLINE_EXCEEDED
      • 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
      • OUT_OF_RANGE

        public static final Status.Code OUT_OF_RANGE
      • UNIMPLEMENTED

        public static final Status.Code UNIMPLEMENTED
      • UNAVAILABLE

        public static final Status.Code UNAVAILABLE
      • UNRECOGNIZED

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

      • values

        public static Status.Code[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Status.Code c : Status.Code.values())
            System.out.println(c);
        
        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()