public static final class AvroRows.Builder extends GeneratedMessage.Builder<AvroRows.Builder> implements AvroRowsOrBuilderAvro rows.
Protobuf type google.cloud.bigquery.storage.v1.AvroRows
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AvroRows.BuilderImplements
AvroRowsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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];
| Returns | |
|---|---|
| Type | Description |
AvroRows.Builder |
This builder for chaining. |
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. |
getDefaultInstanceForType()
public AvroRows getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AvroRows |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.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 |
|
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 |
longThe rowCount to set. |
| Returns | |
|---|---|
| Type | Description |
AvroRows.Builder |
This builder for chaining. |
setSerializedBinaryRows(ByteString value)
public AvroRows.Builder setSerializedBinaryRows(ByteString value)Binary serialized rows in a block.
bytes serialized_binary_rows = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe serializedBinaryRows to set. |
| Returns | |
|---|---|
| Type | Description |
AvroRows.Builder |
This builder for chaining. |