Enum GrpcStatus

    • Enum Constant Detail

      • CANCELLED

        public static final GrpcStatus CANCELLED
      • INVALID_ARGUMENT

        public static final GrpcStatus INVALID_ARGUMENT
      • DEADLINE_EXCEEDED

        public static final GrpcStatus DEADLINE_EXCEEDED
      • NOT_FOUND

        public static final GrpcStatus NOT_FOUND
      • ALREADY_EXISTS

        public static final GrpcStatus ALREADY_EXISTS
      • PERMISSION_DENIED

        public static final GrpcStatus PERMISSION_DENIED
      • RESOURCE_EXHAUSTED

        public static final GrpcStatus RESOURCE_EXHAUSTED
      • FAILED_PRECONDITION

        public static final GrpcStatus FAILED_PRECONDITION
      • OUT_OF_RANGE

        public static final GrpcStatus OUT_OF_RANGE
      • UNIMPLEMENTED

        public static final GrpcStatus UNIMPLEMENTED
      • INTERNAL

        public static final GrpcStatus INTERNAL
      • UNAVAILABLE

        public static final GrpcStatus UNAVAILABLE
      • DATA_LOSS

        public static final GrpcStatus DATA_LOSS
      • UNAUTHENTICATED

        public static final GrpcStatus UNAUTHENTICATED
    • Field Detail

      • code

        public final int code
    • Method Detail

      • values

        public static GrpcStatus[] 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 (GrpcStatus c : GrpcStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static GrpcStatus 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
      • valueOf

        public static GrpcStatus valueOf​(int code)
        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:
        code - 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