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.bigtable.v2.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 message for Bigtable.ReadRows.
 
Protobuf type google.bigtable.v2.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
    • getChunksList

      public List<ReadRowsResponse.CellChunk> getChunksList()
       A collection of a row's contents as part of the read request.
       
      repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
      Specified by:
      getChunksList in interface ReadRowsResponseOrBuilder
    • getChunksCount

      public int getChunksCount()
       A collection of a row's contents as part of the read request.
       
      repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
      Specified by:
      getChunksCount in interface ReadRowsResponseOrBuilder
    • getChunks

      public ReadRowsResponse.CellChunk getChunks(int index)
       A collection of a row's contents as part of the read request.
       
      repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
      Specified by:
      getChunks in interface ReadRowsResponseOrBuilder
    • setChunks

      public ReadRowsResponse.Builder setChunks(int index, ReadRowsResponse.CellChunk value)
       A collection of a row's contents as part of the read request.
       
      repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
    • setChunks

      public ReadRowsResponse.Builder setChunks(int index, ReadRowsResponse.CellChunk.Builder builderForValue)
       A collection of a row's contents as part of the read request.
       
      repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
    • addChunks

       A collection of a row's contents as part of the read request.
       
      repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
    • addChunks

      public ReadRowsResponse.Builder addChunks(int index, ReadRowsResponse.CellChunk value)
       A collection of a row's contents as part of the read request.
       
      repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
    • addChunks

       A collection of a row's contents as part of the read request.
       
      repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
    • addChunks

      public ReadRowsResponse.Builder addChunks(int index, ReadRowsResponse.CellChunk.Builder builderForValue)
       A collection of a row's contents as part of the read request.
       
      repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
    • addAllChunks

      public ReadRowsResponse.Builder addAllChunks(Iterable<? extends ReadRowsResponse.CellChunk> values)
       A collection of a row's contents as part of the read request.
       
      repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
    • clearChunks

      public ReadRowsResponse.Builder clearChunks()
       A collection of a row's contents as part of the read request.
       
      repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
    • removeChunks

      public ReadRowsResponse.Builder removeChunks(int index)
       A collection of a row's contents as part of the read request.
       
      repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
    • getChunksBuilder

      public ReadRowsResponse.CellChunk.Builder getChunksBuilder(int index)
       A collection of a row's contents as part of the read request.
       
      repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
    • getChunksOrBuilder

      public ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder(int index)
       A collection of a row's contents as part of the read request.
       
      repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
      Specified by:
      getChunksOrBuilder in interface ReadRowsResponseOrBuilder
    • getChunksOrBuilderList

      public List<? extends ReadRowsResponse.CellChunkOrBuilder> getChunksOrBuilderList()
       A collection of a row's contents as part of the read request.
       
      repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
      Specified by:
      getChunksOrBuilderList in interface ReadRowsResponseOrBuilder
    • addChunksBuilder

      public ReadRowsResponse.CellChunk.Builder addChunksBuilder()
       A collection of a row's contents as part of the read request.
       
      repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
    • addChunksBuilder

      public ReadRowsResponse.CellChunk.Builder addChunksBuilder(int index)
       A collection of a row's contents as part of the read request.
       
      repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
    • getChunksBuilderList

      public List<ReadRowsResponse.CellChunk.Builder> getChunksBuilderList()
       A collection of a row's contents as part of the read request.
       
      repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
    • getLastScannedRowKey

      public com.google.protobuf.ByteString getLastScannedRowKey()
       Optionally the server might return the row key of the last row it
       has scanned.  The client can use this to construct a more
       efficient retry request if needed: any row keys or portions of
       ranges less than this row key can be dropped from the request.
       This is primarily useful for cases where the server has read a
       lot of data that was filtered out since the last committed row
       key, allowing the client to skip that work on a retry.
       
      bytes last_scanned_row_key = 2;
      Specified by:
      getLastScannedRowKey in interface ReadRowsResponseOrBuilder
      Returns:
      The lastScannedRowKey.
    • setLastScannedRowKey

      public ReadRowsResponse.Builder setLastScannedRowKey(com.google.protobuf.ByteString value)
       Optionally the server might return the row key of the last row it
       has scanned.  The client can use this to construct a more
       efficient retry request if needed: any row keys or portions of
       ranges less than this row key can be dropped from the request.
       This is primarily useful for cases where the server has read a
       lot of data that was filtered out since the last committed row
       key, allowing the client to skip that work on a retry.
       
      bytes last_scanned_row_key = 2;
      Parameters:
      value - The lastScannedRowKey to set.
      Returns:
      This builder for chaining.
    • clearLastScannedRowKey

      public ReadRowsResponse.Builder clearLastScannedRowKey()
       Optionally the server might return the row key of the last row it
       has scanned.  The client can use this to construct a more
       efficient retry request if needed: any row keys or portions of
       ranges less than this row key can be dropped from the request.
       This is primarily useful for cases where the server has read a
       lot of data that was filtered out since the last committed row
       key, allowing the client to skip that work on a retry.
       
      bytes last_scanned_row_key = 2;
      Returns:
      This builder for chaining.
    • hasRequestStats

      public boolean hasRequestStats()
      
       If requested, provide enhanced query performance statistics. The semantics
       dictate:
         * request_stats is empty on every (streamed) response, except
         * request_stats has non-empty information after all chunks have been
           streamed, where the ReadRowsResponse message only contains
           request_stats.
             * For example, if a read request would have returned an empty
               response instead a single ReadRowsResponse is streamed with empty
               chunks and request_stats filled.
      
       Visually, response messages will stream as follows:
          ... -> {chunks: [...]} -> {chunks: [], request_stats: {...}}
         \______________________/  \________________________________/
             Primary response         Trailer of RequestStats info
      
       Or if the read did not return any values:
         {chunks: [], request_stats: {...}}
         \________________________________/
            Trailer of RequestStats info
       
      .google.bigtable.v2.RequestStats request_stats = 3;
      Specified by:
      hasRequestStats in interface ReadRowsResponseOrBuilder
      Returns:
      Whether the requestStats field is set.
    • getRequestStats

      public RequestStats getRequestStats()
      
       If requested, provide enhanced query performance statistics. The semantics
       dictate:
         * request_stats is empty on every (streamed) response, except
         * request_stats has non-empty information after all chunks have been
           streamed, where the ReadRowsResponse message only contains
           request_stats.
             * For example, if a read request would have returned an empty
               response instead a single ReadRowsResponse is streamed with empty
               chunks and request_stats filled.
      
       Visually, response messages will stream as follows:
          ... -> {chunks: [...]} -> {chunks: [], request_stats: {...}}
         \______________________/  \________________________________/
             Primary response         Trailer of RequestStats info
      
       Or if the read did not return any values:
         {chunks: [], request_stats: {...}}
         \________________________________/
            Trailer of RequestStats info
       
      .google.bigtable.v2.RequestStats request_stats = 3;
      Specified by:
      getRequestStats in interface ReadRowsResponseOrBuilder
      Returns:
      The requestStats.
    • setRequestStats

      public ReadRowsResponse.Builder setRequestStats(RequestStats value)
      
       If requested, provide enhanced query performance statistics. The semantics
       dictate:
         * request_stats is empty on every (streamed) response, except
         * request_stats has non-empty information after all chunks have been
           streamed, where the ReadRowsResponse message only contains
           request_stats.
             * For example, if a read request would have returned an empty
               response instead a single ReadRowsResponse is streamed with empty
               chunks and request_stats filled.
      
       Visually, response messages will stream as follows:
          ... -> {chunks: [...]} -> {chunks: [], request_stats: {...}}
         \______________________/  \________________________________/
             Primary response         Trailer of RequestStats info
      
       Or if the read did not return any values:
         {chunks: [], request_stats: {...}}
         \________________________________/
            Trailer of RequestStats info
       
      .google.bigtable.v2.RequestStats request_stats = 3;
    • setRequestStats

      public ReadRowsResponse.Builder setRequestStats(RequestStats.Builder builderForValue)
      
       If requested, provide enhanced query performance statistics. The semantics
       dictate:
         * request_stats is empty on every (streamed) response, except
         * request_stats has non-empty information after all chunks have been
           streamed, where the ReadRowsResponse message only contains
           request_stats.
             * For example, if a read request would have returned an empty
               response instead a single ReadRowsResponse is streamed with empty
               chunks and request_stats filled.
      
       Visually, response messages will stream as follows:
          ... -> {chunks: [...]} -> {chunks: [], request_stats: {...}}
         \______________________/  \________________________________/
             Primary response         Trailer of RequestStats info
      
       Or if the read did not return any values:
         {chunks: [], request_stats: {...}}
         \________________________________/
            Trailer of RequestStats info
       
      .google.bigtable.v2.RequestStats request_stats = 3;
    • mergeRequestStats

      public ReadRowsResponse.Builder mergeRequestStats(RequestStats value)
      
       If requested, provide enhanced query performance statistics. The semantics
       dictate:
         * request_stats is empty on every (streamed) response, except
         * request_stats has non-empty information after all chunks have been
           streamed, where the ReadRowsResponse message only contains
           request_stats.
             * For example, if a read request would have returned an empty
               response instead a single ReadRowsResponse is streamed with empty
               chunks and request_stats filled.
      
       Visually, response messages will stream as follows:
          ... -> {chunks: [...]} -> {chunks: [], request_stats: {...}}
         \______________________/  \________________________________/
             Primary response         Trailer of RequestStats info
      
       Or if the read did not return any values:
         {chunks: [], request_stats: {...}}
         \________________________________/
            Trailer of RequestStats info
       
      .google.bigtable.v2.RequestStats request_stats = 3;
    • clearRequestStats

      public ReadRowsResponse.Builder clearRequestStats()
      
       If requested, provide enhanced query performance statistics. The semantics
       dictate:
         * request_stats is empty on every (streamed) response, except
         * request_stats has non-empty information after all chunks have been
           streamed, where the ReadRowsResponse message only contains
           request_stats.
             * For example, if a read request would have returned an empty
               response instead a single ReadRowsResponse is streamed with empty
               chunks and request_stats filled.
      
       Visually, response messages will stream as follows:
          ... -> {chunks: [...]} -> {chunks: [], request_stats: {...}}
         \______________________/  \________________________________/
             Primary response         Trailer of RequestStats info
      
       Or if the read did not return any values:
         {chunks: [], request_stats: {...}}
         \________________________________/
            Trailer of RequestStats info
       
      .google.bigtable.v2.RequestStats request_stats = 3;
    • getRequestStatsBuilder

      public RequestStats.Builder getRequestStatsBuilder()
      
       If requested, provide enhanced query performance statistics. The semantics
       dictate:
         * request_stats is empty on every (streamed) response, except
         * request_stats has non-empty information after all chunks have been
           streamed, where the ReadRowsResponse message only contains
           request_stats.
             * For example, if a read request would have returned an empty
               response instead a single ReadRowsResponse is streamed with empty
               chunks and request_stats filled.
      
       Visually, response messages will stream as follows:
          ... -> {chunks: [...]} -> {chunks: [], request_stats: {...}}
         \______________________/  \________________________________/
             Primary response         Trailer of RequestStats info
      
       Or if the read did not return any values:
         {chunks: [], request_stats: {...}}
         \________________________________/
            Trailer of RequestStats info
       
      .google.bigtable.v2.RequestStats request_stats = 3;
    • getRequestStatsOrBuilder

      public RequestStatsOrBuilder getRequestStatsOrBuilder()
      
       If requested, provide enhanced query performance statistics. The semantics
       dictate:
         * request_stats is empty on every (streamed) response, except
         * request_stats has non-empty information after all chunks have been
           streamed, where the ReadRowsResponse message only contains
           request_stats.
             * For example, if a read request would have returned an empty
               response instead a single ReadRowsResponse is streamed with empty
               chunks and request_stats filled.
      
       Visually, response messages will stream as follows:
          ... -> {chunks: [...]} -> {chunks: [], request_stats: {...}}
         \______________________/  \________________________________/
             Primary response         Trailer of RequestStats info
      
       Or if the read did not return any values:
         {chunks: [], request_stats: {...}}
         \________________________________/
            Trailer of RequestStats info
       
      .google.bigtable.v2.RequestStats request_stats = 3;
      Specified by:
      getRequestStatsOrBuilder in interface ReadRowsResponseOrBuilder
    • 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>