public static enum Flight.CancelStatus extends Enum<Flight.CancelStatus> implements com.google.protobuf.ProtocolMessageEnum
The result of a cancel operation. This is used by CancelFlightInfoResult.status.Protobuf enum
arrow.flight.protocol.CancelStatus
Enum Constant and Description |
---|
CANCEL_STATUS_CANCELLED
The cancellation request is complete.
|
CANCEL_STATUS_CANCELLING
The cancellation request is in progress.
|
CANCEL_STATUS_NOT_CANCELLABLE
The query is not cancellable.
|
CANCEL_STATUS_UNSPECIFIED
The cancellation status is unknown.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CANCEL_STATUS_CANCELLED_VALUE
The cancellation request is complete.
|
static int |
CANCEL_STATUS_CANCELLING_VALUE
The cancellation request is in progress.
|
static int |
CANCEL_STATUS_NOT_CANCELLABLE_VALUE
The query is not cancellable.
|
static int |
CANCEL_STATUS_UNSPECIFIED_VALUE
The cancellation status is unknown.
|
Modifier and Type | Method and Description |
---|---|
static Flight.CancelStatus |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Flight.CancelStatus> |
internalGetValueMap() |
static Flight.CancelStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Flight.CancelStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Flight.CancelStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Flight.CancelStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Flight.CancelStatus CANCEL_STATUS_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.
CANCEL_STATUS_UNSPECIFIED = 0;
public static final Flight.CancelStatus CANCEL_STATUS_CANCELLED
The cancellation request is complete. Subsequent requests with the same payload may return CANCELLED or a NOT_FOUND error.
CANCEL_STATUS_CANCELLED = 1;
public static final Flight.CancelStatus CANCEL_STATUS_CANCELLING
The cancellation request is in progress. The client may retry the cancellation request.
CANCEL_STATUS_CANCELLING = 2;
public static final Flight.CancelStatus CANCEL_STATUS_NOT_CANCELLABLE
The query is not cancellable. The client should not retry the cancellation request.
CANCEL_STATUS_NOT_CANCELLABLE = 3;
public static final Flight.CancelStatus UNRECOGNIZED
public static final int CANCEL_STATUS_UNSPECIFIED_VALUE
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.
CANCEL_STATUS_UNSPECIFIED = 0;
public static final int CANCEL_STATUS_CANCELLED_VALUE
The cancellation request is complete. Subsequent requests with the same payload may return CANCELLED or a NOT_FOUND error.
CANCEL_STATUS_CANCELLED = 1;
public static final int CANCEL_STATUS_CANCELLING_VALUE
The cancellation request is in progress. The client may retry the cancellation request.
CANCEL_STATUS_CANCELLING = 2;
public static final int CANCEL_STATUS_NOT_CANCELLABLE_VALUE
The query is not cancellable. The client should not retry the cancellation request.
CANCEL_STATUS_NOT_CANCELLABLE = 3;
public static Flight.CancelStatus[] values()
for (Flight.CancelStatus c : Flight.CancelStatus.values()) System.out.println(c);
public static Flight.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 nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static Flight.CancelStatus valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Flight.CancelStatus forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Flight.CancelStatus> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Flight.CancelStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 The Apache Software Foundation. All rights reserved.