Class ArrowRecordBatch.Builder (3.5.2)

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

Arrow RecordBatch.

Protobuf type google.cloud.bigquery.storage.v1.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

clearRowCount() (deprecated)

public ArrowRecordBatch.Builder clearRowCount()

Deprecated. google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. See google/cloud/bigquery/storage/v1/arrow.proto;l=43

[Deprecated] The count of rows in serialized_record_batch. Please use the format-independent ReadRowsResponse.row_count instead.

int64 row_count = 2 [deprecated = true];

Returns
Type Description
ArrowRecordBatch.Builder

This builder for chaining.

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

getRowCount() (deprecated)

public long getRowCount()

Deprecated. google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. See google/cloud/bigquery/storage/v1/arrow.proto;l=43

[Deprecated] The count of rows in serialized_record_batch. Please use the format-independent ReadRowsResponse.row_count instead.

int64 row_count = 2 [deprecated = true];

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(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

setRowCount(long value) (deprecated)

public ArrowRecordBatch.Builder setRowCount(long value)

Deprecated. google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. See google/cloud/bigquery/storage/v1/arrow.proto;l=43

[Deprecated] The count of rows in serialized_record_batch. Please use the format-independent ReadRowsResponse.row_count instead.

int64 row_count = 2 [deprecated = true];

Parameter
Name Description
value long

The rowCount to set.

Returns
Type Description
ArrowRecordBatch.Builder

This builder for chaining.

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