public static final class Flight.PollInfo extends com.google.protobuf.GeneratedMessageV3 implements Flight.PollInfoOrBuilder
The information to process a long-running query.Protobuf type
arrow.flight.protocol.PollInfo
Modifier and Type | Class and Description |
---|---|
static class |
Flight.PollInfo.Builder
The information to process a long-running query.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
EXPIRATION_TIME_FIELD_NUMBER |
static int |
FLIGHT_DESCRIPTOR_FIELD_NUMBER |
static int |
INFO_FIELD_NUMBER |
static int |
PROGRESS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static Flight.PollInfo |
getDefaultInstance() |
Flight.PollInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getExpirationTime()
Expiration time for this request.
|
com.google.protobuf.TimestampOrBuilder |
getExpirationTimeOrBuilder()
Expiration time for this request.
|
Flight.FlightDescriptor |
getFlightDescriptor()
The descriptor the client should use on the next try.
|
Flight.FlightDescriptorOrBuilder |
getFlightDescriptorOrBuilder()
The descriptor the client should use on the next try.
|
Flight.FlightInfo |
getInfo()
The currently available results.
|
Flight.FlightInfoOrBuilder |
getInfoOrBuilder()
The currently available results.
|
com.google.protobuf.Parser<Flight.PollInfo> |
getParserForType() |
double |
getProgress()
Query progress.
|
int |
getSerializedSize() |
boolean |
hasExpirationTime()
Expiration time for this request.
|
boolean |
hasFlightDescriptor()
The descriptor the client should use on the next try.
|
int |
hashCode() |
boolean |
hasInfo()
The currently available results.
|
boolean |
hasProgress()
Query progress.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Flight.PollInfo.Builder |
newBuilder() |
static Flight.PollInfo.Builder |
newBuilder(Flight.PollInfo prototype) |
Flight.PollInfo.Builder |
newBuilderForType() |
protected Flight.PollInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Flight.PollInfo |
parseDelimitedFrom(InputStream input) |
static Flight.PollInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Flight.PollInfo |
parseFrom(byte[] data) |
static Flight.PollInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Flight.PollInfo |
parseFrom(ByteBuffer data) |
static Flight.PollInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Flight.PollInfo |
parseFrom(com.google.protobuf.ByteString data) |
static Flight.PollInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Flight.PollInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Flight.PollInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Flight.PollInfo |
parseFrom(InputStream input) |
static Flight.PollInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Flight.PollInfo> |
parser() |
Flight.PollInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int INFO_FIELD_NUMBER
public static final int FLIGHT_DESCRIPTOR_FIELD_NUMBER
public static final int PROGRESS_FIELD_NUMBER
public static final int EXPIRATION_TIME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasInfo()
The currently available results. If "flight_descriptor" is not specified, the query is complete and "info" specifies all results. Otherwise, "info" contains partial query results. Note that each PollInfo response contains a complete FlightInfo (not just the delta between the previous and current FlightInfo). Subsequent PollInfo responses may only append new endpoints to info. Clients can begin fetching results via DoGet(Ticket) with the ticket in the info before the query is completed. FlightInfo.ordered is also valid.
.arrow.flight.protocol.FlightInfo info = 1;
hasInfo
in interface Flight.PollInfoOrBuilder
public Flight.FlightInfo getInfo()
The currently available results. If "flight_descriptor" is not specified, the query is complete and "info" specifies all results. Otherwise, "info" contains partial query results. Note that each PollInfo response contains a complete FlightInfo (not just the delta between the previous and current FlightInfo). Subsequent PollInfo responses may only append new endpoints to info. Clients can begin fetching results via DoGet(Ticket) with the ticket in the info before the query is completed. FlightInfo.ordered is also valid.
.arrow.flight.protocol.FlightInfo info = 1;
getInfo
in interface Flight.PollInfoOrBuilder
public Flight.FlightInfoOrBuilder getInfoOrBuilder()
The currently available results. If "flight_descriptor" is not specified, the query is complete and "info" specifies all results. Otherwise, "info" contains partial query results. Note that each PollInfo response contains a complete FlightInfo (not just the delta between the previous and current FlightInfo). Subsequent PollInfo responses may only append new endpoints to info. Clients can begin fetching results via DoGet(Ticket) with the ticket in the info before the query is completed. FlightInfo.ordered is also valid.
.arrow.flight.protocol.FlightInfo info = 1;
getInfoOrBuilder
in interface Flight.PollInfoOrBuilder
public boolean hasFlightDescriptor()
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;
hasFlightDescriptor
in interface Flight.PollInfoOrBuilder
public Flight.FlightDescriptor getFlightDescriptor()
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;
getFlightDescriptor
in interface Flight.PollInfoOrBuilder
public Flight.FlightDescriptorOrBuilder getFlightDescriptorOrBuilder()
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;
getFlightDescriptorOrBuilder
in interface Flight.PollInfoOrBuilder
public boolean hasProgress()
Query progress. If known, must be in [0.0, 1.0] but need not be monotonic or nondecreasing. If unknown, do not set.
optional double progress = 3;
hasProgress
in interface Flight.PollInfoOrBuilder
public double getProgress()
Query progress. If known, must be in [0.0, 1.0] but need not be monotonic or nondecreasing. If unknown, do not set.
optional double progress = 3;
getProgress
in interface Flight.PollInfoOrBuilder
public boolean hasExpirationTime()
Expiration time for this request. After this passes, the server might not accept the retry descriptor anymore (and the query may be cancelled). This may be updated on a call to PollFlightInfo.
.google.protobuf.Timestamp expiration_time = 4;
hasExpirationTime
in interface Flight.PollInfoOrBuilder
public com.google.protobuf.Timestamp getExpirationTime()
Expiration time for this request. After this passes, the server might not accept the retry descriptor anymore (and the query may be cancelled). This may be updated on a call to PollFlightInfo.
.google.protobuf.Timestamp expiration_time = 4;
getExpirationTime
in interface Flight.PollInfoOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()
Expiration time for this request. After this passes, the server might not accept the retry descriptor anymore (and the query may be cancelled). This may be updated on a call to PollFlightInfo.
.google.protobuf.Timestamp expiration_time = 4;
getExpirationTimeOrBuilder
in interface Flight.PollInfoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Flight.PollInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Flight.PollInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Flight.PollInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Flight.PollInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Flight.PollInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Flight.PollInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Flight.PollInfo parseFrom(InputStream input) throws IOException
IOException
public static Flight.PollInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Flight.PollInfo parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Flight.PollInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Flight.PollInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Flight.PollInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Flight.PollInfo.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Flight.PollInfo.Builder newBuilder()
public static Flight.PollInfo.Builder newBuilder(Flight.PollInfo prototype)
public Flight.PollInfo.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Flight.PollInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Flight.PollInfo getDefaultInstance()
public static com.google.protobuf.Parser<Flight.PollInfo> parser()
public com.google.protobuf.Parser<Flight.PollInfo> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Flight.PollInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 The Apache Software Foundation. All rights reserved.