public final class ReadRowsResponse extends com.google.protobuf.GeneratedMessageV3 implements ReadRowsResponseOrBuilder
Response from calling `ReadRows` may include row data, progress and throttling information.Protobuf type
google.cloud.bigquery.storage.v1beta2.ReadRowsResponse| Modifier and Type | Class and Description |
|---|---|
static class |
ReadRowsResponse.Builder
Response from calling `ReadRows` may include row data, progress and
throttling information.
|
static class |
ReadRowsResponse.RowsCase |
static class |
ReadRowsResponse.SchemaCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ARROW_RECORD_BATCH_FIELD_NUMBER |
static int |
ARROW_SCHEMA_FIELD_NUMBER |
static int |
AVRO_ROWS_FIELD_NUMBER |
static int |
AVRO_SCHEMA_FIELD_NUMBER |
static int |
ROW_COUNT_FIELD_NUMBER |
static int |
STATS_FIELD_NUMBER |
static int |
THROTTLE_STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ArrowRecordBatch |
getArrowRecordBatch()
Serialized row data in Arrow RecordBatch format.
|
ArrowRecordBatchOrBuilder |
getArrowRecordBatchOrBuilder()
Serialized row data in Arrow RecordBatch format.
|
ArrowSchema |
getArrowSchema()
Output only.
|
ArrowSchemaOrBuilder |
getArrowSchemaOrBuilder()
Output only.
|
AvroRows |
getAvroRows()
Serialized row data in AVRO format.
|
AvroRowsOrBuilder |
getAvroRowsOrBuilder()
Serialized row data in AVRO format.
|
AvroSchema |
getAvroSchema()
Output only.
|
AvroSchemaOrBuilder |
getAvroSchemaOrBuilder()
Output only.
|
static ReadRowsResponse |
getDefaultInstance() |
ReadRowsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ReadRowsResponse> |
getParserForType() |
long |
getRowCount()
Number of serialized rows in the rows block.
|
ReadRowsResponse.RowsCase |
getRowsCase() |
ReadRowsResponse.SchemaCase |
getSchemaCase() |
int |
getSerializedSize() |
StreamStats |
getStats()
Statistics for the stream.
|
StreamStatsOrBuilder |
getStatsOrBuilder()
Statistics for the stream.
|
ThrottleState |
getThrottleState()
Throttling state.
|
ThrottleStateOrBuilder |
getThrottleStateOrBuilder()
Throttling state.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasArrowRecordBatch()
Serialized row data in Arrow RecordBatch format.
|
boolean |
hasArrowSchema()
Output only.
|
boolean |
hasAvroRows()
Serialized row data in AVRO format.
|
boolean |
hasAvroSchema()
Output only.
|
int |
hashCode() |
boolean |
hasStats()
Statistics for the stream.
|
boolean |
hasThrottleState()
Throttling state.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ReadRowsResponse.Builder |
newBuilder() |
static ReadRowsResponse.Builder |
newBuilder(ReadRowsResponse prototype) |
ReadRowsResponse.Builder |
newBuilderForType() |
protected ReadRowsResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ReadRowsResponse |
parseDelimitedFrom(InputStream input) |
static ReadRowsResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadRowsResponse |
parseFrom(byte[] data) |
static ReadRowsResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadRowsResponse |
parseFrom(ByteBuffer data) |
static ReadRowsResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadRowsResponse |
parseFrom(com.google.protobuf.ByteString data) |
static ReadRowsResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadRowsResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ReadRowsResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadRowsResponse |
parseFrom(InputStream input) |
static ReadRowsResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ReadRowsResponse> |
parser() |
ReadRowsResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int AVRO_ROWS_FIELD_NUMBER
public static final int ARROW_RECORD_BATCH_FIELD_NUMBER
public static final int ROW_COUNT_FIELD_NUMBER
public static final int STATS_FIELD_NUMBER
public static final int THROTTLE_STATE_FIELD_NUMBER
public static final int AVRO_SCHEMA_FIELD_NUMBER
public static final int ARROW_SCHEMA_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ReadRowsResponse.RowsCase getRowsCase()
getRowsCase in interface ReadRowsResponseOrBuilderpublic ReadRowsResponse.SchemaCase getSchemaCase()
getSchemaCase in interface ReadRowsResponseOrBuilderpublic boolean hasAvroRows()
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3;hasAvroRows in interface ReadRowsResponseOrBuilderpublic AvroRows getAvroRows()
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3;getAvroRows in interface ReadRowsResponseOrBuilderpublic AvroRowsOrBuilder getAvroRowsOrBuilder()
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3;getAvroRowsOrBuilder in interface ReadRowsResponseOrBuilderpublic boolean hasArrowRecordBatch()
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4;hasArrowRecordBatch in interface ReadRowsResponseOrBuilderpublic ArrowRecordBatch getArrowRecordBatch()
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4;getArrowRecordBatch in interface ReadRowsResponseOrBuilderpublic ArrowRecordBatchOrBuilder getArrowRecordBatchOrBuilder()
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4;getArrowRecordBatchOrBuilder in interface ReadRowsResponseOrBuilderpublic long getRowCount()
Number of serialized rows in the rows block.
int64 row_count = 6;getRowCount in interface ReadRowsResponseOrBuilderpublic boolean hasStats()
Statistics for the stream.
.google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2;hasStats in interface ReadRowsResponseOrBuilderpublic StreamStats getStats()
Statistics for the stream.
.google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2;getStats in interface ReadRowsResponseOrBuilderpublic StreamStatsOrBuilder getStatsOrBuilder()
Statistics for the stream.
.google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2;getStatsOrBuilder in interface ReadRowsResponseOrBuilderpublic boolean hasThrottleState()
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;hasThrottleState in interface ReadRowsResponseOrBuilderpublic ThrottleState getThrottleState()
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;getThrottleState in interface ReadRowsResponseOrBuilderpublic ThrottleStateOrBuilder getThrottleStateOrBuilder()
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;getThrottleStateOrBuilder in interface ReadRowsResponseOrBuilderpublic boolean hasAvroSchema()
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasAvroSchema in interface ReadRowsResponseOrBuilderpublic AvroSchema getAvroSchema()
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAvroSchema in interface ReadRowsResponseOrBuilderpublic AvroSchemaOrBuilder getAvroSchemaOrBuilder()
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAvroSchemaOrBuilder in interface ReadRowsResponseOrBuilderpublic boolean hasArrowSchema()
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasArrowSchema in interface ReadRowsResponseOrBuilderpublic ArrowSchema getArrowSchema()
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getArrowSchema in interface ReadRowsResponseOrBuilderpublic ArrowSchemaOrBuilder getArrowSchemaOrBuilder()
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getArrowSchemaOrBuilder in interface ReadRowsResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ReadRowsResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadRowsResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadRowsResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadRowsResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadRowsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadRowsResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadRowsResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static ReadRowsResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReadRowsResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ReadRowsResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReadRowsResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ReadRowsResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ReadRowsResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ReadRowsResponse.Builder newBuilder()
public static ReadRowsResponse.Builder newBuilder(ReadRowsResponse prototype)
public ReadRowsResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ReadRowsResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ReadRowsResponse getDefaultInstance()
public static com.google.protobuf.Parser<ReadRowsResponse> parser()
public com.google.protobuf.Parser<ReadRowsResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ReadRowsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2021 Google LLC. All rights reserved.