Class ProtoRows.Builder (3.5.2)

public static final class ProtoRows.Builder extends GeneratedMessageV3.Builder<ProtoRows.Builder> implements ProtoRowsOrBuilder

Protobuf type google.cloud.bigquery.storage.v1.ProtoRows

Implements

ProtoRowsOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllSerializedRows(Iterable<? extends ByteString> values)

public ProtoRows.Builder addAllSerializedRows(Iterable<? extends ByteString> values)

A sequence of rows serialized as a Protocol Buffer.

See https://developers.google.com/protocol-buffers/docs/overview for more information on deserializing this field.

repeated bytes serialized_rows = 1;

Parameter
Name Description
values Iterable<? extends com.google.protobuf.ByteString>

The serializedRows to add.

Returns
Type Description
ProtoRows.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSerializedRows(ByteString value)

public ProtoRows.Builder addSerializedRows(ByteString value)

A sequence of rows serialized as a Protocol Buffer.

See https://developers.google.com/protocol-buffers/docs/overview for more information on deserializing this field.

repeated bytes serialized_rows = 1;

Parameter
Name Description
value ByteString

The serializedRows to add.

Returns
Type Description
ProtoRows.Builder

This builder for chaining.

build()

public ProtoRows build()
Returns
Type Description
ProtoRows

buildPartial()

public ProtoRows buildPartial()
Returns
Type Description
ProtoRows

clear()

public ProtoRows.Builder clear()
Returns
Type Description
ProtoRows.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ProtoRows.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ProtoRows.Builder
Overrides

clearSerializedRows()

public ProtoRows.Builder clearSerializedRows()

A sequence of rows serialized as a Protocol Buffer.

See https://developers.google.com/protocol-buffers/docs/overview for more information on deserializing this field.

repeated bytes serialized_rows = 1;

Returns
Type Description
ProtoRows.Builder

This builder for chaining.

clone()

public ProtoRows.Builder clone()
Returns
Type Description
ProtoRows.Builder
Overrides

getDefaultInstanceForType()

public ProtoRows getDefaultInstanceForType()
Returns
Type Description
ProtoRows

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSerializedRows(int index)

public ByteString getSerializedRows(int index)

A sequence of rows serialized as a Protocol Buffer.

See https://developers.google.com/protocol-buffers/docs/overview for more information on deserializing this field.

repeated bytes serialized_rows = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
ByteString

The serializedRows at the given index.

getSerializedRowsCount()

public int getSerializedRowsCount()

A sequence of rows serialized as a Protocol Buffer.

See https://developers.google.com/protocol-buffers/docs/overview for more information on deserializing this field.

repeated bytes serialized_rows = 1;

Returns
Type Description
int

The count of serializedRows.

getSerializedRowsList()

public List<ByteString> getSerializedRowsList()

A sequence of rows serialized as a Protocol Buffer.

See https://developers.google.com/protocol-buffers/docs/overview for more information on deserializing this field.

repeated bytes serialized_rows = 1;

Returns
Type Description
List<ByteString>

A list containing the serializedRows.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ProtoRows other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ProtoRows.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ProtoRows.Builder
Overrides

setSerializedRows(int index, ByteString value)

public ProtoRows.Builder setSerializedRows(int index, ByteString value)

A sequence of rows serialized as a Protocol Buffer.

See https://developers.google.com/protocol-buffers/docs/overview for more information on deserializing this field.

repeated bytes serialized_rows = 1;

Parameters
Name Description
index int

The index to set the value at.

value ByteString

The serializedRows to set.

Returns
Type Description
ProtoRows.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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