public static enum ErrorTypeExtractor.ErrorType extends Enum<ErrorTypeExtractor.ErrorType>
Enum Constant and Description |
---|
FAILED_PRECONDITION |
NOT_FOUND |
OUT_OF_RANGE |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static ErrorTypeExtractor.ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorTypeExtractor.ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorTypeExtractor.ErrorType NOT_FOUND
public static final ErrorTypeExtractor.ErrorType OUT_OF_RANGE
public static final ErrorTypeExtractor.ErrorType FAILED_PRECONDITION
public static final ErrorTypeExtractor.ErrorType UNKNOWN
public static ErrorTypeExtractor.ErrorType[] values()
for (ErrorTypeExtractor.ErrorType c : ErrorTypeExtractor.ErrorType.values()) System.out.println(c);
public static ErrorTypeExtractor.ErrorType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2024. All rights reserved.