Class ArrowProto.ArrowRecordBatch.Builder (2.43.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ArrowProto.ArrowRecordBatch build()
Returns
TypeDescription
ArrowProto.ArrowRecordBatch

buildPartial()

public ArrowProto.ArrowRecordBatch buildPartial()
Returns
TypeDescription
ArrowProto.ArrowRecordBatch

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRowCount()

public ArrowProto.ArrowRecordBatch.Builder clearRowCount()

The count of rows in the returning block.

int64 row_count = 2;

Returns
TypeDescription
ArrowProto.ArrowRecordBatch.Builder

This builder for chaining.

clearSerializedRecordBatch()

public ArrowProto.ArrowRecordBatch.Builder clearSerializedRecordBatch()

IPC serialized Arrow RecordBatch.

bytes serialized_record_batch = 1;

Returns
TypeDescription
ArrowProto.ArrowRecordBatch.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ArrowProto.ArrowRecordBatch getDefaultInstanceForType()
Returns
TypeDescription
ArrowProto.ArrowRecordBatch

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRowCount()

public long getRowCount()

The count of rows in the returning block.

int64 row_count = 2;

Returns
TypeDescription
long

The rowCount.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ArrowProto.ArrowRecordBatch.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The rowCount to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The serializedRecordBatch to set.

Returns
TypeDescription
ArrowProto.ArrowRecordBatch.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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