Class ArrowRecordBatch.Builder (3.0.1)

public static final class ArrowRecordBatch.Builder extends GeneratedMessageV3.Builder<ArrowRecordBatch.Builder> implements ArrowRecordBatchOrBuilder

Arrow RecordBatch.

Protobuf type google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ArrowRecordBatch.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ArrowRecordBatch.Builder
Overrides

build()

public ArrowRecordBatch build()
Returns
TypeDescription
ArrowRecordBatch

buildPartial()

public ArrowRecordBatch buildPartial()
Returns
TypeDescription
ArrowRecordBatch

clear()

public ArrowRecordBatch.Builder clear()
Returns
TypeDescription
ArrowRecordBatch.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ArrowRecordBatch.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ArrowRecordBatch.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ArrowRecordBatch.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ArrowRecordBatch.Builder
Overrides

clearSerializedRecordBatch()

public ArrowRecordBatch.Builder clearSerializedRecordBatch()

IPC-serialized Arrow RecordBatch.

bytes serialized_record_batch = 1;

Returns
TypeDescription
ArrowRecordBatch.Builder

This builder for chaining.

clone()

public ArrowRecordBatch.Builder clone()
Returns
TypeDescription
ArrowRecordBatch.Builder
Overrides

getDefaultInstanceForType()

public ArrowRecordBatch getDefaultInstanceForType()
Returns
TypeDescription
ArrowRecordBatch

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSerializedRecordBatch()

public ByteString getSerializedRecordBatch()

IPC-serialized Arrow RecordBatch.

bytes serialized_record_batch = 1;

Returns
TypeDescription
ByteString

The serializedRecordBatch.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ArrowRecordBatch other)

public ArrowRecordBatch.Builder mergeFrom(ArrowRecordBatch other)
Parameter
NameDescription
otherArrowRecordBatch
Returns
TypeDescription
ArrowRecordBatch.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ArrowRecordBatch.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ArrowRecordBatch.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ArrowRecordBatch.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ArrowRecordBatch.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ArrowRecordBatch.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ArrowRecordBatch.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ArrowRecordBatch.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ArrowRecordBatch.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ArrowRecordBatch.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ArrowRecordBatch.Builder
Overrides

setSerializedRecordBatch(ByteString value)

public ArrowRecordBatch.Builder setSerializedRecordBatch(ByteString value)

IPC-serialized Arrow RecordBatch.

bytes serialized_record_batch = 1;

Parameter
NameDescription
valueByteString

The serializedRecordBatch to set.

Returns
TypeDescription
ArrowRecordBatch.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ArrowRecordBatch.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ArrowRecordBatch.Builder
Overrides