public static final class AvroRows.Builder extends GeneratedMessageV3.Builder<AvroRows.Builder> implements AvroRowsOrBuilder
Avro rows.
Protobuf type google.cloud.bigquery.storage.v1.AvroRows
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AvroRows.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public AvroRows buildPartial()
clear()
public AvroRows.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AvroRows.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AvroRows.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRowCount() (deprecated)
public AvroRows.Builder clearRowCount()
Deprecated. google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. See
google/cloud/bigquery/storage/v1/avro.proto;l=39
[Deprecated] The count of rows in the returning block.
Please use the format-independent ReadRowsResponse.row_count instead.
int64 row_count = 2 [deprecated = true];
clearSerializedBinaryRows()
public AvroRows.Builder clearSerializedBinaryRows()
Binary serialized rows in a block.
bytes serialized_binary_rows = 1;
clone()
public AvroRows.Builder clone()
Overrides
getDefaultInstanceForType()
public AvroRows getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRowCount() (deprecated)
public long getRowCount()
Deprecated. google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. See
google/cloud/bigquery/storage/v1/avro.proto;l=39
[Deprecated] The count of rows in the returning block.
Please use the format-independent ReadRowsResponse.row_count instead.
int64 row_count = 2 [deprecated = true];
Returns |
---|
Type | Description |
long | The rowCount.
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AvroRows other)
public AvroRows.Builder mergeFrom(AvroRows other)
public AvroRows.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AvroRows.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AvroRows.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AvroRows.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AvroRows.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRowCount(long value) (deprecated)
public AvroRows.Builder setRowCount(long value)
Deprecated. google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. See
google/cloud/bigquery/storage/v1/avro.proto;l=39
[Deprecated] The count of rows in the returning block.
Please use the format-independent ReadRowsResponse.row_count instead.
int64 row_count = 2 [deprecated = true];
Parameter |
---|
Name | Description |
value | long
The rowCount to set.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final AvroRows.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides