public static enum ErrorHandler.ErrorCode extends java.lang.Enum<ErrorHandler.ErrorCode> implements ProtocolMessageEnum
Error codes.Protobuf enum
google.appengine.v1.ErrorHandler.ErrorCode
Enum Constant and Description |
---|
ERROR_CODE_DOS_API_DENIAL
Client blocked by the application's Denial of Service protection
configuration.
|
ERROR_CODE_OVER_QUOTA
Application has exceeded a resource quota.
|
ERROR_CODE_TIMEOUT
Deadline reached before the application responds.
|
ERROR_CODE_UNSPECIFIED
Not specified.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static ErrorHandler.ErrorCode |
ERROR_CODE_DEFAULT
All other error types.
|
static int |
ERROR_CODE_DEFAULT_VALUE
All other error types.
|
static int |
ERROR_CODE_DOS_API_DENIAL_VALUE
Client blocked by the application's Denial of Service protection
configuration.
|
static int |
ERROR_CODE_OVER_QUOTA_VALUE
Application has exceeded a resource quota.
|
static int |
ERROR_CODE_TIMEOUT_VALUE
Deadline reached before the application responds.
|
static int |
ERROR_CODE_UNSPECIFIED_VALUE
Not specified.
|
Modifier and Type | Method and Description |
---|---|
static ErrorHandler.ErrorCode |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<ErrorHandler.ErrorCode> |
internalGetValueMap() |
static ErrorHandler.ErrorCode |
valueOf(Descriptors.EnumValueDescriptor desc) |
static ErrorHandler.ErrorCode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ErrorHandler.ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorHandler.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorHandler.ErrorCode ERROR_CODE_UNSPECIFIED
Not specified. ERROR_CODE_DEFAULT is assumed.
ERROR_CODE_UNSPECIFIED = 0;
public static final ErrorHandler.ErrorCode ERROR_CODE_OVER_QUOTA
Application has exceeded a resource quota.
ERROR_CODE_OVER_QUOTA = 1;
public static final ErrorHandler.ErrorCode ERROR_CODE_DOS_API_DENIAL
Client blocked by the application's Denial of Service protection configuration.
ERROR_CODE_DOS_API_DENIAL = 2;
public static final ErrorHandler.ErrorCode ERROR_CODE_TIMEOUT
Deadline reached before the application responds.
ERROR_CODE_TIMEOUT = 3;
public static final ErrorHandler.ErrorCode UNRECOGNIZED
public static final ErrorHandler.ErrorCode ERROR_CODE_DEFAULT
All other error types.
ERROR_CODE_DEFAULT = 0;
public static final int ERROR_CODE_UNSPECIFIED_VALUE
Not specified. ERROR_CODE_DEFAULT is assumed.
ERROR_CODE_UNSPECIFIED = 0;
public static final int ERROR_CODE_DEFAULT_VALUE
All other error types.
ERROR_CODE_DEFAULT = 0;
public static final int ERROR_CODE_OVER_QUOTA_VALUE
Application has exceeded a resource quota.
ERROR_CODE_OVER_QUOTA = 1;
public static final int ERROR_CODE_DOS_API_DENIAL_VALUE
Client blocked by the application's Denial of Service protection configuration.
ERROR_CODE_DOS_API_DENIAL = 2;
public static final int ERROR_CODE_TIMEOUT_VALUE
Deadline reached before the application responds.
ERROR_CODE_TIMEOUT = 3;
public static ErrorHandler.ErrorCode[] values()
for (ErrorHandler.ErrorCode c : ErrorHandler.ErrorCode.values()) System.out.println(c);
public static ErrorHandler.ErrorCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static ErrorHandler.ErrorCode valueOf(int value)
forNumber(int)
instead.public static ErrorHandler.ErrorCode forNumber(int value)
public static Internal.EnumLiteMap<ErrorHandler.ErrorCode> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static ErrorHandler.ErrorCode valueOf(Descriptors.EnumValueDescriptor desc)