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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
    • clear

      public ReadRowsResponse.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
    • getDefaultInstanceForType

      public ReadRowsResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ReadRowsResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ReadRowsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public ReadRowsResponse.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
    • setField

      public ReadRowsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
    • clearField

      public ReadRowsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
    • clearOneof

      public ReadRowsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
    • setRepeatedField

      public ReadRowsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
    • addRepeatedField

      public ReadRowsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
    • mergeFrom

      public ReadRowsResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReadRowsResponse.Builder>
    • mergeFrom

      public ReadRowsResponse.Builder mergeFrom(ReadRowsResponse other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReadRowsResponse.Builder>
      Throws:
      IOException
    • getRowsCase

      public ReadRowsResponse.RowsCase getRowsCase()
      Specified by:
      getRowsCase in interface ReadRowsResponseOrBuilder
    • clearRows

      public ReadRowsResponse.Builder clearRows()
    • getSchemaCase

      public ReadRowsResponse.SchemaCase getSchemaCase()
      Specified by:
      getSchemaCase in interface ReadRowsResponseOrBuilder
    • clearSchema

      public ReadRowsResponse.Builder clearSchema()
    • hasAvroRows

      public boolean hasAvroRows()
       Serialized row data in AVRO format.
       
      .google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3;
      Specified by:
      hasAvroRows in interface ReadRowsResponseOrBuilder
      Returns:
      Whether the avroRows field is set.
    • getAvroRows

      public AvroRows getAvroRows()
       Serialized row data in AVRO format.
       
      .google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3;
      Specified by:
      getAvroRows in interface ReadRowsResponseOrBuilder
      Returns:
      The avroRows.
    • setAvroRows

      public ReadRowsResponse.Builder setAvroRows(AvroRows value)
       Serialized row data in AVRO format.
       
      .google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3;
    • setAvroRows

      public ReadRowsResponse.Builder setAvroRows(AvroRows.Builder builderForValue)
       Serialized row data in AVRO format.
       
      .google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3;
    • mergeAvroRows

      public ReadRowsResponse.Builder mergeAvroRows(AvroRows value)
       Serialized row data in AVRO format.
       
      .google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3;
    • clearAvroRows

      public ReadRowsResponse.Builder clearAvroRows()
       Serialized row data in AVRO format.
       
      .google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3;
    • getAvroRowsBuilder

      public AvroRows.Builder getAvroRowsBuilder()
       Serialized row data in AVRO format.
       
      .google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3;
    • getAvroRowsOrBuilder

      public AvroRowsOrBuilder getAvroRowsOrBuilder()
       Serialized row data in AVRO format.
       
      .google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3;
      Specified by:
      getAvroRowsOrBuilder in interface ReadRowsResponseOrBuilder
    • hasArrowRecordBatch

      public boolean hasArrowRecordBatch()
       Serialized row data in Arrow RecordBatch format.
       
      .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4;
      Specified by:
      hasArrowRecordBatch in interface ReadRowsResponseOrBuilder
      Returns:
      Whether the arrowRecordBatch field is set.
    • getArrowRecordBatch

      public ArrowRecordBatch getArrowRecordBatch()
       Serialized row data in Arrow RecordBatch format.
       
      .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4;
      Specified by:
      getArrowRecordBatch in interface ReadRowsResponseOrBuilder
      Returns:
      The arrowRecordBatch.
    • setArrowRecordBatch

      public ReadRowsResponse.Builder setArrowRecordBatch(ArrowRecordBatch value)
       Serialized row data in Arrow RecordBatch format.
       
      .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4;
    • setArrowRecordBatch

      public ReadRowsResponse.Builder setArrowRecordBatch(ArrowRecordBatch.Builder builderForValue)
       Serialized row data in Arrow RecordBatch format.
       
      .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4;
    • mergeArrowRecordBatch

      public ReadRowsResponse.Builder mergeArrowRecordBatch(ArrowRecordBatch value)
       Serialized row data in Arrow RecordBatch format.
       
      .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4;
    • clearArrowRecordBatch

      public ReadRowsResponse.Builder clearArrowRecordBatch()
       Serialized row data in Arrow RecordBatch format.
       
      .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4;
    • getArrowRecordBatchBuilder

      public ArrowRecordBatch.Builder getArrowRecordBatchBuilder()
       Serialized row data in Arrow RecordBatch format.
       
      .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4;
    • getArrowRecordBatchOrBuilder

      public ArrowRecordBatchOrBuilder getArrowRecordBatchOrBuilder()
       Serialized row data in Arrow RecordBatch format.
       
      .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4;
      Specified by:
      getArrowRecordBatchOrBuilder in interface ReadRowsResponseOrBuilder
    • getRowCount

      public long getRowCount()
       Number of serialized rows in the rows block.
       
      int64 row_count = 6;
      Specified by:
      getRowCount in interface ReadRowsResponseOrBuilder
      Returns:
      The rowCount.
    • setRowCount

      public ReadRowsResponse.Builder setRowCount(long value)
       Number of serialized rows in the rows block.
       
      int64 row_count = 6;
      Parameters:
      value - The rowCount to set.
      Returns:
      This builder for chaining.
    • clearRowCount

      public ReadRowsResponse.Builder 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:
      hasStats in interface ReadRowsResponseOrBuilder
      Returns:
      Whether the stats field is set.
    • getStats

      public StreamStats getStats()
       Statistics for the stream.
       
      .google.cloud.bigquery.storage.v1.StreamStats stats = 2;
      Specified by:
      getStats in interface ReadRowsResponseOrBuilder
      Returns:
      The stats.
    • setStats

      public ReadRowsResponse.Builder setStats(StreamStats value)
       Statistics for the stream.
       
      .google.cloud.bigquery.storage.v1.StreamStats stats = 2;
    • setStats

      public ReadRowsResponse.Builder setStats(StreamStats.Builder builderForValue)
       Statistics for the stream.
       
      .google.cloud.bigquery.storage.v1.StreamStats stats = 2;
    • mergeStats

      public ReadRowsResponse.Builder mergeStats(StreamStats value)
       Statistics for the stream.
       
      .google.cloud.bigquery.storage.v1.StreamStats stats = 2;
    • clearStats

      public ReadRowsResponse.Builder clearStats()
       Statistics for the stream.
       
      .google.cloud.bigquery.storage.v1.StreamStats stats = 2;
    • getStatsBuilder

      public StreamStats.Builder getStatsBuilder()
       Statistics for the stream.
       
      .google.cloud.bigquery.storage.v1.StreamStats stats = 2;
    • getStatsOrBuilder

      public StreamStatsOrBuilder getStatsOrBuilder()
       Statistics for the stream.
       
      .google.cloud.bigquery.storage.v1.StreamStats stats = 2;
      Specified by:
      getStatsOrBuilder in interface ReadRowsResponseOrBuilder
    • 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:
      hasThrottleState in interface ReadRowsResponseOrBuilder
      Returns:
      Whether the throttleState field is set.
    • getThrottleState

      public ThrottleState 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:
      getThrottleState in interface ReadRowsResponseOrBuilder
      Returns:
      The throttleState.
    • setThrottleState

      public ReadRowsResponse.Builder setThrottleState(ThrottleState value)
       Throttling state. If unset, the latest response still describes
       the current throttling status.
       
      .google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5;
    • setThrottleState

      public ReadRowsResponse.Builder setThrottleState(ThrottleState.Builder builderForValue)
       Throttling state. If unset, the latest response still describes
       the current throttling status.
       
      .google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5;
    • mergeThrottleState

      public ReadRowsResponse.Builder mergeThrottleState(ThrottleState value)
       Throttling state. If unset, the latest response still describes
       the current throttling status.
       
      .google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5;
    • clearThrottleState

      public ReadRowsResponse.Builder clearThrottleState()
       Throttling state. If unset, the latest response still describes
       the current throttling status.
       
      .google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5;
    • getThrottleStateBuilder

      public ThrottleState.Builder getThrottleStateBuilder()
       Throttling state. If unset, the latest response still describes
       the current throttling status.
       
      .google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5;
    • getThrottleStateOrBuilder

      public ThrottleStateOrBuilder 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:
      getThrottleStateOrBuilder in interface ReadRowsResponseOrBuilder
    • 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:
      hasAvroSchema in interface ReadRowsResponseOrBuilder
      Returns:
      Whether the avroSchema field is set.
    • getAvroSchema

      public AvroSchema getAvroSchema()
       Output only. Avro schema.
       
      .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAvroSchema in interface ReadRowsResponseOrBuilder
      Returns:
      The avroSchema.
    • setAvroSchema

      public ReadRowsResponse.Builder setAvroSchema(AvroSchema value)
       Output only. Avro schema.
       
      .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setAvroSchema

      public ReadRowsResponse.Builder setAvroSchema(AvroSchema.Builder builderForValue)
       Output only. Avro schema.
       
      .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeAvroSchema

      public ReadRowsResponse.Builder mergeAvroSchema(AvroSchema value)
       Output only. Avro schema.
       
      .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearAvroSchema

      public ReadRowsResponse.Builder clearAvroSchema()
       Output only. Avro schema.
       
      .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getAvroSchemaBuilder

      public AvroSchema.Builder getAvroSchemaBuilder()
       Output only. Avro schema.
       
      .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getAvroSchemaOrBuilder

      public AvroSchemaOrBuilder getAvroSchemaOrBuilder()
       Output only. Avro schema.
       
      .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAvroSchemaOrBuilder in interface ReadRowsResponseOrBuilder
    • 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:
      hasArrowSchema in interface ReadRowsResponseOrBuilder
      Returns:
      Whether the arrowSchema field is set.
    • getArrowSchema

      public ArrowSchema getArrowSchema()
       Output only. Arrow schema.
       
      .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getArrowSchema in interface ReadRowsResponseOrBuilder
      Returns:
      The arrowSchema.
    • setArrowSchema

      public ReadRowsResponse.Builder setArrowSchema(ArrowSchema value)
       Output only. Arrow schema.
       
      .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setArrowSchema

      public ReadRowsResponse.Builder setArrowSchema(ArrowSchema.Builder builderForValue)
       Output only. Arrow schema.
       
      .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeArrowSchema

      public ReadRowsResponse.Builder mergeArrowSchema(ArrowSchema value)
       Output only. Arrow schema.
       
      .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearArrowSchema

      public ReadRowsResponse.Builder clearArrowSchema()
       Output only. Arrow schema.
       
      .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getArrowSchemaBuilder

      public ArrowSchema.Builder getArrowSchemaBuilder()
       Output only. Arrow schema.
       
      .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getArrowSchemaOrBuilder

      public ArrowSchemaOrBuilder getArrowSchemaOrBuilder()
       Output only. Arrow schema.
       
      .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getArrowSchemaOrBuilder in interface ReadRowsResponseOrBuilder
    • 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:
      hasUncompressedByteSize in interface ReadRowsResponseOrBuilder
      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:
      getUncompressedByteSize in interface ReadRowsResponseOrBuilder
      Returns:
      The uncompressedByteSize.
    • setUncompressedByteSize

      public ReadRowsResponse.Builder setUncompressedByteSize(long value)
       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

      public ReadRowsResponse.Builder 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:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
    • mergeUnknownFields

      public final ReadRowsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>