public static final class Flight.FlightInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightInfo.Builder> implements Flight.FlightInfoOrBuilder
The access coordinates for retrieval of a dataset. With a FlightInfo, a consumer is able to determine how to retrieve a dataset.Protobuf type
arrow.flight.protocol.FlightInfo| Modifier and Type | Method and Description |
|---|---|
Flight.FlightInfo.Builder |
addAllEndpoint(Iterable<? extends Flight.FlightEndpoint> values)
A list of endpoints associated with the flight.
|
Flight.FlightInfo.Builder |
addEndpoint(Flight.FlightEndpoint.Builder builderForValue)
A list of endpoints associated with the flight.
|
Flight.FlightInfo.Builder |
addEndpoint(Flight.FlightEndpoint value)
A list of endpoints associated with the flight.
|
Flight.FlightInfo.Builder |
addEndpoint(int index,
Flight.FlightEndpoint.Builder builderForValue)
A list of endpoints associated with the flight.
|
Flight.FlightInfo.Builder |
addEndpoint(int index,
Flight.FlightEndpoint value)
A list of endpoints associated with the flight.
|
Flight.FlightEndpoint.Builder |
addEndpointBuilder()
A list of endpoints associated with the flight.
|
Flight.FlightEndpoint.Builder |
addEndpointBuilder(int index)
A list of endpoints associated with the flight.
|
Flight.FlightInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Flight.FlightInfo |
build() |
Flight.FlightInfo |
buildPartial() |
Flight.FlightInfo.Builder |
clear() |
Flight.FlightInfo.Builder |
clearEndpoint()
A list of endpoints associated with the flight.
|
Flight.FlightInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Flight.FlightInfo.Builder |
clearFlightDescriptor()
The descriptor associated with this info.
|
Flight.FlightInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Flight.FlightInfo.Builder |
clearSchema()
The schema of the dataset in its IPC form:
4 bytes - an optional IPC_CONTINUATION_TOKEN prefix
4 bytes - the byte length of the payload
a flatbuffer Message whose header is the Schema
|
Flight.FlightInfo.Builder |
clearTotalBytes()
int64 total_bytes = 5; |
Flight.FlightInfo.Builder |
clearTotalRecords()
Set these to -1 if unknown.
|
Flight.FlightInfo.Builder |
clone() |
Flight.FlightInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Flight.FlightEndpoint |
getEndpoint(int index)
A list of endpoints associated with the flight.
|
Flight.FlightEndpoint.Builder |
getEndpointBuilder(int index)
A list of endpoints associated with the flight.
|
List<Flight.FlightEndpoint.Builder> |
getEndpointBuilderList()
A list of endpoints associated with the flight.
|
int |
getEndpointCount()
A list of endpoints associated with the flight.
|
List<Flight.FlightEndpoint> |
getEndpointList()
A list of endpoints associated with the flight.
|
Flight.FlightEndpointOrBuilder |
getEndpointOrBuilder(int index)
A list of endpoints associated with the flight.
|
List<? extends Flight.FlightEndpointOrBuilder> |
getEndpointOrBuilderList()
A list of endpoints associated with the flight.
|
Flight.FlightDescriptor |
getFlightDescriptor()
The descriptor associated with this info.
|
Flight.FlightDescriptor.Builder |
getFlightDescriptorBuilder()
The descriptor associated with this info.
|
Flight.FlightDescriptorOrBuilder |
getFlightDescriptorOrBuilder()
The descriptor associated with this info.
|
com.google.protobuf.ByteString |
getSchema()
The schema of the dataset in its IPC form:
4 bytes - an optional IPC_CONTINUATION_TOKEN prefix
4 bytes - the byte length of the payload
a flatbuffer Message whose header is the Schema
|
long |
getTotalBytes()
int64 total_bytes = 5; |
long |
getTotalRecords()
Set these to -1 if unknown.
|
boolean |
hasFlightDescriptor()
The descriptor associated with this info.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Flight.FlightInfo.Builder |
mergeFlightDescriptor(Flight.FlightDescriptor value)
The descriptor associated with this info.
|
Flight.FlightInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Flight.FlightInfo.Builder |
mergeFrom(Flight.FlightInfo other) |
Flight.FlightInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Flight.FlightInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Flight.FlightInfo.Builder |
removeEndpoint(int index)
A list of endpoints associated with the flight.
|
Flight.FlightInfo.Builder |
setEndpoint(int index,
Flight.FlightEndpoint.Builder builderForValue)
A list of endpoints associated with the flight.
|
Flight.FlightInfo.Builder |
setEndpoint(int index,
Flight.FlightEndpoint value)
A list of endpoints associated with the flight.
|
Flight.FlightInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Flight.FlightInfo.Builder |
setFlightDescriptor(Flight.FlightDescriptor.Builder builderForValue)
The descriptor associated with this info.
|
Flight.FlightInfo.Builder |
setFlightDescriptor(Flight.FlightDescriptor value)
The descriptor associated with this info.
|
Flight.FlightInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Flight.FlightInfo.Builder |
setSchema(com.google.protobuf.ByteString value)
The schema of the dataset in its IPC form:
4 bytes - an optional IPC_CONTINUATION_TOKEN prefix
4 bytes - the byte length of the payload
a flatbuffer Message whose header is the Schema
|
Flight.FlightInfo.Builder |
setTotalBytes(long value)
int64 total_bytes = 5; |
Flight.FlightInfo.Builder |
setTotalRecords(long value)
Set these to -1 if unknown.
|
Flight.FlightInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightInfo.Builder>public Flight.FlightInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightInfo.Builder>public Flight.FlightInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Flight.FlightInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Flight.FlightInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Flight.FlightInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightInfo.Builder>public Flight.FlightInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightInfo.Builder>public Flight.FlightInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightInfo.Builder>public Flight.FlightInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightInfo.Builder>public Flight.FlightInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightInfo.Builder>public Flight.FlightInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightInfo.Builder>public Flight.FlightInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Flight.FlightInfo.Builder>public Flight.FlightInfo.Builder mergeFrom(Flight.FlightInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightInfo.Builder>public Flight.FlightInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Flight.FlightInfo.Builder>IOExceptionpublic com.google.protobuf.ByteString getSchema()
The schema of the dataset in its IPC form: 4 bytes - an optional IPC_CONTINUATION_TOKEN prefix 4 bytes - the byte length of the payload a flatbuffer Message whose header is the Schema
bytes schema = 1;getSchema in interface Flight.FlightInfoOrBuilderpublic Flight.FlightInfo.Builder setSchema(com.google.protobuf.ByteString value)
The schema of the dataset in its IPC form: 4 bytes - an optional IPC_CONTINUATION_TOKEN prefix 4 bytes - the byte length of the payload a flatbuffer Message whose header is the Schema
bytes schema = 1;value - The schema to set.public Flight.FlightInfo.Builder clearSchema()
The schema of the dataset in its IPC form: 4 bytes - an optional IPC_CONTINUATION_TOKEN prefix 4 bytes - the byte length of the payload a flatbuffer Message whose header is the Schema
bytes schema = 1;public boolean hasFlightDescriptor()
The descriptor associated with this info.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;hasFlightDescriptor in interface Flight.FlightInfoOrBuilderpublic Flight.FlightDescriptor getFlightDescriptor()
The descriptor associated with this info.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;getFlightDescriptor in interface Flight.FlightInfoOrBuilderpublic Flight.FlightInfo.Builder setFlightDescriptor(Flight.FlightDescriptor value)
The descriptor associated with this info.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;public Flight.FlightInfo.Builder setFlightDescriptor(Flight.FlightDescriptor.Builder builderForValue)
The descriptor associated with this info.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;public Flight.FlightInfo.Builder mergeFlightDescriptor(Flight.FlightDescriptor value)
The descriptor associated with this info.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;public Flight.FlightInfo.Builder clearFlightDescriptor()
The descriptor associated with this info.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;public Flight.FlightDescriptor.Builder getFlightDescriptorBuilder()
The descriptor associated with this info.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;public Flight.FlightDescriptorOrBuilder getFlightDescriptorOrBuilder()
The descriptor associated with this info.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;getFlightDescriptorOrBuilder in interface Flight.FlightInfoOrBuilderpublic List<Flight.FlightEndpoint> getEndpointList()
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. There is no ordering defined on endpoints. Hence, if the returned data has an ordering, it should be returned in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;getEndpointList in interface Flight.FlightInfoOrBuilderpublic int getEndpointCount()
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. There is no ordering defined on endpoints. Hence, if the returned data has an ordering, it should be returned in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;getEndpointCount in interface Flight.FlightInfoOrBuilderpublic Flight.FlightEndpoint getEndpoint(int index)
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. There is no ordering defined on endpoints. Hence, if the returned data has an ordering, it should be returned in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;getEndpoint in interface Flight.FlightInfoOrBuilderpublic Flight.FlightInfo.Builder setEndpoint(int index, Flight.FlightEndpoint value)
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. There is no ordering defined on endpoints. Hence, if the returned data has an ordering, it should be returned in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;public Flight.FlightInfo.Builder setEndpoint(int index, Flight.FlightEndpoint.Builder builderForValue)
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. There is no ordering defined on endpoints. Hence, if the returned data has an ordering, it should be returned in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;public Flight.FlightInfo.Builder addEndpoint(Flight.FlightEndpoint value)
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. There is no ordering defined on endpoints. Hence, if the returned data has an ordering, it should be returned in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;public Flight.FlightInfo.Builder addEndpoint(int index, Flight.FlightEndpoint value)
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. There is no ordering defined on endpoints. Hence, if the returned data has an ordering, it should be returned in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;public Flight.FlightInfo.Builder addEndpoint(Flight.FlightEndpoint.Builder builderForValue)
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. There is no ordering defined on endpoints. Hence, if the returned data has an ordering, it should be returned in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;public Flight.FlightInfo.Builder addEndpoint(int index, Flight.FlightEndpoint.Builder builderForValue)
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. There is no ordering defined on endpoints. Hence, if the returned data has an ordering, it should be returned in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;public Flight.FlightInfo.Builder addAllEndpoint(Iterable<? extends Flight.FlightEndpoint> values)
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. There is no ordering defined on endpoints. Hence, if the returned data has an ordering, it should be returned in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;public Flight.FlightInfo.Builder clearEndpoint()
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. There is no ordering defined on endpoints. Hence, if the returned data has an ordering, it should be returned in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;public Flight.FlightInfo.Builder removeEndpoint(int index)
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. There is no ordering defined on endpoints. Hence, if the returned data has an ordering, it should be returned in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;public Flight.FlightEndpoint.Builder getEndpointBuilder(int index)
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. There is no ordering defined on endpoints. Hence, if the returned data has an ordering, it should be returned in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;public Flight.FlightEndpointOrBuilder getEndpointOrBuilder(int index)
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. There is no ordering defined on endpoints. Hence, if the returned data has an ordering, it should be returned in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;getEndpointOrBuilder in interface Flight.FlightInfoOrBuilderpublic List<? extends Flight.FlightEndpointOrBuilder> getEndpointOrBuilderList()
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. There is no ordering defined on endpoints. Hence, if the returned data has an ordering, it should be returned in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;getEndpointOrBuilderList in interface Flight.FlightInfoOrBuilderpublic Flight.FlightEndpoint.Builder addEndpointBuilder()
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. There is no ordering defined on endpoints. Hence, if the returned data has an ordering, it should be returned in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;public Flight.FlightEndpoint.Builder addEndpointBuilder(int index)
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. There is no ordering defined on endpoints. Hence, if the returned data has an ordering, it should be returned in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;public List<Flight.FlightEndpoint.Builder> getEndpointBuilderList()
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. There is no ordering defined on endpoints. Hence, if the returned data has an ordering, it should be returned in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;public long getTotalRecords()
Set these to -1 if unknown.
int64 total_records = 4;getTotalRecords in interface Flight.FlightInfoOrBuilderpublic Flight.FlightInfo.Builder setTotalRecords(long value)
Set these to -1 if unknown.
int64 total_records = 4;value - The totalRecords to set.public Flight.FlightInfo.Builder clearTotalRecords()
Set these to -1 if unknown.
int64 total_records = 4;public long getTotalBytes()
int64 total_bytes = 5;getTotalBytes in interface Flight.FlightInfoOrBuilderpublic Flight.FlightInfo.Builder setTotalBytes(long value)
int64 total_bytes = 5;value - The totalBytes to set.public Flight.FlightInfo.Builder clearTotalBytes()
int64 total_bytes = 5;public final Flight.FlightInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightInfo.Builder>public final Flight.FlightInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightInfo.Builder>Copyright © 2022 The Apache Software Foundation. All rights reserved.