public static final class Storage.ReadRowsResponse.Builder extends GeneratedMessageV3.Builder<Storage.ReadRowsResponse.Builder> implements Storage.ReadRowsResponseOrBuilder
Response from calling ReadRows
may include row data, progress and
throttling information.
Protobuf type google.cloud.bigquery.storage.v1beta1.ReadRowsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Storage.ReadRowsResponse.BuilderImplements
Storage.ReadRowsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Storage.ReadRowsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Storage.ReadRowsResponse.Builder |
build()
public Storage.ReadRowsResponse build()
Type | Description |
Storage.ReadRowsResponse |
buildPartial()
public Storage.ReadRowsResponse buildPartial()
Type | Description |
Storage.ReadRowsResponse |
clear()
public Storage.ReadRowsResponse.Builder clear()
Type | Description |
Storage.ReadRowsResponse.Builder |
clearArrowRecordBatch()
public Storage.ReadRowsResponse.Builder clearArrowRecordBatch()
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;
Type | Description |
Storage.ReadRowsResponse.Builder |
clearAvroRows()
public Storage.ReadRowsResponse.Builder clearAvroRows()
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;
Type | Description |
Storage.ReadRowsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public Storage.ReadRowsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Storage.ReadRowsResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Storage.ReadRowsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Storage.ReadRowsResponse.Builder |
clearRowCount()
public Storage.ReadRowsResponse.Builder clearRowCount()
Number of serialized rows in the rows block. This value is recorded here,
in addition to the row_count values in the output-specific messages in
rows
, so that code which needs to record progress through the stream can
do so in an output format-independent way.
int64 row_count = 6;
Type | Description |
Storage.ReadRowsResponse.Builder | This builder for chaining. |
clearRows()
public Storage.ReadRowsResponse.Builder clearRows()
Type | Description |
Storage.ReadRowsResponse.Builder |
clearStatus()
public Storage.ReadRowsResponse.Builder clearStatus()
Estimated stream statistics.
.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;
Type | Description |
Storage.ReadRowsResponse.Builder |
clearThrottleStatus()
public Storage.ReadRowsResponse.Builder clearThrottleStatus()
Throttling status. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
Type | Description |
Storage.ReadRowsResponse.Builder |
clone()
public Storage.ReadRowsResponse.Builder clone()
Type | Description |
Storage.ReadRowsResponse.Builder |
getArrowRecordBatch()
public ArrowProto.ArrowRecordBatch getArrowRecordBatch()
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;
Type | Description |
ArrowProto.ArrowRecordBatch | The arrowRecordBatch. |
getArrowRecordBatchBuilder()
public ArrowProto.ArrowRecordBatch.Builder getArrowRecordBatchBuilder()
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;
Type | Description |
ArrowProto.ArrowRecordBatch.Builder |
getArrowRecordBatchOrBuilder()
public ArrowProto.ArrowRecordBatchOrBuilder getArrowRecordBatchOrBuilder()
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;
Type | Description |
ArrowProto.ArrowRecordBatchOrBuilder |
getAvroRows()
public AvroProto.AvroRows getAvroRows()
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;
Type | Description |
AvroProto.AvroRows | The avroRows. |
getAvroRowsBuilder()
public AvroProto.AvroRows.Builder getAvroRowsBuilder()
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;
Type | Description |
AvroProto.AvroRows.Builder |
getAvroRowsOrBuilder()
public AvroProto.AvroRowsOrBuilder getAvroRowsOrBuilder()
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;
Type | Description |
AvroProto.AvroRowsOrBuilder |
getDefaultInstanceForType()
public Storage.ReadRowsResponse getDefaultInstanceForType()
Type | Description |
Storage.ReadRowsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getRowCount()
public long getRowCount()
Number of serialized rows in the rows block. This value is recorded here,
in addition to the row_count values in the output-specific messages in
rows
, so that code which needs to record progress through the stream can
do so in an output format-independent way.
int64 row_count = 6;
Type | Description |
long | The rowCount. |
getRowsCase()
public Storage.ReadRowsResponse.RowsCase getRowsCase()
Type | Description |
Storage.ReadRowsResponse.RowsCase |
getStatus()
public Storage.StreamStatus getStatus()
Estimated stream statistics.
.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;
Type | Description |
Storage.StreamStatus | The status. |
getStatusBuilder()
public Storage.StreamStatus.Builder getStatusBuilder()
Estimated stream statistics.
.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;
Type | Description |
Storage.StreamStatus.Builder |
getStatusOrBuilder()
public Storage.StreamStatusOrBuilder getStatusOrBuilder()
Estimated stream statistics.
.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;
Type | Description |
Storage.StreamStatusOrBuilder |
getThrottleStatus()
public Storage.ThrottleStatus getThrottleStatus()
Throttling status. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
Type | Description |
Storage.ThrottleStatus | The throttleStatus. |
getThrottleStatusBuilder()
public Storage.ThrottleStatus.Builder getThrottleStatusBuilder()
Throttling status. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
Type | Description |
Storage.ThrottleStatus.Builder |
getThrottleStatusOrBuilder()
public Storage.ThrottleStatusOrBuilder getThrottleStatusOrBuilder()
Throttling status. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
Type | Description |
Storage.ThrottleStatusOrBuilder |
hasArrowRecordBatch()
public boolean hasArrowRecordBatch()
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;
Type | Description |
boolean | Whether the arrowRecordBatch field is set. |
hasAvroRows()
public boolean hasAvroRows()
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;
Type | Description |
boolean | Whether the avroRows field is set. |
hasStatus()
public boolean hasStatus()
Estimated stream statistics.
.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;
Type | Description |
boolean | Whether the status field is set. |
hasThrottleStatus()
public boolean hasThrottleStatus()
Throttling status. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
Type | Description |
boolean | Whether the throttleStatus field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeArrowRecordBatch(ArrowProto.ArrowRecordBatch value)
public Storage.ReadRowsResponse.Builder mergeArrowRecordBatch(ArrowProto.ArrowRecordBatch value)
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;
Name | Description |
value | ArrowProto.ArrowRecordBatch |
Type | Description |
Storage.ReadRowsResponse.Builder |
mergeAvroRows(AvroProto.AvroRows value)
public Storage.ReadRowsResponse.Builder mergeAvroRows(AvroProto.AvroRows value)
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;
Name | Description |
value | AvroProto.AvroRows |
Type | Description |
Storage.ReadRowsResponse.Builder |
mergeFrom(Storage.ReadRowsResponse other)
public Storage.ReadRowsResponse.Builder mergeFrom(Storage.ReadRowsResponse other)
Name | Description |
other | Storage.ReadRowsResponse |
Type | Description |
Storage.ReadRowsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Storage.ReadRowsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Storage.ReadRowsResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Storage.ReadRowsResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Storage.ReadRowsResponse.Builder |
mergeStatus(Storage.StreamStatus value)
public Storage.ReadRowsResponse.Builder mergeStatus(Storage.StreamStatus value)
Estimated stream statistics.
.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;
Name | Description |
value | Storage.StreamStatus |
Type | Description |
Storage.ReadRowsResponse.Builder |
mergeThrottleStatus(Storage.ThrottleStatus value)
public Storage.ReadRowsResponse.Builder mergeThrottleStatus(Storage.ThrottleStatus value)
Throttling status. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
Name | Description |
value | Storage.ThrottleStatus |
Type | Description |
Storage.ReadRowsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Storage.ReadRowsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Storage.ReadRowsResponse.Builder |
setArrowRecordBatch(ArrowProto.ArrowRecordBatch value)
public Storage.ReadRowsResponse.Builder setArrowRecordBatch(ArrowProto.ArrowRecordBatch value)
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;
Name | Description |
value | ArrowProto.ArrowRecordBatch |
Type | Description |
Storage.ReadRowsResponse.Builder |
setArrowRecordBatch(ArrowProto.ArrowRecordBatch.Builder builderForValue)
public Storage.ReadRowsResponse.Builder setArrowRecordBatch(ArrowProto.ArrowRecordBatch.Builder builderForValue)
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;
Name | Description |
builderForValue | ArrowProto.ArrowRecordBatch.Builder |
Type | Description |
Storage.ReadRowsResponse.Builder |
setAvroRows(AvroProto.AvroRows value)
public Storage.ReadRowsResponse.Builder setAvroRows(AvroProto.AvroRows value)
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;
Name | Description |
value | AvroProto.AvroRows |
Type | Description |
Storage.ReadRowsResponse.Builder |
setAvroRows(AvroProto.AvroRows.Builder builderForValue)
public Storage.ReadRowsResponse.Builder setAvroRows(AvroProto.AvroRows.Builder builderForValue)
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;
Name | Description |
builderForValue | AvroProto.AvroRows.Builder |
Type | Description |
Storage.ReadRowsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Storage.ReadRowsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Storage.ReadRowsResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Storage.ReadRowsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Storage.ReadRowsResponse.Builder |
setRowCount(long value)
public Storage.ReadRowsResponse.Builder setRowCount(long value)
Number of serialized rows in the rows block. This value is recorded here,
in addition to the row_count values in the output-specific messages in
rows
, so that code which needs to record progress through the stream can
do so in an output format-independent way.
int64 row_count = 6;
Name | Description |
value | long The rowCount to set. |
Type | Description |
Storage.ReadRowsResponse.Builder | This builder for chaining. |
setStatus(Storage.StreamStatus value)
public Storage.ReadRowsResponse.Builder setStatus(Storage.StreamStatus value)
Estimated stream statistics.
.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;
Name | Description |
value | Storage.StreamStatus |
Type | Description |
Storage.ReadRowsResponse.Builder |
setStatus(Storage.StreamStatus.Builder builderForValue)
public Storage.ReadRowsResponse.Builder setStatus(Storage.StreamStatus.Builder builderForValue)
Estimated stream statistics.
.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;
Name | Description |
builderForValue | Storage.StreamStatus.Builder |
Type | Description |
Storage.ReadRowsResponse.Builder |
setThrottleStatus(Storage.ThrottleStatus value)
public Storage.ReadRowsResponse.Builder setThrottleStatus(Storage.ThrottleStatus value)
Throttling status. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
Name | Description |
value | Storage.ThrottleStatus |
Type | Description |
Storage.ReadRowsResponse.Builder |
setThrottleStatus(Storage.ThrottleStatus.Builder builderForValue)
public Storage.ReadRowsResponse.Builder setThrottleStatus(Storage.ThrottleStatus.Builder builderForValue)
Throttling status. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
Name | Description |
builderForValue | Storage.ThrottleStatus.Builder |
Type | Description |
Storage.ReadRowsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Storage.ReadRowsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Storage.ReadRowsResponse.Builder |