Class ReadRowsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
com.google.cloud.bigquery.storage.v1.ReadRowsResponse.Builder
- All Implemented Interfaces:
ReadRowsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReadRowsResponse
public static final class ReadRowsResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
implements ReadRowsResponseOrBuilder
Response from calling `ReadRows` may include row data, progress and throttling information.Protobuf type
google.cloud.bigquery.storage.v1.ReadRowsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Serialized row data in Arrow RecordBatch format.Output only.Serialized row data in AVRO format.Output only.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Number of serialized rows in the rows block.Statistics for the stream.Throttling state.Optional.clone()Serialized row data in Arrow RecordBatch format.Serialized row data in Arrow RecordBatch format.Serialized row data in Arrow RecordBatch format.Output only.Output only.Output only.Serialized row data in AVRO format.Serialized row data in AVRO format.Serialized row data in AVRO format.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongNumber of serialized rows in the rows block.getStats()Statistics for the stream.Statistics for the stream.Statistics for the stream.Throttling state.Throttling state.Throttling state.longOptional.booleanSerialized row data in Arrow RecordBatch format.booleanOutput only.booleanSerialized row data in AVRO format.booleanOutput only.booleanhasStats()Statistics for the stream.booleanThrottling state.booleanOptional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanSerialized row data in Arrow RecordBatch format.mergeArrowSchema(ArrowSchema value) Output only.mergeAvroRows(AvroRows value) Serialized row data in AVRO format.mergeAvroSchema(AvroSchema value) Output only.mergeFrom(ReadRowsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStats(StreamStats value) Statistics for the stream.mergeThrottleState(ThrottleState value) Throttling state.final ReadRowsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Serialized row data in Arrow RecordBatch format.setArrowRecordBatch(ArrowRecordBatch.Builder builderForValue) Serialized row data in Arrow RecordBatch format.setArrowSchema(ArrowSchema value) Output only.setArrowSchema(ArrowSchema.Builder builderForValue) Output only.setAvroRows(AvroRows value) Serialized row data in AVRO format.setAvroRows(AvroRows.Builder builderForValue) Serialized row data in AVRO format.setAvroSchema(AvroSchema value) Output only.setAvroSchema(AvroSchema.Builder builderForValue) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRowCount(long value) Number of serialized rows in the rows block.setStats(StreamStats value) Statistics for the stream.setStats(StreamStats.Builder builderForValue) Statistics for the stream.setThrottleState(ThrottleState value) Throttling state.setThrottleState(ThrottleState.Builder builderForValue) Throttling state.setUncompressedByteSize(long value) Optional.final ReadRowsResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<ReadRowsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
setField
public ReadRowsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
setRepeatedField
public ReadRowsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
addRepeatedField
public ReadRowsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReadRowsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
mergeFrom
public ReadRowsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReadRowsResponse.Builder>- Throws:
IOException
-
getRowsCase
- Specified by:
getRowsCasein interfaceReadRowsResponseOrBuilder
-
clearRows
-
getSchemaCase
- Specified by:
getSchemaCasein interfaceReadRowsResponseOrBuilder
-
clearSchema
-
hasAvroRows
public boolean hasAvroRows()Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1.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.v1.AvroRows avro_rows = 3;- Specified by:
getAvroRowsin interfaceReadRowsResponseOrBuilder- Returns:
- The avroRows.
-
setAvroRows
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3; -
setAvroRows
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3; -
mergeAvroRows
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3; -
clearAvroRows
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3; -
getAvroRowsBuilder
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3; -
getAvroRowsOrBuilder
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3;- Specified by:
getAvroRowsOrBuilderin interfaceReadRowsResponseOrBuilder
-
hasArrowRecordBatch
public boolean hasArrowRecordBatch()Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1.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.v1.ArrowRecordBatch arrow_record_batch = 4;- Specified by:
getArrowRecordBatchin interfaceReadRowsResponseOrBuilder- Returns:
- The arrowRecordBatch.
-
setArrowRecordBatch
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4; -
setArrowRecordBatch
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4; -
mergeArrowRecordBatch
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4; -
clearArrowRecordBatch
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4; -
getArrowRecordBatchBuilder
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4; -
getArrowRecordBatchOrBuilder
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1.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.
-
setRowCount
Number of serialized rows in the rows block.
int64 row_count = 6;- Parameters:
value- The rowCount to set.- Returns:
- This builder for chaining.
-
clearRowCount
Number of serialized rows in the rows block.
int64 row_count = 6;- Returns:
- This builder for chaining.
-
hasStats
public boolean hasStats()Statistics for the stream.
.google.cloud.bigquery.storage.v1.StreamStats stats = 2;- Specified by:
hasStatsin interfaceReadRowsResponseOrBuilder- Returns:
- Whether the stats field is set.
-
getStats
Statistics for the stream.
.google.cloud.bigquery.storage.v1.StreamStats stats = 2;- Specified by:
getStatsin interfaceReadRowsResponseOrBuilder- Returns:
- The stats.
-
setStats
Statistics for the stream.
.google.cloud.bigquery.storage.v1.StreamStats stats = 2; -
setStats
Statistics for the stream.
.google.cloud.bigquery.storage.v1.StreamStats stats = 2; -
mergeStats
Statistics for the stream.
.google.cloud.bigquery.storage.v1.StreamStats stats = 2; -
clearStats
Statistics for the stream.
.google.cloud.bigquery.storage.v1.StreamStats stats = 2; -
getStatsBuilder
Statistics for the stream.
.google.cloud.bigquery.storage.v1.StreamStats stats = 2; -
getStatsOrBuilder
Statistics for the stream.
.google.cloud.bigquery.storage.v1.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.v1.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.v1.ThrottleState throttle_state = 5;- Specified by:
getThrottleStatein interfaceReadRowsResponseOrBuilder- Returns:
- The throttleState.
-
setThrottleState
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5; -
setThrottleState
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5; -
mergeThrottleState
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5; -
clearThrottleState
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5; -
getThrottleStateBuilder
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5; -
getThrottleStateOrBuilder
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5;- Specified by:
getThrottleStateOrBuilderin interfaceReadRowsResponseOrBuilder
-
hasAvroSchema
public boolean hasAvroSchema()Output only. Avro schema.
.google.cloud.bigquery.storage.v1.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.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAvroSchemain interfaceReadRowsResponseOrBuilder- Returns:
- The avroSchema.
-
setAvroSchema
Output only. Avro schema.
.google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setAvroSchema
Output only. Avro schema.
.google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeAvroSchema
Output only. Avro schema.
.google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearAvroSchema
Output only. Avro schema.
.google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAvroSchemaBuilder
Output only. Avro schema.
.google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAvroSchemaOrBuilder
Output only. Avro schema.
.google.cloud.bigquery.storage.v1.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.v1.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.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArrowSchemain interfaceReadRowsResponseOrBuilder- Returns:
- The arrowSchema.
-
setArrowSchema
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setArrowSchema
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeArrowSchema
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearArrowSchema
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getArrowSchemaBuilder
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getArrowSchemaOrBuilder
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArrowSchemaOrBuilderin interfaceReadRowsResponseOrBuilder
-
hasUncompressedByteSize
public boolean hasUncompressedByteSize()Optional. If the row data in this ReadRowsResponse is compressed, then uncompressed byte size is the original size of the uncompressed row data. If it is set to a value greater than 0, then decompress into a buffer of size uncompressed_byte_size using the compression codec that was requested during session creation time and which is specified in TableReadOptions.response_compression_codec in ReadSession. This value is not set if no response_compression_codec was not requested and it is -1 if the requested compression would not have reduced the size of this ReadRowsResponse's row data. This attempts to match Apache Arrow's behavior described here https://github.com/apache/arrow/issues/15102 where the uncompressed length may be set to -1 to indicate that the data that follows is not compressed, which can be useful for cases where compression does not yield appreciable savings. When uncompressed_byte_size is not greater than 0, the client should skip decompression.
optional int64 uncompressed_byte_size = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasUncompressedByteSizein interfaceReadRowsResponseOrBuilder- Returns:
- Whether the uncompressedByteSize field is set.
-
getUncompressedByteSize
public long getUncompressedByteSize()Optional. If the row data in this ReadRowsResponse is compressed, then uncompressed byte size is the original size of the uncompressed row data. If it is set to a value greater than 0, then decompress into a buffer of size uncompressed_byte_size using the compression codec that was requested during session creation time and which is specified in TableReadOptions.response_compression_codec in ReadSession. This value is not set if no response_compression_codec was not requested and it is -1 if the requested compression would not have reduced the size of this ReadRowsResponse's row data. This attempts to match Apache Arrow's behavior described here https://github.com/apache/arrow/issues/15102 where the uncompressed length may be set to -1 to indicate that the data that follows is not compressed, which can be useful for cases where compression does not yield appreciable savings. When uncompressed_byte_size is not greater than 0, the client should skip decompression.
optional int64 uncompressed_byte_size = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUncompressedByteSizein interfaceReadRowsResponseOrBuilder- Returns:
- The uncompressedByteSize.
-
setUncompressedByteSize
Optional. If the row data in this ReadRowsResponse is compressed, then uncompressed byte size is the original size of the uncompressed row data. If it is set to a value greater than 0, then decompress into a buffer of size uncompressed_byte_size using the compression codec that was requested during session creation time and which is specified in TableReadOptions.response_compression_codec in ReadSession. This value is not set if no response_compression_codec was not requested and it is -1 if the requested compression would not have reduced the size of this ReadRowsResponse's row data. This attempts to match Apache Arrow's behavior described here https://github.com/apache/arrow/issues/15102 where the uncompressed length may be set to -1 to indicate that the data that follows is not compressed, which can be useful for cases where compression does not yield appreciable savings. When uncompressed_byte_size is not greater than 0, the client should skip decompression.
optional int64 uncompressed_byte_size = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The uncompressedByteSize to set.- Returns:
- This builder for chaining.
-
clearUncompressedByteSize
Optional. If the row data in this ReadRowsResponse is compressed, then uncompressed byte size is the original size of the uncompressed row data. If it is set to a value greater than 0, then decompress into a buffer of size uncompressed_byte_size using the compression codec that was requested during session creation time and which is specified in TableReadOptions.response_compression_codec in ReadSession. This value is not set if no response_compression_codec was not requested and it is -1 if the requested compression would not have reduced the size of this ReadRowsResponse's row data. This attempts to match Apache Arrow's behavior described here https://github.com/apache/arrow/issues/15102 where the uncompressed length may be set to -1 to indicate that the data that follows is not compressed, which can be useful for cases where compression does not yield appreciable savings. When uncompressed_byte_size is not greater than 0, the client should skip decompression.
optional int64 uncompressed_byte_size = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setUnknownFields
public final ReadRowsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
mergeUnknownFields
public final ReadRowsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-