Package org.apache.arrow.flight.impl
Class Flight.PollInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Flight.PollInfo.Builder>
org.apache.arrow.flight.impl.Flight.PollInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Flight.PollInfoOrBuilder
- Enclosing class:
- Flight.PollInfo
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
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Expiration time for this request.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) The descriptor the client should use on the next try.The currently available results.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Query progress.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Timestamp
Expiration time for this request.com.google.protobuf.Timestamp.Builder
Expiration time for this request.com.google.protobuf.TimestampOrBuilder
Expiration time for this request.The descriptor the client should use on the next try.The descriptor the client should use on the next try.The descriptor the client should use on the next try.getInfo()
The currently available results.The currently available results.The currently available results.double
Query progress.boolean
Expiration time for this request.boolean
The descriptor the client should use on the next try.boolean
hasInfo()
The currently available results.boolean
Query progress.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeExpirationTime
(com.google.protobuf.Timestamp value) Expiration time for this request.The descriptor the client should use on the next try.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Flight.PollInfo other) mergeInfo
(Flight.FlightInfo value) The currently available results.final Flight.PollInfo.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setExpirationTime
(com.google.protobuf.Timestamp value) Expiration time for this request.setExpirationTime
(com.google.protobuf.Timestamp.Builder builderForValue) Expiration time for this request.The descriptor the client should use on the next try.setFlightDescriptor
(Flight.FlightDescriptor.Builder builderForValue) The descriptor the client should use on the next try.setInfo
(Flight.FlightInfo value) The currently available results.setInfo
(Flight.FlightInfo.Builder builderForValue) The currently available results.setProgress
(double value) Query progress.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final Flight.PollInfo.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.PollInfo.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.PollInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.PollInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.PollInfo.Builder>
-
setField
public Flight.PollInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.PollInfo.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.PollInfo.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.PollInfo.Builder>
-
setRepeatedField
public Flight.PollInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.PollInfo.Builder>
-
addRepeatedField
public Flight.PollInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.PollInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Flight.PollInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.PollInfo.Builder>
-
mergeFrom
public Flight.PollInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Flight.PollInfo.Builder>
- Throws:
IOException
-
hasInfo
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;
- Specified by:
hasInfo
in interfaceFlight.PollInfoOrBuilder
- Returns:
- Whether the info field is set.
-
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;
- Specified by:
getInfo
in interfaceFlight.PollInfoOrBuilder
- Returns:
- The info.
-
setInfo
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;
-
setInfo
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;
-
mergeInfo
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;
-
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;
-
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;
-
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;
- Specified by:
getInfoOrBuilder
in interfaceFlight.PollInfoOrBuilder
-
hasFlightDescriptor
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;
- Specified by:
hasFlightDescriptor
in interfaceFlight.PollInfoOrBuilder
- Returns:
- Whether the flightDescriptor field is set.
-
getFlightDescriptor
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;
- Specified by:
getFlightDescriptor
in interfaceFlight.PollInfoOrBuilder
- Returns:
- The flightDescriptor.
-
setFlightDescriptor
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;
-
setFlightDescriptor
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;
-
mergeFlightDescriptor
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;
-
clearFlightDescriptor
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;
-
getFlightDescriptorBuilder
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;
-
getFlightDescriptorOrBuilder
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;
- Specified by:
getFlightDescriptorOrBuilder
in interfaceFlight.PollInfoOrBuilder
-
hasProgress
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;
- Specified by:
hasProgress
in interfaceFlight.PollInfoOrBuilder
- Returns:
- Whether the progress field is set.
-
getProgress
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;
- Specified by:
getProgress
in interfaceFlight.PollInfoOrBuilder
- Returns:
- The progress.
-
setProgress
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;
- Parameters:
value
- The progress to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
hasExpirationTime
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;
- Specified by:
hasExpirationTime
in interfaceFlight.PollInfoOrBuilder
- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
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;
- Specified by:
getExpirationTime
in interfaceFlight.PollInfoOrBuilder
- Returns:
- The expirationTime.
-
setExpirationTime
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;
-
setExpirationTime
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;
-
mergeExpirationTime
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;
-
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;
-
getExpirationTimeBuilder
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;
-
getExpirationTimeOrBuilder
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;
- Specified by:
getExpirationTimeOrBuilder
in interfaceFlight.PollInfoOrBuilder
-
setUnknownFields
public final Flight.PollInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.PollInfo.Builder>
-
mergeUnknownFields
public final Flight.PollInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.PollInfo.Builder>
-