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 |
build() |
Flight.FlightInfo |
buildPartial() |
Flight.FlightInfo.Builder |
clear() |
Flight.FlightInfo.Builder |
clearAppMetadata()
Application-defined metadata.
|
Flight.FlightInfo.Builder |
clearEndpoint()
A list of endpoints associated with the flight.
|
Flight.FlightInfo.Builder |
clearFlightDescriptor()
The descriptor associated with this info.
|
Flight.FlightInfo.Builder |
clearOrdered()
FlightEndpoints are in the same order as the data.
|
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.
|
com.google.protobuf.ByteString |
getAppMetadata()
Application-defined metadata.
|
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.
|
boolean |
getOrdered()
FlightEndpoints are in the same order as the data.
|
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 |
setAppMetadata(com.google.protobuf.ByteString value)
Application-defined metadata.
|
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 |
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 |
setOrdered(boolean value)
FlightEndpoints are in the same order as the data.
|
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) |
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.FlightInfo.Builder>
public Flight.FlightInfo.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.FlightInfo.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.FlightInfo.Builder>
public Flight.FlightInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Flight.FlightInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Flight.FlightInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Flight.FlightInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Flight.FlightInfo.Builder>
IOException
public 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.FlightInfoOrBuilder
public 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.FlightInfoOrBuilder
public Flight.FlightDescriptor getFlightDescriptor()
The descriptor associated with this info.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;
getFlightDescriptor
in interface Flight.FlightInfoOrBuilder
public 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.FlightInfoOrBuilder
public 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. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;
getEndpointList
in interface Flight.FlightInfoOrBuilder
public 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. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;
getEndpointCount
in interface Flight.FlightInfoOrBuilder
public 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. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;
getEndpoint
in interface Flight.FlightInfoOrBuilder
public 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. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data 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. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data 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. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data 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. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data 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. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data 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. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data 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. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data 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. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data 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. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data 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. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data 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. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;
getEndpointOrBuilder
in interface Flight.FlightInfoOrBuilder
public 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. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;
getEndpointOrBuilderList
in interface Flight.FlightInfoOrBuilder
public 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. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data 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. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data 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. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data 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.FlightInfoOrBuilder
public 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.FlightInfoOrBuilder
public 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 boolean getOrdered()
FlightEndpoints are in the same order as the data.
bool ordered = 6;
getOrdered
in interface Flight.FlightInfoOrBuilder
public Flight.FlightInfo.Builder setOrdered(boolean value)
FlightEndpoints are in the same order as the data.
bool ordered = 6;
value
- The ordered to set.public Flight.FlightInfo.Builder clearOrdered()
FlightEndpoints are in the same order as the data.
bool ordered = 6;
public com.google.protobuf.ByteString getAppMetadata()
Application-defined metadata. There is no inherent or required relationship between this and the app_metadata fields in the FlightEndpoints or resulting FlightData messages. Since this metadata is application-defined, a given application could define there to be a relationship, but there is none required by the spec.
bytes app_metadata = 7;
getAppMetadata
in interface Flight.FlightInfoOrBuilder
public Flight.FlightInfo.Builder setAppMetadata(com.google.protobuf.ByteString value)
Application-defined metadata. There is no inherent or required relationship between this and the app_metadata fields in the FlightEndpoints or resulting FlightData messages. Since this metadata is application-defined, a given application could define there to be a relationship, but there is none required by the spec.
bytes app_metadata = 7;
value
- The appMetadata to set.public Flight.FlightInfo.Builder clearAppMetadata()
Application-defined metadata. There is no inherent or required relationship between this and the app_metadata fields in the FlightEndpoints or resulting FlightData messages. Since this metadata is application-defined, a given application could define there to be a relationship, but there is none required by the spec.
bytes app_metadata = 7;
public final Flight.FlightInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightInfo.Builder>
Copyright © 2023 The Apache Software Foundation. All rights reserved.