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, 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.FlightData.Builder>
public Flight.FlightData.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.FlightData.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.FlightData.Builder>
public Flight.FlightData getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Flight.FlightData build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Flight.FlightData buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Flight.FlightData.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Flight.FlightData.Builder>
IOException
public 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.FlightDataOrBuilder
public 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.FlightDataOrBuilder
public 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.FlightDataOrBuilder
public com.google.protobuf.ByteString getDataHeader()
Header for message data as described in Message.fbs::Message.
bytes data_header = 2;
getDataHeader
in interface Flight.FlightDataOrBuilder
public 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.FlightDataOrBuilder
public 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.FlightDataOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightData.Builder>
Copyright © 2023 The Apache Software Foundation. All rights reserved.