Class AvroRows.Builder (2.44.1)

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

Avro rows.

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

Implements

AvroRowsOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AvroRows build()
Returns
TypeDescription
AvroRows

buildPartial()

public AvroRows buildPartial()
Returns
TypeDescription
AvroRows

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSerializedBinaryRows()

public AvroRows.Builder clearSerializedBinaryRows()

Binary serialized rows in a block.

bytes serialized_binary_rows = 1;

Returns
TypeDescription
AvroRows.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AvroRows getDefaultInstanceForType()
Returns
TypeDescription
AvroRows

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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(AvroRows other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public AvroRows.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AvroRows.Builder
Overrides

setSerializedBinaryRows(ByteString value)

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

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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