- All Implemented Interfaces:
Serializable
,Comparable<CancelStatus>
The result of cancelling a FlightInfo.
-
Enum Constant Summary
Enum ConstantDescriptionThe cancellation request is complete.The cancellation request is in progress.The query is not cancellable.The cancellation status is unknown. -
Method Summary
Modifier and TypeMethodDescriptionstatic CancelStatus
Returns the enum constant of this type with the specified name.static CancelStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
The cancellation status is unknown. Servers should avoid using this value (send a NOT_FOUND error if the requested query is not known). Clients can retry the request. -
CANCELLED
The cancellation request is complete. Subsequent requests with the same payload may return CANCELLED or a NOT_FOUND error. -
CANCELLING
The cancellation request is in progress. The client may retry the cancellation request. -
NOT_CANCELLABLE
The query is not cancellable. The client should not retry the cancellation request.
-
-
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
-