public static enum FlightSql.ActionCancelQueryResult.CancelResult extends Enum<FlightSql.ActionCancelQueryResult.CancelResult> implements com.google.protobuf.ProtocolMessageEnum
arrow.flight.protocol.sql.ActionCancelQueryResult.CancelResult
Enum Constant and Description |
---|
CANCEL_RESULT_CANCELLED
The cancellation request is complete.
|
CANCEL_RESULT_CANCELLING
The cancellation request is in progress.
|
CANCEL_RESULT_NOT_CANCELLABLE
The query is not cancellable.
|
CANCEL_RESULT_UNSPECIFIED
The cancellation status is unknown.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CANCEL_RESULT_CANCELLED_VALUE
The cancellation request is complete.
|
static int |
CANCEL_RESULT_CANCELLING_VALUE
The cancellation request is in progress.
|
static int |
CANCEL_RESULT_NOT_CANCELLABLE_VALUE
The query is not cancellable.
|
static int |
CANCEL_RESULT_UNSPECIFIED_VALUE
The cancellation status is unknown.
|
Modifier and Type | Method and Description |
---|---|
static FlightSql.ActionCancelQueryResult.CancelResult |
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<FlightSql.ActionCancelQueryResult.CancelResult> |
internalGetValueMap() |
static FlightSql.ActionCancelQueryResult.CancelResult |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static FlightSql.ActionCancelQueryResult.CancelResult |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FlightSql.ActionCancelQueryResult.CancelResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlightSql.ActionCancelQueryResult.CancelResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlightSql.ActionCancelQueryResult.CancelResult CANCEL_RESULT_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_RESULT_UNSPECIFIED = 0;
public static final FlightSql.ActionCancelQueryResult.CancelResult CANCEL_RESULT_CANCELLED
The cancellation request is complete. Subsequent requests with the same payload may return CANCELLED or a NOT_FOUND error.
CANCEL_RESULT_CANCELLED = 1;
public static final FlightSql.ActionCancelQueryResult.CancelResult CANCEL_RESULT_CANCELLING
The cancellation request is in progress. The client may retry the cancellation request.
CANCEL_RESULT_CANCELLING = 2;
public static final FlightSql.ActionCancelQueryResult.CancelResult CANCEL_RESULT_NOT_CANCELLABLE
The query is not cancellable. The client should not retry the cancellation request.
CANCEL_RESULT_NOT_CANCELLABLE = 3;
public static final FlightSql.ActionCancelQueryResult.CancelResult UNRECOGNIZED
public static final int CANCEL_RESULT_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_RESULT_UNSPECIFIED = 0;
public static final int CANCEL_RESULT_CANCELLED_VALUE
The cancellation request is complete. Subsequent requests with the same payload may return CANCELLED or a NOT_FOUND error.
CANCEL_RESULT_CANCELLED = 1;
public static final int CANCEL_RESULT_CANCELLING_VALUE
The cancellation request is in progress. The client may retry the cancellation request.
CANCEL_RESULT_CANCELLING = 2;
public static final int CANCEL_RESULT_NOT_CANCELLABLE_VALUE
The query is not cancellable. The client should not retry the cancellation request.
CANCEL_RESULT_NOT_CANCELLABLE = 3;
public static FlightSql.ActionCancelQueryResult.CancelResult[] values()
for (FlightSql.ActionCancelQueryResult.CancelResult c : FlightSql.ActionCancelQueryResult.CancelResult.values()) System.out.println(c);
public static FlightSql.ActionCancelQueryResult.CancelResult 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 FlightSql.ActionCancelQueryResult.CancelResult valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static FlightSql.ActionCancelQueryResult.CancelResult forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<FlightSql.ActionCancelQueryResult.CancelResult> 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 FlightSql.ActionCancelQueryResult.CancelResult valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 The Apache Software Foundation. All rights reserved.