Package com.google.appengine.api.search
Enum StatusCode
- All Implemented Interfaces:
Serializable
,Comparable<StatusCode>
Status code returned by various index operations.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe last operation failed due to conflicting operations.The last operation failed due to a internal backend error.The last operation failed due to invalid, user specified parameters.The last operation was successfully completed.The last operation failed due to user not having permission.The last operation failed to finish before its deadline.The last operation failed due to a transient backend error. -
Method Summary
Modifier and TypeMethodDescriptionstatic StatusCode
Returns the enum constant of this type with the specified name.static StatusCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OK
The last operation was successfully completed. -
INVALID_REQUEST
The last operation failed due to invalid, user specified parameters. -
TRANSIENT_ERROR
The last operation failed due to a transient backend error. -
INTERNAL_ERROR
The last operation failed due to a internal backend error. -
PERMISSION_DENIED_ERROR
The last operation failed due to user not having permission. -
TIMEOUT_ERROR
The last operation failed to finish before its deadline. -
CONCURRENT_TRANSACTION_ERROR
The last operation failed due to conflicting operations.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-