Class ArrowProto.ArrowRecordBatch.Builder (3.11.0)

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

Arrow RecordBatch.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ArrowProto.ArrowRecordBatch build()
Returns
Type Description
ArrowProto.ArrowRecordBatch

buildPartial()

public ArrowProto.ArrowRecordBatch buildPartial()
Returns
Type Description
ArrowProto.ArrowRecordBatch

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRowCount()

public ArrowProto.ArrowRecordBatch.Builder clearRowCount()

The count of rows in the returning block.

int64 row_count = 2;

Returns
Type Description
ArrowProto.ArrowRecordBatch.Builder

This builder for chaining.

clearSerializedRecordBatch()

public ArrowProto.ArrowRecordBatch.Builder clearSerializedRecordBatch()

IPC serialized Arrow RecordBatch.

bytes serialized_record_batch = 1;

Returns
Type Description
ArrowProto.ArrowRecordBatch.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ArrowProto.ArrowRecordBatch getDefaultInstanceForType()
Returns
Type Description
ArrowProto.ArrowRecordBatch

getDescriptorForType()

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

getRowCount()

public long getRowCount()

The count of rows in the returning block.

int64 row_count = 2;

Returns
Type Description
long

The rowCount.

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(ArrowProto.ArrowRecordBatch other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRowCount(long value)

public ArrowProto.ArrowRecordBatch.Builder setRowCount(long value)

The count of rows in the returning block.

int64 row_count = 2;

Parameter
Name Description
value long

The rowCount to set.

Returns
Type Description
ArrowProto.ArrowRecordBatch.Builder

This builder for chaining.

setSerializedRecordBatch(ByteString value)

public ArrowProto.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
ArrowProto.ArrowRecordBatch.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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