public static final class ProtoRows.Builder extends GeneratedMessageV3.Builder<ProtoRows.Builder> implements ProtoRowsOrBuilder
Protobuf type google.cloud.bigquery.storage.v1.ProtoRows
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.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. |
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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public ProtoRows.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ProtoRows.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ProtoRows.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
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. |
clone()
public ProtoRows.Builder clone()
Returns | |
---|---|
Type | Description |
ProtoRows.Builder |
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 |
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 |
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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProtoRows.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ProtoRows.Builder |
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 |
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 |
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 |