public static enum Flight.CloseSessionResult.Status extends Enum<Flight.CloseSessionResult.Status> implements com.google.protobuf.ProtocolMessageEnum
arrow.flight.protocol.CloseSessionResult.Status
Enum Constant and Description |
---|
CLOSED
The session close request is complete.
|
CLOSING
The session close request is in progress.
|
NOT_CLOSEABLE
The session is not closeable.
|
UNRECOGNIZED |
UNSPECIFIED
Protobuf deserialization fallback value: The session close status is unknown or
not recognized.
|
Modifier and Type | Field and Description |
---|---|
static int |
CLOSED_VALUE
The session close request is complete.
|
static int |
CLOSING_VALUE
The session close request is in progress.
|
static int |
NOT_CLOSEABLE_VALUE
The session is not closeable.
|
static int |
UNSPECIFIED_VALUE
Protobuf deserialization fallback value: The session close status is unknown or
not recognized.
|
Modifier and Type | Method and Description |
---|---|
static Flight.CloseSessionResult.Status |
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.CloseSessionResult.Status> |
internalGetValueMap() |
static Flight.CloseSessionResult.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Flight.CloseSessionResult.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Flight.CloseSessionResult.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Flight.CloseSessionResult.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Flight.CloseSessionResult.Status UNSPECIFIED
Protobuf deserialization fallback value: The session close status is unknown or not recognized. Servers should avoid using this value (send a NOT_FOUND error if the requested session is not known or expired). Clients can retry the request.
UNSPECIFIED = 0;
public static final Flight.CloseSessionResult.Status CLOSED
The session close request is complete. Subsequent requests with the same session produce a NOT_FOUND error.
CLOSED = 1;
public static final Flight.CloseSessionResult.Status CLOSING
The session close request is in progress. The client may retry the close request.
CLOSING = 2;
public static final Flight.CloseSessionResult.Status NOT_CLOSEABLE
The session is not closeable. The client should not retry the close request.
NOT_CLOSEABLE = 3;
public static final Flight.CloseSessionResult.Status UNRECOGNIZED
public static final int UNSPECIFIED_VALUE
Protobuf deserialization fallback value: The session close status is unknown or not recognized. Servers should avoid using this value (send a NOT_FOUND error if the requested session is not known or expired). Clients can retry the request.
UNSPECIFIED = 0;
public static final int CLOSED_VALUE
The session close request is complete. Subsequent requests with the same session produce a NOT_FOUND error.
CLOSED = 1;
public static final int CLOSING_VALUE
The session close request is in progress. The client may retry the close request.
CLOSING = 2;
public static final int NOT_CLOSEABLE_VALUE
The session is not closeable. The client should not retry the close request.
NOT_CLOSEABLE = 3;
public static Flight.CloseSessionResult.Status[] values()
for (Flight.CloseSessionResult.Status c : Flight.CloseSessionResult.Status.values()) System.out.println(c);
public static Flight.CloseSessionResult.Status 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.CloseSessionResult.Status valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Flight.CloseSessionResult.Status forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Flight.CloseSessionResult.Status> 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.CloseSessionResult.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 The Apache Software Foundation. All rights reserved.