public static final class ProtoRows.Builder extends GeneratedMessage.Builder<ProtoRows.Builder> implements ProtoRowsOrBuilderProtobuf type google.cloud.bigquery.storage.v1.ProtoRows
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ProtoRows.BuilderImplements
ProtoRowsOrBuilderStatic 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. |
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 |
ByteStringThe 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 |
|
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. |
getDefaultInstanceForType()
public ProtoRows getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ProtoRows |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
intThe 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ProtoRows.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ProtoRows.Builder |
|
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 |
intThe index to set the value at. |
value |
ByteStringThe serializedRows to set. |
| Returns | |
|---|---|
| Type | Description |
ProtoRows.Builder |
This builder for chaining. |