Class Storage.ReadRowsResponse.Builder (2.34.2)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Storage.ReadRowsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Storage.ReadRowsResponse.Builder
Overrides

build()

public Storage.ReadRowsResponse build()
Returns
TypeDescription
Storage.ReadRowsResponse

buildPartial()

public Storage.ReadRowsResponse buildPartial()
Returns
TypeDescription
Storage.ReadRowsResponse

clear()

public Storage.ReadRowsResponse.Builder clear()
Returns
TypeDescription
Storage.ReadRowsResponse.Builder
Overrides

clearArrowRecordBatch()

public Storage.ReadRowsResponse.Builder clearArrowRecordBatch()

Serialized row data in Arrow RecordBatch format.

.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;

Returns
TypeDescription
Storage.ReadRowsResponse.Builder

clearAvroRows()

public Storage.ReadRowsResponse.Builder clearAvroRows()

Serialized row data in AVRO format.

.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;

Returns
TypeDescription
Storage.ReadRowsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public Storage.ReadRowsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Storage.ReadRowsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Storage.ReadRowsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Storage.ReadRowsResponse.Builder
Overrides

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;

Returns
TypeDescription
Storage.ReadRowsResponse.Builder

This builder for chaining.

clearRows()

public Storage.ReadRowsResponse.Builder clearRows()
Returns
TypeDescription
Storage.ReadRowsResponse.Builder

clearStatus()

public Storage.ReadRowsResponse.Builder clearStatus()

Estimated stream statistics.

.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;

Returns
TypeDescription
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;

Returns
TypeDescription
Storage.ReadRowsResponse.Builder

clone()

public Storage.ReadRowsResponse.Builder clone()
Returns
TypeDescription
Storage.ReadRowsResponse.Builder
Overrides

getArrowRecordBatch()

public ArrowProto.ArrowRecordBatch getArrowRecordBatch()

Serialized row data in Arrow RecordBatch format.

.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
ArrowProto.ArrowRecordBatchOrBuilder

getAvroRows()

public AvroProto.AvroRows getAvroRows()

Serialized row data in AVRO format.

.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;

Returns
TypeDescription
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;

Returns
TypeDescription
AvroProto.AvroRows.Builder

getAvroRowsOrBuilder()

public AvroProto.AvroRowsOrBuilder getAvroRowsOrBuilder()

Serialized row data in AVRO format.

.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;

Returns
TypeDescription
AvroProto.AvroRowsOrBuilder

getDefaultInstanceForType()

public Storage.ReadRowsResponse getDefaultInstanceForType()
Returns
TypeDescription
Storage.ReadRowsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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;

Returns
TypeDescription
long

The rowCount.

getRowsCase()

public Storage.ReadRowsResponse.RowsCase getRowsCase()
Returns
TypeDescription
Storage.ReadRowsResponse.RowsCase

getStatus()

public Storage.StreamStatus getStatus()

Estimated stream statistics.

.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;

Returns
TypeDescription
Storage.StreamStatus

The status.

getStatusBuilder()

public Storage.StreamStatus.Builder getStatusBuilder()

Estimated stream statistics.

.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;

Returns
TypeDescription
Storage.StreamStatus.Builder

getStatusOrBuilder()

public Storage.StreamStatusOrBuilder getStatusOrBuilder()

Estimated stream statistics.

.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
Storage.ThrottleStatusOrBuilder

hasArrowRecordBatch()

public boolean hasArrowRecordBatch()

Serialized row data in Arrow RecordBatch format.

.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;

Returns
TypeDescription
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;

Returns
TypeDescription
boolean

Whether the avroRows field is set.

hasStatus()

public boolean hasStatus()

Estimated stream statistics.

.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;

Returns
TypeDescription
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;

Returns
TypeDescription
boolean

Whether the throttleStatus field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

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;

Parameter
NameDescription
valueArrowProto.ArrowRecordBatch
Returns
TypeDescription
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;

Parameter
NameDescription
valueAvroProto.AvroRows
Returns
TypeDescription
Storage.ReadRowsResponse.Builder

mergeFrom(Storage.ReadRowsResponse other)

public Storage.ReadRowsResponse.Builder mergeFrom(Storage.ReadRowsResponse other)
Parameter
NameDescription
otherStorage.ReadRowsResponse
Returns
TypeDescription
Storage.ReadRowsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Storage.ReadRowsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.ReadRowsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Storage.ReadRowsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Storage.ReadRowsResponse.Builder
Overrides

mergeStatus(Storage.StreamStatus value)

public Storage.ReadRowsResponse.Builder mergeStatus(Storage.StreamStatus value)

Estimated stream statistics.

.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;

Parameter
NameDescription
valueStorage.StreamStatus
Returns
TypeDescription
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;

Parameter
NameDescription
valueStorage.ThrottleStatus
Returns
TypeDescription
Storage.ReadRowsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Storage.ReadRowsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Storage.ReadRowsResponse.Builder
Overrides

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;

Parameter
NameDescription
valueArrowProto.ArrowRecordBatch
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueArrowProto.ArrowRecordBatch.Builder
Returns
TypeDescription
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;

Parameter
NameDescription
valueAvroProto.AvroRows
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueAvroProto.AvroRows.Builder
Returns
TypeDescription
Storage.ReadRowsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Storage.ReadRowsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Storage.ReadRowsResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Storage.ReadRowsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Storage.ReadRowsResponse.Builder
Overrides

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;

Parameter
NameDescription
valuelong

The rowCount to set.

Returns
TypeDescription
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;

Parameter
NameDescription
valueStorage.StreamStatus
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueStorage.StreamStatus.Builder
Returns
TypeDescription
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;

Parameter
NameDescription
valueStorage.ThrottleStatus
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueStorage.ThrottleStatus.Builder
Returns
TypeDescription
Storage.ReadRowsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Storage.ReadRowsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Storage.ReadRowsResponse.Builder
Overrides