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 typegoogle.cloud.bigquery.storage.v1beta1.ReadRowsResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStorage.ReadRowsResponse.BuilderResponse from calling `ReadRows` may include row data, progress and throttling information.static classStorage.ReadRowsResponse.RowsCasestatic classStorage.ReadRowsResponse.SchemaCase-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intARROW_RECORD_BATCH_FIELD_NUMBERstatic intARROW_SCHEMA_FIELD_NUMBERstatic intAVRO_ROWS_FIELD_NUMBERstatic intAVRO_SCHEMA_FIELD_NUMBERstatic intROW_COUNT_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intTHROTTLE_STATUS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ArrowProto.ArrowRecordBatchgetArrowRecordBatch()Serialized row data in Arrow RecordBatch format.ArrowProto.ArrowRecordBatchOrBuildergetArrowRecordBatchOrBuilder()Serialized row data in Arrow RecordBatch format.ArrowProto.ArrowSchemagetArrowSchema()Output only.ArrowProto.ArrowSchemaOrBuildergetArrowSchemaOrBuilder()Output only.AvroProto.AvroRowsgetAvroRows()Serialized row data in AVRO format.AvroProto.AvroRowsOrBuildergetAvroRowsOrBuilder()Serialized row data in AVRO format.AvroProto.AvroSchemagetAvroSchema()Output only.AvroProto.AvroSchemaOrBuildergetAvroSchemaOrBuilder()Output only.static Storage.ReadRowsResponsegetDefaultInstance()Storage.ReadRowsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<Storage.ReadRowsResponse>getParserForType()longgetRowCount()Number of serialized rows in the rows block.Storage.ReadRowsResponse.RowsCasegetRowsCase()Storage.ReadRowsResponse.SchemaCasegetSchemaCase()intgetSerializedSize()Storage.StreamStatusgetStatus()Estimated stream statistics.Storage.StreamStatusOrBuildergetStatusOrBuilder()Estimated stream statistics.Storage.ThrottleStatusgetThrottleStatus()Throttling status.Storage.ThrottleStatusOrBuildergetThrottleStatusOrBuilder()Throttling status.booleanhasArrowRecordBatch()Serialized row data in Arrow RecordBatch format.booleanhasArrowSchema()Output only.booleanhasAvroRows()Serialized row data in AVRO format.booleanhasAvroSchema()Output only.inthashCode()booleanhasStatus()Estimated stream statistics.booleanhasThrottleStatus()Throttling status.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Storage.ReadRowsResponse.BuildernewBuilder()static Storage.ReadRowsResponse.BuildernewBuilder(Storage.ReadRowsResponse prototype)Storage.ReadRowsResponse.BuildernewBuilderForType()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()Storage.ReadRowsResponse.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
AVRO_ROWS_FIELD_NUMBER
public static final int AVRO_ROWS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARROW_RECORD_BATCH_FIELD_NUMBER
public static final int ARROW_RECORD_BATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROW_COUNT_FIELD_NUMBER
public static final int ROW_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
THROTTLE_STATUS_FIELD_NUMBER
public static final int THROTTLE_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AVRO_SCHEMA_FIELD_NUMBER
public static final int AVRO_SCHEMA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARROW_SCHEMA_FIELD_NUMBER
public static final int ARROW_SCHEMA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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
public Storage.ReadRowsResponse.RowsCase getRowsCase()
- Specified by:
getRowsCasein interfaceStorage.ReadRowsResponseOrBuilder
-
getSchemaCase
public Storage.ReadRowsResponse.SchemaCase 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
public AvroProto.AvroRows 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
public AvroProto.AvroRowsOrBuilder 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
public ArrowProto.ArrowRecordBatch 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
public ArrowProto.ArrowRecordBatchOrBuilder 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
public Storage.StreamStatus getStatus()
Estimated stream statistics.
.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;- Specified by:
getStatusin interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- The status.
-
getStatusOrBuilder
public Storage.StreamStatusOrBuilder 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
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;- Specified by:
getThrottleStatusin interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- 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;- 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
public AvroProto.AvroSchema 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
public AvroProto.AvroSchemaOrBuilder 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
public ArrowProto.ArrowSchema 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
public ArrowProto.ArrowSchemaOrBuilder 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
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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
public static Storage.ReadRowsResponse parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Storage.ReadRowsResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Storage.ReadRowsResponse parseDelimitedFrom(InputStream input) throws IOException
- 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
public Storage.ReadRowsResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Storage.ReadRowsResponse.Builder newBuilder()
-
newBuilder
public static Storage.ReadRowsResponse.Builder newBuilder(Storage.ReadRowsResponse prototype)
-
toBuilder
public Storage.ReadRowsResponse.Builder 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
public static Storage.ReadRowsResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Storage.ReadRowsResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<Storage.ReadRowsResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Storage.ReadRowsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-