public static final class Flight.PollInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Flight.PollInfo.Builder> implements Flight.PollInfoOrBuilder
The information to process a long-running query.Protobuf type
arrow.flight.protocol.PollInfo
Modifier and Type | Method and Description |
---|---|
Flight.PollInfo |
build() |
Flight.PollInfo |
buildPartial() |
Flight.PollInfo.Builder |
clear() |
Flight.PollInfo.Builder |
clearExpirationTime()
Expiration time for this request.
|
Flight.PollInfo.Builder |
clearFlightDescriptor()
The descriptor the client should use on the next try.
|
Flight.PollInfo.Builder |
clearInfo()
The currently available results.
|
Flight.PollInfo.Builder |
clearProgress()
Query progress.
|
Flight.PollInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getExpirationTime()
Expiration time for this request.
|
com.google.protobuf.Timestamp.Builder |
getExpirationTimeBuilder()
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.FlightDescriptor.Builder |
getFlightDescriptorBuilder()
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.FlightInfo.Builder |
getInfoBuilder()
The currently available results.
|
Flight.FlightInfoOrBuilder |
getInfoOrBuilder()
The currently available results.
|
double |
getProgress()
Query progress.
|
boolean |
hasExpirationTime()
Expiration time for this request.
|
boolean |
hasFlightDescriptor()
The descriptor the client should use on the next try.
|
boolean |
hasInfo()
The currently available results.
|
boolean |
hasProgress()
Query progress.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Flight.PollInfo.Builder |
mergeExpirationTime(com.google.protobuf.Timestamp value)
Expiration time for this request.
|
Flight.PollInfo.Builder |
mergeFlightDescriptor(Flight.FlightDescriptor value)
The descriptor the client should use on the next try.
|
Flight.PollInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Flight.PollInfo.Builder |
mergeFrom(Flight.PollInfo other) |
Flight.PollInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Flight.PollInfo.Builder |
mergeInfo(Flight.FlightInfo value)
The currently available results.
|
Flight.PollInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Flight.PollInfo.Builder |
setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue)
Expiration time for this request.
|
Flight.PollInfo.Builder |
setExpirationTime(com.google.protobuf.Timestamp value)
Expiration time for this request.
|
Flight.PollInfo.Builder |
setFlightDescriptor(Flight.FlightDescriptor.Builder builderForValue)
The descriptor the client should use on the next try.
|
Flight.PollInfo.Builder |
setFlightDescriptor(Flight.FlightDescriptor value)
The descriptor the client should use on the next try.
|
Flight.PollInfo.Builder |
setInfo(Flight.FlightInfo.Builder builderForValue)
The currently available results.
|
Flight.PollInfo.Builder |
setInfo(Flight.FlightInfo value)
The currently available results.
|
Flight.PollInfo.Builder |
setProgress(double value)
Query progress.
|
Flight.PollInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.PollInfo.Builder>
public Flight.PollInfo.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.PollInfo.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.PollInfo.Builder>
public Flight.PollInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Flight.PollInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Flight.PollInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Flight.PollInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Flight.PollInfo.Builder>
public Flight.PollInfo.Builder mergeFrom(Flight.PollInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.PollInfo.Builder>
public Flight.PollInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Flight.PollInfo.Builder>
IOException
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.PollInfo.Builder setInfo(Flight.FlightInfo value)
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;
public Flight.PollInfo.Builder setInfo(Flight.FlightInfo.Builder builderForValue)
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;
public Flight.PollInfo.Builder mergeInfo(Flight.FlightInfo value)
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;
public Flight.PollInfo.Builder clearInfo()
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;
public Flight.FlightInfo.Builder getInfoBuilder()
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;
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.PollInfo.Builder setFlightDescriptor(Flight.FlightDescriptor value)
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;
public Flight.PollInfo.Builder setFlightDescriptor(Flight.FlightDescriptor.Builder builderForValue)
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;
public Flight.PollInfo.Builder mergeFlightDescriptor(Flight.FlightDescriptor value)
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;
public Flight.PollInfo.Builder clearFlightDescriptor()
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;
public Flight.FlightDescriptor.Builder getFlightDescriptorBuilder()
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;
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 Flight.PollInfo.Builder setProgress(double value)
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;
value
- The progress to set.public Flight.PollInfo.Builder clearProgress()
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;
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 Flight.PollInfo.Builder setExpirationTime(com.google.protobuf.Timestamp value)
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;
public Flight.PollInfo.Builder setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue)
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;
public Flight.PollInfo.Builder mergeExpirationTime(com.google.protobuf.Timestamp value)
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;
public Flight.PollInfo.Builder clearExpirationTime()
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;
public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder()
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;
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 Flight.PollInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.PollInfo.Builder>
public final Flight.PollInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.PollInfo.Builder>
Copyright © 2024 The Apache Software Foundation. All rights reserved.