public static final class AvroRows.Builder extends GeneratedMessageV3.Builder<AvroRows.Builder> implements AvroRowsOrBuilder
Avro rows.
Protobuf type google.cloud.bigquery.storage.v1beta2.AvroRows
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AvroRows.BuilderImplements
AvroRowsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AvroRows.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AvroRows.Builder |
build()
public AvroRows build()
Returns | |
---|---|
Type | Description |
AvroRows |
buildPartial()
public AvroRows buildPartial()
Returns | |
---|---|
Type | Description |
AvroRows |
clear()
public AvroRows.Builder clear()
Returns | |
---|---|
Type | Description |
AvroRows.Builder |
clearField(Descriptors.FieldDescriptor field)
public AvroRows.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AvroRows.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AvroRows.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AvroRows.Builder |
clearSerializedBinaryRows()
public AvroRows.Builder clearSerializedBinaryRows()
Binary serialized rows in a block.
bytes serialized_binary_rows = 1;
Returns | |
---|---|
Type | Description |
AvroRows.Builder |
This builder for chaining. |
clone()
public AvroRows.Builder clone()
Returns | |
---|---|
Type | Description |
AvroRows.Builder |
getDefaultInstanceForType()
public AvroRows getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AvroRows |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getSerializedBinaryRows()
public ByteString getSerializedBinaryRows()
Binary serialized rows in a block.
bytes serialized_binary_rows = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The serializedBinaryRows. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AvroRows other)
public AvroRows.Builder mergeFrom(AvroRows other)
Parameter | |
---|---|
Name | Description |
other |
AvroRows |
Returns | |
---|---|
Type | Description |
AvroRows.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AvroRows.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AvroRows.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AvroRows.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AvroRows.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AvroRows.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AvroRows.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AvroRows.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AvroRows.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AvroRows.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AvroRows.Builder |
setSerializedBinaryRows(ByteString value)
public AvroRows.Builder setSerializedBinaryRows(ByteString value)
Binary serialized rows in a block.
bytes serialized_binary_rows = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The serializedBinaryRows to set. |
Returns | |
---|---|
Type | Description |
AvroRows.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AvroRows.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AvroRows.Builder |