public static final class Flight.FlightData.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightData.Builder> implements Flight.FlightDataOrBuilder
A batch of Arrow data as part of a stream of batches.Protobuf type
arrow.flight.protocol.FlightData| Modifier and Type | Method and Description |
|---|---|
Flight.FlightData |
build() |
Flight.FlightData |
buildPartial() |
Flight.FlightData.Builder |
clear() |
Flight.FlightData.Builder |
clearAppMetadata()
Application-defined metadata.
|
Flight.FlightData.Builder |
clearDataBody()
The actual batch of Arrow data.
|
Flight.FlightData.Builder |
clearDataHeader()
Header for message data as described in Message.fbs::Message.
|
Flight.FlightData.Builder |
clearFlightDescriptor()
The descriptor of the data.
|
com.google.protobuf.ByteString |
getAppMetadata()
Application-defined metadata.
|
com.google.protobuf.ByteString |
getDataBody()
The actual batch of Arrow data.
|
com.google.protobuf.ByteString |
getDataHeader()
Header for message data as described in Message.fbs::Message.
|
Flight.FlightData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Flight.FlightDescriptor |
getFlightDescriptor()
The descriptor of the data.
|
Flight.FlightDescriptor.Builder |
getFlightDescriptorBuilder()
The descriptor of the data.
|
Flight.FlightDescriptorOrBuilder |
getFlightDescriptorOrBuilder()
The descriptor of the data.
|
boolean |
hasFlightDescriptor()
The descriptor of the data.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Flight.FlightData.Builder |
mergeFlightDescriptor(Flight.FlightDescriptor value)
The descriptor of the data.
|
Flight.FlightData.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Flight.FlightData.Builder |
mergeFrom(Flight.FlightData other) |
Flight.FlightData.Builder |
mergeFrom(com.google.protobuf.Message other) |
Flight.FlightData.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Flight.FlightData.Builder |
setAppMetadata(com.google.protobuf.ByteString value)
Application-defined metadata.
|
Flight.FlightData.Builder |
setDataBody(com.google.protobuf.ByteString value)
The actual batch of Arrow data.
|
Flight.FlightData.Builder |
setDataHeader(com.google.protobuf.ByteString value)
Header for message data as described in Message.fbs::Message.
|
Flight.FlightData.Builder |
setFlightDescriptor(Flight.FlightDescriptor.Builder builderForValue)
The descriptor of the data.
|
Flight.FlightData.Builder |
setFlightDescriptor(Flight.FlightDescriptor value)
The descriptor of the data.
|
Flight.FlightData.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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightData.Builder>public Flight.FlightData.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.FlightData.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.FlightData.Builder>public Flight.FlightData getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Flight.FlightData build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Flight.FlightData buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Flight.FlightData.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Flight.FlightData.Builder>public Flight.FlightData.Builder mergeFrom(Flight.FlightData other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightData.Builder>public Flight.FlightData.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.FlightData.Builder>IOExceptionpublic boolean hasFlightDescriptor()
The descriptor of the data. This is only relevant when a client is starting a new DoPut stream.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 1;hasFlightDescriptor in interface Flight.FlightDataOrBuilderpublic Flight.FlightDescriptor getFlightDescriptor()
The descriptor of the data. This is only relevant when a client is starting a new DoPut stream.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 1;getFlightDescriptor in interface Flight.FlightDataOrBuilderpublic Flight.FlightData.Builder setFlightDescriptor(Flight.FlightDescriptor value)
The descriptor of the data. This is only relevant when a client is starting a new DoPut stream.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 1;public Flight.FlightData.Builder setFlightDescriptor(Flight.FlightDescriptor.Builder builderForValue)
The descriptor of the data. This is only relevant when a client is starting a new DoPut stream.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 1;public Flight.FlightData.Builder mergeFlightDescriptor(Flight.FlightDescriptor value)
The descriptor of the data. This is only relevant when a client is starting a new DoPut stream.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 1;public Flight.FlightData.Builder clearFlightDescriptor()
The descriptor of the data. This is only relevant when a client is starting a new DoPut stream.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 1;public Flight.FlightDescriptor.Builder getFlightDescriptorBuilder()
The descriptor of the data. This is only relevant when a client is starting a new DoPut stream.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 1;public Flight.FlightDescriptorOrBuilder getFlightDescriptorOrBuilder()
The descriptor of the data. This is only relevant when a client is starting a new DoPut stream.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 1;getFlightDescriptorOrBuilder in interface Flight.FlightDataOrBuilderpublic com.google.protobuf.ByteString getDataHeader()
Header for message data as described in Message.fbs::Message.
bytes data_header = 2;getDataHeader in interface Flight.FlightDataOrBuilderpublic Flight.FlightData.Builder setDataHeader(com.google.protobuf.ByteString value)
Header for message data as described in Message.fbs::Message.
bytes data_header = 2;value - The dataHeader to set.public Flight.FlightData.Builder clearDataHeader()
Header for message data as described in Message.fbs::Message.
bytes data_header = 2;public com.google.protobuf.ByteString getAppMetadata()
Application-defined metadata.
bytes app_metadata = 3;getAppMetadata in interface Flight.FlightDataOrBuilderpublic Flight.FlightData.Builder setAppMetadata(com.google.protobuf.ByteString value)
Application-defined metadata.
bytes app_metadata = 3;value - The appMetadata to set.public Flight.FlightData.Builder clearAppMetadata()
Application-defined metadata.
bytes app_metadata = 3;public com.google.protobuf.ByteString getDataBody()
The actual batch of Arrow data. Preferably handled with minimal-copies coming last in the definition to help with sidecar patterns (it is expected that some implementations will fetch this field off the wire with specialized code to avoid extra memory copies).
bytes data_body = 1000;getDataBody in interface Flight.FlightDataOrBuilderpublic Flight.FlightData.Builder setDataBody(com.google.protobuf.ByteString value)
The actual batch of Arrow data. Preferably handled with minimal-copies coming last in the definition to help with sidecar patterns (it is expected that some implementations will fetch this field off the wire with specialized code to avoid extra memory copies).
bytes data_body = 1000;value - The dataBody to set.public Flight.FlightData.Builder clearDataBody()
The actual batch of Arrow data. Preferably handled with minimal-copies coming last in the definition to help with sidecar patterns (it is expected that some implementations will fetch this field off the wire with specialized code to avoid extra memory copies).
bytes data_body = 1000;public final Flight.FlightData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightData.Builder>public final Flight.FlightData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightData.Builder>Copyright © 2024 The Apache Software Foundation. All rights reserved.