Class ArrowRecordBatch.Builder (3.8.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ArrowRecordBatch.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ArrowRecordBatch.Builder
Overrides

build()

public ArrowRecordBatch build()
Returns
Type Description
ArrowRecordBatch

buildPartial()

public ArrowRecordBatch buildPartial()
Returns
Type Description
ArrowRecordBatch

clear()

public ArrowRecordBatch.Builder clear()
Returns
Type Description
ArrowRecordBatch.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ArrowRecordBatch.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ArrowRecordBatch.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ArrowRecordBatch.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ArrowRecordBatch.Builder
Overrides

clearSerializedRecordBatch()

public ArrowRecordBatch.Builder clearSerializedRecordBatch()

IPC-serialized Arrow RecordBatch.

bytes serialized_record_batch = 1;

Returns
Type Description
ArrowRecordBatch.Builder

This builder for chaining.

clone()

public ArrowRecordBatch.Builder clone()
Returns
Type Description
ArrowRecordBatch.Builder
Overrides

getDefaultInstanceForType()

public ArrowRecordBatch getDefaultInstanceForType()
Returns
Type Description
ArrowRecordBatch

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSerializedRecordBatch()

public ByteString getSerializedRecordBatch()

IPC-serialized Arrow RecordBatch.

bytes serialized_record_batch = 1;

Returns
Type Description
ByteString

The serializedRecordBatch.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ArrowRecordBatch other)

public ArrowRecordBatch.Builder mergeFrom(ArrowRecordBatch other)
Parameter
Name Description
other ArrowRecordBatch
Returns
Type Description
ArrowRecordBatch.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ArrowRecordBatch.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ArrowRecordBatch.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ArrowRecordBatch.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ArrowRecordBatch.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ArrowRecordBatch.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ArrowRecordBatch.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ArrowRecordBatch.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ArrowRecordBatch.Builder
Overrides

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

public ArrowRecordBatch.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ArrowRecordBatch.Builder
Overrides

setSerializedRecordBatch(ByteString value)

public ArrowRecordBatch.Builder setSerializedRecordBatch(ByteString value)

IPC-serialized Arrow RecordBatch.

bytes serialized_record_batch = 1;

Parameter
Name Description
value ByteString

The serializedRecordBatch to set.

Returns
Type Description
ArrowRecordBatch.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ArrowRecordBatch.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ArrowRecordBatch.Builder
Overrides