Class AvroProto.AvroRows.Builder (3.9.3)

public static final class AvroProto.AvroRows.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public AvroProto.AvroRows.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public AvroProto.AvroRows.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
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.

setUnknownFields(UnknownFieldSet unknownFields)

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