Class ReadRowsResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse
- All Implemented Interfaces:
ReadRowsResponseOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classResponse from calling `ReadRows` may include row data, progress and throttling information.static enumstatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanSerialized row data in Arrow RecordBatch format.Serialized row data in Arrow RecordBatch format.Output only.Output only.Serialized row data in AVRO format.Serialized row data in AVRO format.Output only.Output only.static ReadRowsResponsestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<ReadRowsResponse>longNumber of serialized rows in the rows block.intgetStats()Statistics for the stream.Statistics for the stream.Throttling state.Throttling state.booleanSerialized row data in Arrow RecordBatch format.booleanOutput only.booleanSerialized row data in AVRO format.booleanOutput only.inthashCode()booleanhasStats()Statistics for the stream.booleanThrottling state.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ReadRowsResponse.Builderstatic ReadRowsResponse.BuildernewBuilder(ReadRowsResponse prototype) protected ReadRowsResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ReadRowsResponseparseDelimitedFrom(InputStream input) static ReadRowsResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReadRowsResponseparseFrom(byte[] data) static ReadRowsResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReadRowsResponseparseFrom(com.google.protobuf.ByteString data) static ReadRowsResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReadRowsResponseparseFrom(com.google.protobuf.CodedInputStream input) static ReadRowsResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReadRowsResponseparseFrom(InputStream input) static ReadRowsResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReadRowsResponseparseFrom(ByteBuffer data) static ReadRowsResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ReadRowsResponse>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
AVRO_ROWS_FIELD_NUMBER
public static final int AVRO_ROWS_FIELD_NUMBER- See Also:
-
ARROW_RECORD_BATCH_FIELD_NUMBER
public static final int ARROW_RECORD_BATCH_FIELD_NUMBER- See Also:
-
ROW_COUNT_FIELD_NUMBER
public static final int ROW_COUNT_FIELD_NUMBER- See Also:
-
STATS_FIELD_NUMBER
public static final int STATS_FIELD_NUMBER- See Also:
-
THROTTLE_STATE_FIELD_NUMBER
public static final int THROTTLE_STATE_FIELD_NUMBER- See Also:
-
AVRO_SCHEMA_FIELD_NUMBER
public static final int AVRO_SCHEMA_FIELD_NUMBER- See Also:
-
ARROW_SCHEMA_FIELD_NUMBER
public static final int ARROW_SCHEMA_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getRowsCase
- Specified by:
getRowsCasein interfaceReadRowsResponseOrBuilder
-
getSchemaCase
- Specified by:
getSchemaCasein interfaceReadRowsResponseOrBuilder
-
hasAvroRows
public boolean hasAvroRows()Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3;- Specified by:
hasAvroRowsin interfaceReadRowsResponseOrBuilder- Returns:
- Whether the avroRows field is set.
-
getAvroRows
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3;- Specified by:
getAvroRowsin interfaceReadRowsResponseOrBuilder- Returns:
- The avroRows.
-
getAvroRowsOrBuilder
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3;- Specified by:
getAvroRowsOrBuilderin interfaceReadRowsResponseOrBuilder
-
hasArrowRecordBatch
public boolean hasArrowRecordBatch()Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4;- Specified by:
hasArrowRecordBatchin interfaceReadRowsResponseOrBuilder- Returns:
- Whether the arrowRecordBatch field is set.
-
getArrowRecordBatch
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4;- Specified by:
getArrowRecordBatchin interfaceReadRowsResponseOrBuilder- Returns:
- The arrowRecordBatch.
-
getArrowRecordBatchOrBuilder
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4;- Specified by:
getArrowRecordBatchOrBuilderin interfaceReadRowsResponseOrBuilder
-
getRowCount
public long getRowCount()Number of serialized rows in the rows block.
int64 row_count = 6;- Specified by:
getRowCountin interfaceReadRowsResponseOrBuilder- Returns:
- The rowCount.
-
hasStats
public boolean hasStats()Statistics for the stream.
.google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2;- Specified by:
hasStatsin interfaceReadRowsResponseOrBuilder- Returns:
- Whether the stats field is set.
-
getStats
Statistics for the stream.
.google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2;- Specified by:
getStatsin interfaceReadRowsResponseOrBuilder- Returns:
- The stats.
-
getStatsOrBuilder
Statistics for the stream.
.google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2;- Specified by:
getStatsOrBuilderin interfaceReadRowsResponseOrBuilder
-
hasThrottleState
public boolean hasThrottleState()Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;- Specified by:
hasThrottleStatein interfaceReadRowsResponseOrBuilder- Returns:
- Whether the throttleState field is set.
-
getThrottleState
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;- Specified by:
getThrottleStatein interfaceReadRowsResponseOrBuilder- Returns:
- The throttleState.
-
getThrottleStateOrBuilder
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;- Specified by:
getThrottleStateOrBuilderin interfaceReadRowsResponseOrBuilder
-
hasAvroSchema
public boolean hasAvroSchema()Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAvroSchemain interfaceReadRowsResponseOrBuilder- Returns:
- Whether the avroSchema field is set.
-
getAvroSchema
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAvroSchemain interfaceReadRowsResponseOrBuilder- Returns:
- The avroSchema.
-
getAvroSchemaOrBuilder
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAvroSchemaOrBuilderin interfaceReadRowsResponseOrBuilder
-
hasArrowSchema
public boolean hasArrowSchema()Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasArrowSchemain interfaceReadRowsResponseOrBuilder- Returns:
- Whether the arrowSchema field is set.
-
getArrowSchema
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArrowSchemain interfaceReadRowsResponseOrBuilder- Returns:
- The arrowSchema.
-
getArrowSchemaOrBuilder
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArrowSchemaOrBuilderin interfaceReadRowsResponseOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ReadRowsResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ReadRowsResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ReadRowsResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ReadRowsResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ReadRowsResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ReadRowsResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-