Class AvroProto.AvroRows.Builder (3.20.0)

public static final class AvroProto.AvroRows.Builder extends GeneratedMessage.Builder<AvroProto.AvroRows.Builder> implements AvroProto.AvroRowsOrBuilder

Avro rows.

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

Static Methods

getDescriptor()

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

Methods

build()

public AvroProto.AvroRows build()
Returns
Type Description
AvroProto.AvroRows

buildPartial()

public AvroProto.AvroRows buildPartial()
Returns
Type Description
AvroProto.AvroRows

clear()

public AvroProto.AvroRows.Builder clear()
Returns
Type Description
AvroProto.AvroRows.Builder
Overrides

clearRowCount()

public AvroProto.AvroRows.Builder clearRowCount()

The count of rows in the returning block.

int64 row_count = 2;

Returns
Type Description
AvroProto.AvroRows.Builder

This builder for chaining.

clearSerializedBinaryRows()

public AvroProto.AvroRows.Builder clearSerializedBinaryRows()

Binary serialized rows in a block.

bytes serialized_binary_rows = 1;

Returns
Type Description
AvroProto.AvroRows.Builder

This builder for chaining.

getDefaultInstanceForType()

public AvroProto.AvroRows getDefaultInstanceForType()
Returns
Type Description
AvroProto.AvroRows

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.

getSerializedBinaryRows()

public ByteString getSerializedBinaryRows()

Binary serialized rows in a block.

bytes serialized_binary_rows = 1;

Returns
Type Description
ByteString

The serializedBinaryRows.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AvroProto.AvroRows other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setRowCount(long value)

public AvroProto.AvroRows.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
AvroProto.AvroRows.Builder

This builder for chaining.

setSerializedBinaryRows(ByteString value)

public AvroProto.AvroRows.Builder setSerializedBinaryRows(ByteString value)

Binary serialized rows in a block.

bytes serialized_binary_rows = 1;

Parameter
Name Description
value ByteString

The serializedBinaryRows to set.

Returns
Type Description
AvroProto.AvroRows.Builder

This builder for chaining.