Class Storage.ReadRowsResponse (2.28.1)

public static final class Storage.ReadRowsResponse extends GeneratedMessageV3 implements Storage.ReadRowsResponseOrBuilder

Response from calling ReadRows may include row data, progress and throttling information.

Protobuf type google.cloud.bigquery.storage.v1beta1.ReadRowsResponse

Static Fields

ARROW_RECORD_BATCH_FIELD_NUMBER

public static final int ARROW_RECORD_BATCH_FIELD_NUMBER
Field Value
TypeDescription
int

AVRO_ROWS_FIELD_NUMBER

public static final int AVRO_ROWS_FIELD_NUMBER
Field Value
TypeDescription
int

ROW_COUNT_FIELD_NUMBER

public static final int ROW_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

THROTTLE_STATUS_FIELD_NUMBER

public static final int THROTTLE_STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Storage.ReadRowsResponse getDefaultInstance()
Returns
TypeDescription
Storage.ReadRowsResponse

getDescriptor()

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

newBuilder()

public static Storage.ReadRowsResponse.Builder newBuilder()
Returns
TypeDescription
Storage.ReadRowsResponse.Builder

newBuilder(Storage.ReadRowsResponse prototype)

public static Storage.ReadRowsResponse.Builder newBuilder(Storage.ReadRowsResponse prototype)
Parameter
NameDescription
prototypeStorage.ReadRowsResponse
Returns
TypeDescription
Storage.ReadRowsResponse.Builder

parseDelimitedFrom(InputStream input)

public static Storage.ReadRowsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Storage.ReadRowsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.ReadRowsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.ReadRowsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Storage.ReadRowsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Storage.ReadRowsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Storage.ReadRowsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.ReadRowsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Storage.ReadRowsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Storage.ReadRowsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Storage.ReadRowsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.ReadRowsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Storage.ReadRowsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Storage.ReadRowsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.ReadRowsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.ReadRowsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Storage.ReadRowsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Storage.ReadRowsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.ReadRowsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.ReadRowsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Storage.ReadRowsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Storage.ReadRowsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Storage.ReadRowsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.ReadRowsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Storage.ReadRowsResponse> parser()
Returns
TypeDescription
Parser<ReadRowsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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.

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

getParserForType()

public Parser<Storage.ReadRowsResponse> getParserForType()
Returns
TypeDescription
Parser<ReadRowsResponse>
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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStatus()

public Storage.StreamStatus getStatus()

Estimated stream statistics.

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

Returns
TypeDescription
Storage.StreamStatus

The status.

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.

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Storage.ReadRowsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Storage.ReadRowsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException