Class Storage.ReadRowsResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse
- All Implemented Interfaces:
Storage.ReadRowsResponseOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- Storage
public static final class Storage.ReadRowsResponse
extends com.google.protobuf.GeneratedMessageV3
implements Storage.ReadRowsResponseOrBuilder
Response from calling `ReadRows` may include row data, progress and throttling information.Protobuf type
google.cloud.bigquery.storage.v1beta1.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 Storage.ReadRowsResponsestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<Storage.ReadRowsResponse>longNumber of serialized rows in the rows block.intEstimated stream statistics.Estimated stream statistics.Throttling status.Throttling status.booleanSerialized row data in Arrow RecordBatch format.booleanOutput only.booleanSerialized row data in AVRO format.booleanOutput only.inthashCode()booleanEstimated stream statistics.booleanThrottling status.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Storage.ReadRowsResponse prototype) protected Storage.ReadRowsResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Storage.ReadRowsResponseparseDelimitedFrom(InputStream input) static Storage.ReadRowsResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Storage.ReadRowsResponseparseFrom(byte[] data) static Storage.ReadRowsResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Storage.ReadRowsResponseparseFrom(com.google.protobuf.ByteString data) static Storage.ReadRowsResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Storage.ReadRowsResponseparseFrom(com.google.protobuf.CodedInputStream input) static Storage.ReadRowsResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Storage.ReadRowsResponseparseFrom(InputStream input) static Storage.ReadRowsResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Storage.ReadRowsResponseparseFrom(ByteBuffer data) static Storage.ReadRowsResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Storage.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, internalGetMapFieldReflection, 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:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
THROTTLE_STATUS_FIELD_NUMBER
public static final int THROTTLE_STATUS_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 interfaceStorage.ReadRowsResponseOrBuilder
-
getSchemaCase
- Specified by:
getSchemaCasein interfaceStorage.ReadRowsResponseOrBuilder
-
hasAvroRows
public boolean hasAvroRows()Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;- Specified by:
hasAvroRowsin interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- Whether the avroRows field is set.
-
getAvroRows
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;- Specified by:
getAvroRowsin interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- The avroRows.
-
getAvroRowsOrBuilder
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;- Specified by:
getAvroRowsOrBuilderin interfaceStorage.ReadRowsResponseOrBuilder
-
hasArrowRecordBatch
public boolean hasArrowRecordBatch()Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;- Specified by:
hasArrowRecordBatchin interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- Whether the arrowRecordBatch field is set.
-
getArrowRecordBatch
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;- Specified by:
getArrowRecordBatchin interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- The arrowRecordBatch.
-
getArrowRecordBatchOrBuilder
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;- Specified by:
getArrowRecordBatchOrBuilderin interfaceStorage.ReadRowsResponseOrBuilder
-
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;- Specified by:
getRowCountin interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- The rowCount.
-
hasStatus
public boolean hasStatus()Estimated stream statistics.
.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;- Specified by:
hasStatusin interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Estimated stream statistics.
.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;- Specified by:
getStatusin interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- The status.
-
getStatusOrBuilder
Estimated stream statistics.
.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;- Specified by:
getStatusOrBuilderin interfaceStorage.ReadRowsResponseOrBuilder
-
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;- Specified by:
hasThrottleStatusin interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- Whether the throttleStatus field is set.
-
getThrottleStatus
Throttling status. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;- Specified by:
getThrottleStatusin interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- The throttleStatus.
-
getThrottleStatusOrBuilder
Throttling status. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;- Specified by:
getThrottleStatusOrBuilderin interfaceStorage.ReadRowsResponseOrBuilder
-
hasAvroSchema
public boolean hasAvroSchema()Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAvroSchemain interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- Whether the avroSchema field is set.
-
getAvroSchema
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAvroSchemain interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- The avroSchema.
-
getAvroSchemaOrBuilder
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAvroSchemaOrBuilderin interfaceStorage.ReadRowsResponseOrBuilder
-
hasArrowSchema
public boolean hasArrowSchema()Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasArrowSchemain interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- Whether the arrowSchema field is set.
-
getArrowSchema
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArrowSchemain interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- The arrowSchema.
-
getArrowSchemaOrBuilder
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArrowSchemaOrBuilderin interfaceStorage.ReadRowsResponseOrBuilder
-
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 Storage.ReadRowsResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Storage.ReadRowsResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Storage.ReadRowsResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Storage.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 Storage.ReadRowsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Storage.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 Storage.ReadRowsResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Storage.ReadRowsResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Storage.ReadRowsResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Storage.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 Storage.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
-