Class Store.TxnScanResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Store.TxnScanResponse.Builder>
io.dingodb.store.Store.TxnScanResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Store.TxnScanResponseOrBuilder, Cloneable
Enclosing class:
Store.TxnScanResponse

public static final class Store.TxnScanResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Store.TxnScanResponse.Builder> implements Store.TxnScanResponseOrBuilder
 TxnScan can be partially success
 if kvs is not null, and has_more is true, means scan is not finished, client should continue to scan from end_key.
 if txn_result is not null, the kvs may not null, client can use kvs as a partial result, and should continue to scan
 after resolve lock.
 
Protobuf type dingodb.pb.store.TxnScanResponse
  • 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<Store.TxnScanResponse.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<Store.TxnScanResponse.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<Store.TxnScanResponse.Builder>
    • getDefaultInstanceForType

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

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

      public Store.TxnScanResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<Store.TxnScanResponse.Builder>
    • setField

      public Store.TxnScanResponse.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<Store.TxnScanResponse.Builder>
    • clearField

      public Store.TxnScanResponse.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<Store.TxnScanResponse.Builder>
    • clearOneof

      public Store.TxnScanResponse.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<Store.TxnScanResponse.Builder>
    • setRepeatedField

      public Store.TxnScanResponse.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<Store.TxnScanResponse.Builder>
    • addRepeatedField

      public Store.TxnScanResponse.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<Store.TxnScanResponse.Builder>
    • mergeFrom

      public Store.TxnScanResponse.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<Store.TxnScanResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Store.TxnScanResponse.Builder>
    • mergeFrom

      public Store.TxnScanResponse.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<Store.TxnScanResponse.Builder>
      Throws:
      IOException
    • hasResponseInfo

      public boolean hasResponseInfo()
       response info
       
      .dingodb.pb.common.ResponseInfo response_info = 1;
      Specified by:
      hasResponseInfo in interface Store.TxnScanResponseOrBuilder
      Returns:
      Whether the responseInfo field is set.
    • getResponseInfo

      public Common.ResponseInfo getResponseInfo()
       response info
       
      .dingodb.pb.common.ResponseInfo response_info = 1;
      Specified by:
      getResponseInfo in interface Store.TxnScanResponseOrBuilder
      Returns:
      The responseInfo.
    • setResponseInfo

      public Store.TxnScanResponse.Builder setResponseInfo(Common.ResponseInfo value)
       response info
       
      .dingodb.pb.common.ResponseInfo response_info = 1;
    • setResponseInfo

      public Store.TxnScanResponse.Builder setResponseInfo(Common.ResponseInfo.Builder builderForValue)
       response info
       
      .dingodb.pb.common.ResponseInfo response_info = 1;
    • mergeResponseInfo

      public Store.TxnScanResponse.Builder mergeResponseInfo(Common.ResponseInfo value)
       response info
       
      .dingodb.pb.common.ResponseInfo response_info = 1;
    • clearResponseInfo

      public Store.TxnScanResponse.Builder clearResponseInfo()
       response info
       
      .dingodb.pb.common.ResponseInfo response_info = 1;
    • getResponseInfoBuilder

      public Common.ResponseInfo.Builder getResponseInfoBuilder()
       response info
       
      .dingodb.pb.common.ResponseInfo response_info = 1;
    • getResponseInfoOrBuilder

      public Common.ResponseInfoOrBuilder getResponseInfoOrBuilder()
       response info
       
      .dingodb.pb.common.ResponseInfo response_info = 1;
      Specified by:
      getResponseInfoOrBuilder in interface Store.TxnScanResponseOrBuilder
    • hasError

      public boolean hasError()
       error code
       
      .dingodb.pb.error.Error error = 2;
      Specified by:
      hasError in interface Store.TxnScanResponseOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      public ErrorOuterClass.Error getError()
       error code
       
      .dingodb.pb.error.Error error = 2;
      Specified by:
      getError in interface Store.TxnScanResponseOrBuilder
      Returns:
      The error.
    • setError

       error code
       
      .dingodb.pb.error.Error error = 2;
    • setError

       error code
       
      .dingodb.pb.error.Error error = 2;
    • mergeError

       error code
       
      .dingodb.pb.error.Error error = 2;
    • clearError

      public Store.TxnScanResponse.Builder clearError()
       error code
       
      .dingodb.pb.error.Error error = 2;
    • getErrorBuilder

      public ErrorOuterClass.Error.Builder getErrorBuilder()
       error code
       
      .dingodb.pb.error.Error error = 2;
    • getErrorOrBuilder

      public ErrorOuterClass.ErrorOrBuilder getErrorOrBuilder()
       error code
       
      .dingodb.pb.error.Error error = 2;
      Specified by:
      getErrorOrBuilder in interface Store.TxnScanResponseOrBuilder
    • hasTxnResult

      public boolean hasTxnResult()
       This txn_result exists when some key is locked but we cannot check locks of
       all keys. In this case, `kvs` should be empty and the client should redo
       scanning all the keys after resolving the lock.
       the txn_result is one of the following:
       1. LockInfo: Read conflict with key which is locked by another transaction.
       2. otherwise, txn_result is empty
       
      .dingodb.pb.store.TxnResultInfo txn_result = 3;
      Specified by:
      hasTxnResult in interface Store.TxnScanResponseOrBuilder
      Returns:
      Whether the txnResult field is set.
    • getTxnResult

      public Store.TxnResultInfo getTxnResult()
       This txn_result exists when some key is locked but we cannot check locks of
       all keys. In this case, `kvs` should be empty and the client should redo
       scanning all the keys after resolving the lock.
       the txn_result is one of the following:
       1. LockInfo: Read conflict with key which is locked by another transaction.
       2. otherwise, txn_result is empty
       
      .dingodb.pb.store.TxnResultInfo txn_result = 3;
      Specified by:
      getTxnResult in interface Store.TxnScanResponseOrBuilder
      Returns:
      The txnResult.
    • setTxnResult

       This txn_result exists when some key is locked but we cannot check locks of
       all keys. In this case, `kvs` should be empty and the client should redo
       scanning all the keys after resolving the lock.
       the txn_result is one of the following:
       1. LockInfo: Read conflict with key which is locked by another transaction.
       2. otherwise, txn_result is empty
       
      .dingodb.pb.store.TxnResultInfo txn_result = 3;
    • setTxnResult

      public Store.TxnScanResponse.Builder setTxnResult(Store.TxnResultInfo.Builder builderForValue)
       This txn_result exists when some key is locked but we cannot check locks of
       all keys. In this case, `kvs` should be empty and the client should redo
       scanning all the keys after resolving the lock.
       the txn_result is one of the following:
       1. LockInfo: Read conflict with key which is locked by another transaction.
       2. otherwise, txn_result is empty
       
      .dingodb.pb.store.TxnResultInfo txn_result = 3;
    • mergeTxnResult

      public Store.TxnScanResponse.Builder mergeTxnResult(Store.TxnResultInfo value)
       This txn_result exists when some key is locked but we cannot check locks of
       all keys. In this case, `kvs` should be empty and the client should redo
       scanning all the keys after resolving the lock.
       the txn_result is one of the following:
       1. LockInfo: Read conflict with key which is locked by another transaction.
       2. otherwise, txn_result is empty
       
      .dingodb.pb.store.TxnResultInfo txn_result = 3;
    • clearTxnResult

      public Store.TxnScanResponse.Builder clearTxnResult()
       This txn_result exists when some key is locked but we cannot check locks of
       all keys. In this case, `kvs` should be empty and the client should redo
       scanning all the keys after resolving the lock.
       the txn_result is one of the following:
       1. LockInfo: Read conflict with key which is locked by another transaction.
       2. otherwise, txn_result is empty
       
      .dingodb.pb.store.TxnResultInfo txn_result = 3;
    • getTxnResultBuilder

      public Store.TxnResultInfo.Builder getTxnResultBuilder()
       This txn_result exists when some key is locked but we cannot check locks of
       all keys. In this case, `kvs` should be empty and the client should redo
       scanning all the keys after resolving the lock.
       the txn_result is one of the following:
       1. LockInfo: Read conflict with key which is locked by another transaction.
       2. otherwise, txn_result is empty
       
      .dingodb.pb.store.TxnResultInfo txn_result = 3;
    • getTxnResultOrBuilder

      public Store.TxnResultInfoOrBuilder getTxnResultOrBuilder()
       This txn_result exists when some key is locked but we cannot check locks of
       all keys. In this case, `kvs` should be empty and the client should redo
       scanning all the keys after resolving the lock.
       the txn_result is one of the following:
       1. LockInfo: Read conflict with key which is locked by another transaction.
       2. otherwise, txn_result is empty
       
      .dingodb.pb.store.TxnResultInfo txn_result = 3;
      Specified by:
      getTxnResultOrBuilder in interface Store.TxnScanResponseOrBuilder
    • getKvsList

      public List<Common.KeyValue> getKvsList()
       for store table/index region, kvs is the return value of the scan request
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
      Specified by:
      getKvsList in interface Store.TxnScanResponseOrBuilder
    • getKvsCount

      public int getKvsCount()
       for store table/index region, kvs is the return value of the scan request
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
      Specified by:
      getKvsCount in interface Store.TxnScanResponseOrBuilder
    • getKvs

      public Common.KeyValue getKvs(int index)
       for store table/index region, kvs is the return value of the scan request
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
      Specified by:
      getKvs in interface Store.TxnScanResponseOrBuilder
    • setKvs

      public Store.TxnScanResponse.Builder setKvs(int index, Common.KeyValue value)
       for store table/index region, kvs is the return value of the scan request
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • setKvs

      public Store.TxnScanResponse.Builder setKvs(int index, Common.KeyValue.Builder builderForValue)
       for store table/index region, kvs is the return value of the scan request
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • addKvs

       for store table/index region, kvs is the return value of the scan request
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • addKvs

      public Store.TxnScanResponse.Builder addKvs(int index, Common.KeyValue value)
       for store table/index region, kvs is the return value of the scan request
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • addKvs

      public Store.TxnScanResponse.Builder addKvs(Common.KeyValue.Builder builderForValue)
       for store table/index region, kvs is the return value of the scan request
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • addKvs

      public Store.TxnScanResponse.Builder addKvs(int index, Common.KeyValue.Builder builderForValue)
       for store table/index region, kvs is the return value of the scan request
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • addAllKvs

      public Store.TxnScanResponse.Builder addAllKvs(Iterable<? extends Common.KeyValue> values)
       for store table/index region, kvs is the return value of the scan request
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • clearKvs

      public Store.TxnScanResponse.Builder clearKvs()
       for store table/index region, kvs is the return value of the scan request
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • removeKvs

      public Store.TxnScanResponse.Builder removeKvs(int index)
       for store table/index region, kvs is the return value of the scan request
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • getKvsBuilder

      public Common.KeyValue.Builder getKvsBuilder(int index)
       for store table/index region, kvs is the return value of the scan request
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • getKvsOrBuilder

      public Common.KeyValueOrBuilder getKvsOrBuilder(int index)
       for store table/index region, kvs is the return value of the scan request
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
      Specified by:
      getKvsOrBuilder in interface Store.TxnScanResponseOrBuilder
    • getKvsOrBuilderList

      public List<? extends Common.KeyValueOrBuilder> getKvsOrBuilderList()
       for store table/index region, kvs is the return value of the scan request
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
      Specified by:
      getKvsOrBuilderList in interface Store.TxnScanResponseOrBuilder
    • addKvsBuilder

      public Common.KeyValue.Builder addKvsBuilder()
       for store table/index region, kvs is the return value of the scan request
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • addKvsBuilder

      public Common.KeyValue.Builder addKvsBuilder(int index)
       for store table/index region, kvs is the return value of the scan request
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • getKvsBuilderList

      public List<Common.KeyValue.Builder> getKvsBuilderList()
       for store table/index region, kvs is the return value of the scan request
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • getVectorsList

      public List<Common.VectorWithId> getVectorsList()
       for vector index region, vectors is the return value of the scan request
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
      Specified by:
      getVectorsList in interface Store.TxnScanResponseOrBuilder
    • getVectorsCount

      public int getVectorsCount()
       for vector index region, vectors is the return value of the scan request
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
      Specified by:
      getVectorsCount in interface Store.TxnScanResponseOrBuilder
    • getVectors

      public Common.VectorWithId getVectors(int index)
       for vector index region, vectors is the return value of the scan request
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
      Specified by:
      getVectors in interface Store.TxnScanResponseOrBuilder
    • setVectors

      public Store.TxnScanResponse.Builder setVectors(int index, Common.VectorWithId value)
       for vector index region, vectors is the return value of the scan request
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
    • setVectors

      public Store.TxnScanResponse.Builder setVectors(int index, Common.VectorWithId.Builder builderForValue)
       for vector index region, vectors is the return value of the scan request
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
    • addVectors

       for vector index region, vectors is the return value of the scan request
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
    • addVectors

      public Store.TxnScanResponse.Builder addVectors(int index, Common.VectorWithId value)
       for vector index region, vectors is the return value of the scan request
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
    • addVectors

      public Store.TxnScanResponse.Builder addVectors(Common.VectorWithId.Builder builderForValue)
       for vector index region, vectors is the return value of the scan request
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
    • addVectors

      public Store.TxnScanResponse.Builder addVectors(int index, Common.VectorWithId.Builder builderForValue)
       for vector index region, vectors is the return value of the scan request
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
    • addAllVectors

      public Store.TxnScanResponse.Builder addAllVectors(Iterable<? extends Common.VectorWithId> values)
       for vector index region, vectors is the return value of the scan request
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
    • clearVectors

      public Store.TxnScanResponse.Builder clearVectors()
       for vector index region, vectors is the return value of the scan request
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
    • removeVectors

      public Store.TxnScanResponse.Builder removeVectors(int index)
       for vector index region, vectors is the return value of the scan request
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
    • getVectorsBuilder

      public Common.VectorWithId.Builder getVectorsBuilder(int index)
       for vector index region, vectors is the return value of the scan request
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
    • getVectorsOrBuilder

      public Common.VectorWithIdOrBuilder getVectorsOrBuilder(int index)
       for vector index region, vectors is the return value of the scan request
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
      Specified by:
      getVectorsOrBuilder in interface Store.TxnScanResponseOrBuilder
    • getVectorsOrBuilderList

      public List<? extends Common.VectorWithIdOrBuilder> getVectorsOrBuilderList()
       for vector index region, vectors is the return value of the scan request
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
      Specified by:
      getVectorsOrBuilderList in interface Store.TxnScanResponseOrBuilder
    • addVectorsBuilder

      public Common.VectorWithId.Builder addVectorsBuilder()
       for vector index region, vectors is the return value of the scan request
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
    • addVectorsBuilder

      public Common.VectorWithId.Builder addVectorsBuilder(int index)
       for vector index region, vectors is the return value of the scan request
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
    • getVectorsBuilderList

      public List<Common.VectorWithId.Builder> getVectorsBuilderList()
       for vector index region, vectors is the return value of the scan request
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
    • getHasMore

      public boolean getHasMore()
       if scan is not finished, has_more is true, otherwise false
       
      bool has_more = 6;
      Specified by:
      getHasMore in interface Store.TxnScanResponseOrBuilder
      Returns:
      The hasMore.
    • setHasMore

      public Store.TxnScanResponse.Builder setHasMore(boolean value)
       if scan is not finished, has_more is true, otherwise false
       
      bool has_more = 6;
      Parameters:
      value - The hasMore to set.
      Returns:
      This builder for chaining.
    • clearHasMore

      public Store.TxnScanResponse.Builder clearHasMore()
       if scan is not finished, has_more is true, otherwise false
       
      bool has_more = 6;
      Returns:
      This builder for chaining.
    • getEndKey

      public com.google.protobuf.ByteString getEndKey()
       the last iteratered key of this scan response.
       if end_key is null, means scan do not successfully iterate any key.
       
      bytes end_key = 7;
      Specified by:
      getEndKey in interface Store.TxnScanResponseOrBuilder
      Returns:
      The endKey.
    • setEndKey

      public Store.TxnScanResponse.Builder setEndKey(com.google.protobuf.ByteString value)
       the last iteratered key of this scan response.
       if end_key is null, means scan do not successfully iterate any key.
       
      bytes end_key = 7;
      Parameters:
      value - The endKey to set.
      Returns:
      This builder for chaining.
    • clearEndKey

      public Store.TxnScanResponse.Builder clearEndKey()
       the last iteratered key of this scan response.
       if end_key is null, means scan do not successfully iterate any key.
       
      bytes end_key = 7;
      Returns:
      This builder for chaining.
    • getDocumentsList

      public List<Common.DocumentWithId> getDocumentsList()
       for document index region, documents is the return value of the scan request
       
      repeated .dingodb.pb.common.DocumentWithId documents = 8;
      Specified by:
      getDocumentsList in interface Store.TxnScanResponseOrBuilder
    • getDocumentsCount

      public int getDocumentsCount()
       for document index region, documents is the return value of the scan request
       
      repeated .dingodb.pb.common.DocumentWithId documents = 8;
      Specified by:
      getDocumentsCount in interface Store.TxnScanResponseOrBuilder
    • getDocuments

      public Common.DocumentWithId getDocuments(int index)
       for document index region, documents is the return value of the scan request
       
      repeated .dingodb.pb.common.DocumentWithId documents = 8;
      Specified by:
      getDocuments in interface Store.TxnScanResponseOrBuilder
    • setDocuments

      public Store.TxnScanResponse.Builder setDocuments(int index, Common.DocumentWithId value)
       for document index region, documents is the return value of the scan request
       
      repeated .dingodb.pb.common.DocumentWithId documents = 8;
    • setDocuments

      public Store.TxnScanResponse.Builder setDocuments(int index, Common.DocumentWithId.Builder builderForValue)
       for document index region, documents is the return value of the scan request
       
      repeated .dingodb.pb.common.DocumentWithId documents = 8;
    • addDocuments

       for document index region, documents is the return value of the scan request
       
      repeated .dingodb.pb.common.DocumentWithId documents = 8;
    • addDocuments

      public Store.TxnScanResponse.Builder addDocuments(int index, Common.DocumentWithId value)
       for document index region, documents is the return value of the scan request
       
      repeated .dingodb.pb.common.DocumentWithId documents = 8;
    • addDocuments

      public Store.TxnScanResponse.Builder addDocuments(Common.DocumentWithId.Builder builderForValue)
       for document index region, documents is the return value of the scan request
       
      repeated .dingodb.pb.common.DocumentWithId documents = 8;
    • addDocuments

      public Store.TxnScanResponse.Builder addDocuments(int index, Common.DocumentWithId.Builder builderForValue)
       for document index region, documents is the return value of the scan request
       
      repeated .dingodb.pb.common.DocumentWithId documents = 8;
    • addAllDocuments

      public Store.TxnScanResponse.Builder addAllDocuments(Iterable<? extends Common.DocumentWithId> values)
       for document index region, documents is the return value of the scan request
       
      repeated .dingodb.pb.common.DocumentWithId documents = 8;
    • clearDocuments

      public Store.TxnScanResponse.Builder clearDocuments()
       for document index region, documents is the return value of the scan request
       
      repeated .dingodb.pb.common.DocumentWithId documents = 8;
    • removeDocuments

      public Store.TxnScanResponse.Builder removeDocuments(int index)
       for document index region, documents is the return value of the scan request
       
      repeated .dingodb.pb.common.DocumentWithId documents = 8;
    • getDocumentsBuilder

      public Common.DocumentWithId.Builder getDocumentsBuilder(int index)
       for document index region, documents is the return value of the scan request
       
      repeated .dingodb.pb.common.DocumentWithId documents = 8;
    • getDocumentsOrBuilder

      public Common.DocumentWithIdOrBuilder getDocumentsOrBuilder(int index)
       for document index region, documents is the return value of the scan request
       
      repeated .dingodb.pb.common.DocumentWithId documents = 8;
      Specified by:
      getDocumentsOrBuilder in interface Store.TxnScanResponseOrBuilder
    • getDocumentsOrBuilderList

      public List<? extends Common.DocumentWithIdOrBuilder> getDocumentsOrBuilderList()
       for document index region, documents is the return value of the scan request
       
      repeated .dingodb.pb.common.DocumentWithId documents = 8;
      Specified by:
      getDocumentsOrBuilderList in interface Store.TxnScanResponseOrBuilder
    • addDocumentsBuilder

      public Common.DocumentWithId.Builder addDocumentsBuilder()
       for document index region, documents is the return value of the scan request
       
      repeated .dingodb.pb.common.DocumentWithId documents = 8;
    • addDocumentsBuilder

      public Common.DocumentWithId.Builder addDocumentsBuilder(int index)
       for document index region, documents is the return value of the scan request
       
      repeated .dingodb.pb.common.DocumentWithId documents = 8;
    • getDocumentsBuilderList

      public List<Common.DocumentWithId.Builder> getDocumentsBuilderList()
       for document index region, documents is the return value of the scan request
       
      repeated .dingodb.pb.common.DocumentWithId documents = 8;
    • hasStreamMeta

      public boolean hasStreamMeta()
      .dingodb.pb.stream.StreamResponseMeta stream_meta = 30;
      Specified by:
      hasStreamMeta in interface Store.TxnScanResponseOrBuilder
      Returns:
      Whether the streamMeta field is set.
    • getStreamMeta

      public Stream.StreamResponseMeta getStreamMeta()
      .dingodb.pb.stream.StreamResponseMeta stream_meta = 30;
      Specified by:
      getStreamMeta in interface Store.TxnScanResponseOrBuilder
      Returns:
      The streamMeta.
    • setStreamMeta

      .dingodb.pb.stream.StreamResponseMeta stream_meta = 30;
    • setStreamMeta

      public Store.TxnScanResponse.Builder setStreamMeta(Stream.StreamResponseMeta.Builder builderForValue)
      .dingodb.pb.stream.StreamResponseMeta stream_meta = 30;
    • mergeStreamMeta

      .dingodb.pb.stream.StreamResponseMeta stream_meta = 30;
    • clearStreamMeta

      public Store.TxnScanResponse.Builder clearStreamMeta()
      .dingodb.pb.stream.StreamResponseMeta stream_meta = 30;
    • getStreamMetaBuilder

      public Stream.StreamResponseMeta.Builder getStreamMetaBuilder()
      .dingodb.pb.stream.StreamResponseMeta stream_meta = 30;
    • getStreamMetaOrBuilder

      public Stream.StreamResponseMetaOrBuilder getStreamMetaOrBuilder()
      .dingodb.pb.stream.StreamResponseMeta stream_meta = 30;
      Specified by:
      getStreamMetaOrBuilder in interface Store.TxnScanResponseOrBuilder
    • setUnknownFields

      public final Store.TxnScanResponse.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<Store.TxnScanResponse.Builder>
    • mergeUnknownFields

      public final Store.TxnScanResponse.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<Store.TxnScanResponse.Builder>