Class AvroProto.AvroRows.Builder (2.36.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AvroProto.AvroRows build()
Returns
TypeDescription
AvroProto.AvroRows

buildPartial()

public AvroProto.AvroRows buildPartial()
Returns
TypeDescription
AvroProto.AvroRows

clear()

public AvroProto.AvroRows.Builder clear()
Returns
TypeDescription
AvroProto.AvroRows.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AvroProto.AvroRows.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AvroProto.AvroRows.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AvroProto.AvroRows.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AvroProto.AvroRows.Builder
Overrides

clearRowCount()

public AvroProto.AvroRows.Builder clearRowCount()

The count of rows in the returning block.

int64 row_count = 2;

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

This builder for chaining.

clone()

public AvroProto.AvroRows.Builder clone()
Returns
TypeDescription
AvroProto.AvroRows.Builder
Overrides

getDefaultInstanceForType()

public AvroProto.AvroRows getDefaultInstanceForType()
Returns
TypeDescription
AvroProto.AvroRows

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.

getSerializedBinaryRows()

public ByteString getSerializedBinaryRows()

Binary serialized rows in a block.

bytes serialized_binary_rows = 1;

Returns
TypeDescription
ByteString

The serializedBinaryRows.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AvroProto.AvroRows other)

public AvroProto.AvroRows.Builder mergeFrom(AvroProto.AvroRows other)
Parameter
NameDescription
otherAvroProto.AvroRows
Returns
TypeDescription
AvroProto.AvroRows.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AvroProto.AvroRows.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AvroProto.AvroRows.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AvroProto.AvroRows.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AvroProto.AvroRows.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The rowCount to set.

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

The serializedBinaryRows to set.

Returns
TypeDescription
AvroProto.AvroRows.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AvroProto.AvroRows.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AvroProto.AvroRows.Builder
Overrides