public enum CancelStatus extends Enum<CancelStatus>
Enum Constant and Description |
---|
CANCELLED
The cancellation request is complete.
|
CANCELLING
The cancellation request is in progress.
|
NOT_CANCELLABLE
The query is not cancellable.
|
UNSPECIFIED
The cancellation status is unknown.
|
Modifier and Type | Method and Description |
---|---|
static CancelStatus |
valueOf(String name)
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.
|
public static final CancelStatus UNSPECIFIED
public static final CancelStatus CANCELLED
public static final CancelStatus CANCELLING
public static final CancelStatus NOT_CANCELLABLE
public static CancelStatus[] values()
for (CancelStatus c : CancelStatus.values()) System.out.println(c);
public static CancelStatus 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 © 2023 The Apache Software Foundation. All rights reserved.