Class ProtoRows.Builder (3.2.0)

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

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

Implements

ProtoRowsOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.protobuf.ByteString>

The serializedRows to add.

Returns
TypeDescription
ProtoRows.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProtoRows.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueByteString

The serializedRows to add.

Returns
TypeDescription
ProtoRows.Builder

This builder for chaining.

build()

public ProtoRows build()
Returns
TypeDescription
ProtoRows

buildPartial()

public ProtoRows buildPartial()
Returns
TypeDescription
ProtoRows

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ProtoRows.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ProtoRows.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ProtoRows getDefaultInstanceForType()
Returns
TypeDescription
ProtoRows

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
List<ByteString>

A list containing the serializedRows.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ProtoRows other)

public ProtoRows.Builder mergeFrom(ProtoRows other)
Parameter
NameDescription
otherProtoRows
Returns
TypeDescription
ProtoRows.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ProtoRows.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueByteString

The serializedRows to set.

Returns
TypeDescription
ProtoRows.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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