Class Store.TxnPessimisticLockResponse.Builder

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

public static final class Store.TxnPessimisticLockResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Store.TxnPessimisticLockResponse.Builder> implements Store.TxnPessimisticLockResponseOrBuilder
Protobuf type dingodb.pb.store.TxnPessimisticLockResponse
  • 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.TxnPessimisticLockResponse.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.TxnPessimisticLockResponse.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.TxnPessimisticLockResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Store.TxnPessimisticLockResponse 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.TxnPessimisticLockResponse.Builder>
    • setField

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

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

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

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

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

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

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

      public boolean hasResponseInfo()
       response info
       
      .dingodb.pb.common.ResponseInfo response_info = 1;
      Specified by:
      hasResponseInfo in interface Store.TxnPessimisticLockResponseOrBuilder
      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.TxnPessimisticLockResponseOrBuilder
      Returns:
      The responseInfo.
    • setResponseInfo

       response info
       
      .dingodb.pb.common.ResponseInfo response_info = 1;
    • setResponseInfo

       response info
       
      .dingodb.pb.common.ResponseInfo response_info = 1;
    • mergeResponseInfo

       response info
       
      .dingodb.pb.common.ResponseInfo response_info = 1;
    • clearResponseInfo

      public Store.TxnPessimisticLockResponse.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.TxnPessimisticLockResponseOrBuilder
    • hasError

      public boolean hasError()
       error code
       
      .dingodb.pb.error.Error error = 2;
      Specified by:
      hasError in interface Store.TxnPessimisticLockResponseOrBuilder
      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.TxnPessimisticLockResponseOrBuilder
      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

       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.TxnPessimisticLockResponseOrBuilder
    • getTxnResultList

      public List<Store.TxnResultInfo> getTxnResultList()
       if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key
       the txn_result is one of the following:
       1. LockInfo: lock meet a lock and can't proceed, the lock is returned
       2. WriteConflict: Write conflict with key which is already written after for_update_ts
          2.1 Optimistic: in optimistic transactions.
          2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data,
                                 let Executor retry.
          2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.
       
      repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;
      Specified by:
      getTxnResultList in interface Store.TxnPessimisticLockResponseOrBuilder
    • getTxnResultCount

      public int getTxnResultCount()
       if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key
       the txn_result is one of the following:
       1. LockInfo: lock meet a lock and can't proceed, the lock is returned
       2. WriteConflict: Write conflict with key which is already written after for_update_ts
          2.1 Optimistic: in optimistic transactions.
          2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data,
                                 let Executor retry.
          2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.
       
      repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;
      Specified by:
      getTxnResultCount in interface Store.TxnPessimisticLockResponseOrBuilder
    • getTxnResult

      public Store.TxnResultInfo getTxnResult(int index)
       if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key
       the txn_result is one of the following:
       1. LockInfo: lock meet a lock and can't proceed, the lock is returned
       2. WriteConflict: Write conflict with key which is already written after for_update_ts
          2.1 Optimistic: in optimistic transactions.
          2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data,
                                 let Executor retry.
          2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.
       
      repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;
      Specified by:
      getTxnResult in interface Store.TxnPessimisticLockResponseOrBuilder
    • setTxnResult

      public Store.TxnPessimisticLockResponse.Builder setTxnResult(int index, Store.TxnResultInfo value)
       if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key
       the txn_result is one of the following:
       1. LockInfo: lock meet a lock and can't proceed, the lock is returned
       2. WriteConflict: Write conflict with key which is already written after for_update_ts
          2.1 Optimistic: in optimistic transactions.
          2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data,
                                 let Executor retry.
          2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.
       
      repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;
    • setTxnResult

      public Store.TxnPessimisticLockResponse.Builder setTxnResult(int index, Store.TxnResultInfo.Builder builderForValue)
       if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key
       the txn_result is one of the following:
       1. LockInfo: lock meet a lock and can't proceed, the lock is returned
       2. WriteConflict: Write conflict with key which is already written after for_update_ts
          2.1 Optimistic: in optimistic transactions.
          2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data,
                                 let Executor retry.
          2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.
       
      repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;
    • addTxnResult

       if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key
       the txn_result is one of the following:
       1. LockInfo: lock meet a lock and can't proceed, the lock is returned
       2. WriteConflict: Write conflict with key which is already written after for_update_ts
          2.1 Optimistic: in optimistic transactions.
          2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data,
                                 let Executor retry.
          2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.
       
      repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;
    • addTxnResult

      public Store.TxnPessimisticLockResponse.Builder addTxnResult(int index, Store.TxnResultInfo value)
       if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key
       the txn_result is one of the following:
       1. LockInfo: lock meet a lock and can't proceed, the lock is returned
       2. WriteConflict: Write conflict with key which is already written after for_update_ts
          2.1 Optimistic: in optimistic transactions.
          2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data,
                                 let Executor retry.
          2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.
       
      repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;
    • addTxnResult

       if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key
       the txn_result is one of the following:
       1. LockInfo: lock meet a lock and can't proceed, the lock is returned
       2. WriteConflict: Write conflict with key which is already written after for_update_ts
          2.1 Optimistic: in optimistic transactions.
          2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data,
                                 let Executor retry.
          2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.
       
      repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;
    • addTxnResult

      public Store.TxnPessimisticLockResponse.Builder addTxnResult(int index, Store.TxnResultInfo.Builder builderForValue)
       if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key
       the txn_result is one of the following:
       1. LockInfo: lock meet a lock and can't proceed, the lock is returned
       2. WriteConflict: Write conflict with key which is already written after for_update_ts
          2.1 Optimistic: in optimistic transactions.
          2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data,
                                 let Executor retry.
          2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.
       
      repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;
    • addAllTxnResult

      public Store.TxnPessimisticLockResponse.Builder addAllTxnResult(Iterable<? extends Store.TxnResultInfo> values)
       if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key
       the txn_result is one of the following:
       1. LockInfo: lock meet a lock and can't proceed, the lock is returned
       2. WriteConflict: Write conflict with key which is already written after for_update_ts
          2.1 Optimistic: in optimistic transactions.
          2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data,
                                 let Executor retry.
          2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.
       
      repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;
    • clearTxnResult

       if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key
       the txn_result is one of the following:
       1. LockInfo: lock meet a lock and can't proceed, the lock is returned
       2. WriteConflict: Write conflict with key which is already written after for_update_ts
          2.1 Optimistic: in optimistic transactions.
          2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data,
                                 let Executor retry.
          2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.
       
      repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;
    • removeTxnResult

      public Store.TxnPessimisticLockResponse.Builder removeTxnResult(int index)
       if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key
       the txn_result is one of the following:
       1. LockInfo: lock meet a lock and can't proceed, the lock is returned
       2. WriteConflict: Write conflict with key which is already written after for_update_ts
          2.1 Optimistic: in optimistic transactions.
          2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data,
                                 let Executor retry.
          2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.
       
      repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;
    • getTxnResultBuilder

      public Store.TxnResultInfo.Builder getTxnResultBuilder(int index)
       if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key
       the txn_result is one of the following:
       1. LockInfo: lock meet a lock and can't proceed, the lock is returned
       2. WriteConflict: Write conflict with key which is already written after for_update_ts
          2.1 Optimistic: in optimistic transactions.
          2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data,
                                 let Executor retry.
          2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.
       
      repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;
    • getTxnResultOrBuilder

      public Store.TxnResultInfoOrBuilder getTxnResultOrBuilder(int index)
       if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key
       the txn_result is one of the following:
       1. LockInfo: lock meet a lock and can't proceed, the lock is returned
       2. WriteConflict: Write conflict with key which is already written after for_update_ts
          2.1 Optimistic: in optimistic transactions.
          2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data,
                                 let Executor retry.
          2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.
       
      repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;
      Specified by:
      getTxnResultOrBuilder in interface Store.TxnPessimisticLockResponseOrBuilder
    • getTxnResultOrBuilderList

      public List<? extends Store.TxnResultInfoOrBuilder> getTxnResultOrBuilderList()
       if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key
       the txn_result is one of the following:
       1. LockInfo: lock meet a lock and can't proceed, the lock is returned
       2. WriteConflict: Write conflict with key which is already written after for_update_ts
          2.1 Optimistic: in optimistic transactions.
          2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data,
                                 let Executor retry.
          2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.
       
      repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;
      Specified by:
      getTxnResultOrBuilderList in interface Store.TxnPessimisticLockResponseOrBuilder
    • addTxnResultBuilder

      public Store.TxnResultInfo.Builder addTxnResultBuilder()
       if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key
       the txn_result is one of the following:
       1. LockInfo: lock meet a lock and can't proceed, the lock is returned
       2. WriteConflict: Write conflict with key which is already written after for_update_ts
          2.1 Optimistic: in optimistic transactions.
          2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data,
                                 let Executor retry.
          2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.
       
      repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;
    • addTxnResultBuilder

      public Store.TxnResultInfo.Builder addTxnResultBuilder(int index)
       if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key
       the txn_result is one of the following:
       1. LockInfo: lock meet a lock and can't proceed, the lock is returned
       2. WriteConflict: Write conflict with key which is already written after for_update_ts
          2.1 Optimistic: in optimistic transactions.
          2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data,
                                 let Executor retry.
          2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.
       
      repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;
    • getTxnResultBuilderList

      public List<Store.TxnResultInfo.Builder> getTxnResultBuilderList()
       if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key
       the txn_result is one of the following:
       1. LockInfo: lock meet a lock and can't proceed, the lock is returned
       2. WriteConflict: Write conflict with key which is already written after for_update_ts
          2.1 Optimistic: in optimistic transactions.
          2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data,
                                 let Executor retry.
          2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.
       
      repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;
    • getKvsList

      public List<Common.KeyValue> getKvsList()
       The values is set if 'return_values' is true in the request and no error.
       for store table/index region:
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
      Specified by:
      getKvsList in interface Store.TxnPessimisticLockResponseOrBuilder
    • getKvsCount

      public int getKvsCount()
       The values is set if 'return_values' is true in the request and no error.
       for store table/index region:
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
      Specified by:
      getKvsCount in interface Store.TxnPessimisticLockResponseOrBuilder
    • getKvs

      public Common.KeyValue getKvs(int index)
       The values is set if 'return_values' is true in the request and no error.
       for store table/index region:
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
      Specified by:
      getKvs in interface Store.TxnPessimisticLockResponseOrBuilder
    • setKvs

      public Store.TxnPessimisticLockResponse.Builder setKvs(int index, Common.KeyValue value)
       The values is set if 'return_values' is true in the request and no error.
       for store table/index region:
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • setKvs

      public Store.TxnPessimisticLockResponse.Builder setKvs(int index, Common.KeyValue.Builder builderForValue)
       The values is set if 'return_values' is true in the request and no error.
       for store table/index region:
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • addKvs

       The values is set if 'return_values' is true in the request and no error.
       for store table/index region:
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • addKvs

      public Store.TxnPessimisticLockResponse.Builder addKvs(int index, Common.KeyValue value)
       The values is set if 'return_values' is true in the request and no error.
       for store table/index region:
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • addKvs

       The values is set if 'return_values' is true in the request and no error.
       for store table/index region:
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • addKvs

      public Store.TxnPessimisticLockResponse.Builder addKvs(int index, Common.KeyValue.Builder builderForValue)
       The values is set if 'return_values' is true in the request and no error.
       for store table/index region:
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • addAllKvs

       The values is set if 'return_values' is true in the request and no error.
       for store table/index region:
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • clearKvs

       The values is set if 'return_values' is true in the request and no error.
       for store table/index region:
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • removeKvs

      public Store.TxnPessimisticLockResponse.Builder removeKvs(int index)
       The values is set if 'return_values' is true in the request and no error.
       for store table/index region:
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • getKvsBuilder

      public Common.KeyValue.Builder getKvsBuilder(int index)
       The values is set if 'return_values' is true in the request and no error.
       for store table/index region:
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • getKvsOrBuilder

      public Common.KeyValueOrBuilder getKvsOrBuilder(int index)
       The values is set if 'return_values' is true in the request and no error.
       for store table/index region:
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
      Specified by:
      getKvsOrBuilder in interface Store.TxnPessimisticLockResponseOrBuilder
    • getKvsOrBuilderList

      public List<? extends Common.KeyValueOrBuilder> getKvsOrBuilderList()
       The values is set if 'return_values' is true in the request and no error.
       for store table/index region:
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
      Specified by:
      getKvsOrBuilderList in interface Store.TxnPessimisticLockResponseOrBuilder
    • addKvsBuilder

      public Common.KeyValue.Builder addKvsBuilder()
       The values is set if 'return_values' is true in the request and no error.
       for store table/index region:
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • addKvsBuilder

      public Common.KeyValue.Builder addKvsBuilder(int index)
       The values is set if 'return_values' is true in the request and no error.
       for store table/index region:
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • getKvsBuilderList

      public List<Common.KeyValue.Builder> getKvsBuilderList()
       The values is set if 'return_values' is true in the request and no error.
       for store table/index region:
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
    • getVectorList

      public List<Common.VectorWithId> getVectorList()
       The values is set if 'return_values' is true in the request and no error.
       for vector index region:
       
      repeated .dingodb.pb.common.VectorWithId vector = 5;
      Specified by:
      getVectorList in interface Store.TxnPessimisticLockResponseOrBuilder
    • getVectorCount

      public int getVectorCount()
       The values is set if 'return_values' is true in the request and no error.
       for vector index region:
       
      repeated .dingodb.pb.common.VectorWithId vector = 5;
      Specified by:
      getVectorCount in interface Store.TxnPessimisticLockResponseOrBuilder
    • getVector

      public Common.VectorWithId getVector(int index)
       The values is set if 'return_values' is true in the request and no error.
       for vector index region:
       
      repeated .dingodb.pb.common.VectorWithId vector = 5;
      Specified by:
      getVector in interface Store.TxnPessimisticLockResponseOrBuilder
    • setVector

      public Store.TxnPessimisticLockResponse.Builder setVector(int index, Common.VectorWithId value)
       The values is set if 'return_values' is true in the request and no error.
       for vector index region:
       
      repeated .dingodb.pb.common.VectorWithId vector = 5;
    • setVector

      public Store.TxnPessimisticLockResponse.Builder setVector(int index, Common.VectorWithId.Builder builderForValue)
       The values is set if 'return_values' is true in the request and no error.
       for vector index region:
       
      repeated .dingodb.pb.common.VectorWithId vector = 5;
    • addVector

       The values is set if 'return_values' is true in the request and no error.
       for vector index region:
       
      repeated .dingodb.pb.common.VectorWithId vector = 5;
    • addVector

      public Store.TxnPessimisticLockResponse.Builder addVector(int index, Common.VectorWithId value)
       The values is set if 'return_values' is true in the request and no error.
       for vector index region:
       
      repeated .dingodb.pb.common.VectorWithId vector = 5;
    • addVector

       The values is set if 'return_values' is true in the request and no error.
       for vector index region:
       
      repeated .dingodb.pb.common.VectorWithId vector = 5;
    • addVector

      public Store.TxnPessimisticLockResponse.Builder addVector(int index, Common.VectorWithId.Builder builderForValue)
       The values is set if 'return_values' is true in the request and no error.
       for vector index region:
       
      repeated .dingodb.pb.common.VectorWithId vector = 5;
    • addAllVector

       The values is set if 'return_values' is true in the request and no error.
       for vector index region:
       
      repeated .dingodb.pb.common.VectorWithId vector = 5;
    • clearVector

       The values is set if 'return_values' is true in the request and no error.
       for vector index region:
       
      repeated .dingodb.pb.common.VectorWithId vector = 5;
    • removeVector

      public Store.TxnPessimisticLockResponse.Builder removeVector(int index)
       The values is set if 'return_values' is true in the request and no error.
       for vector index region:
       
      repeated .dingodb.pb.common.VectorWithId vector = 5;
    • getVectorBuilder

      public Common.VectorWithId.Builder getVectorBuilder(int index)
       The values is set if 'return_values' is true in the request and no error.
       for vector index region:
       
      repeated .dingodb.pb.common.VectorWithId vector = 5;
    • getVectorOrBuilder

      public Common.VectorWithIdOrBuilder getVectorOrBuilder(int index)
       The values is set if 'return_values' is true in the request and no error.
       for vector index region:
       
      repeated .dingodb.pb.common.VectorWithId vector = 5;
      Specified by:
      getVectorOrBuilder in interface Store.TxnPessimisticLockResponseOrBuilder
    • getVectorOrBuilderList

      public List<? extends Common.VectorWithIdOrBuilder> getVectorOrBuilderList()
       The values is set if 'return_values' is true in the request and no error.
       for vector index region:
       
      repeated .dingodb.pb.common.VectorWithId vector = 5;
      Specified by:
      getVectorOrBuilderList in interface Store.TxnPessimisticLockResponseOrBuilder
    • addVectorBuilder

      public Common.VectorWithId.Builder addVectorBuilder()
       The values is set if 'return_values' is true in the request and no error.
       for vector index region:
       
      repeated .dingodb.pb.common.VectorWithId vector = 5;
    • addVectorBuilder

      public Common.VectorWithId.Builder addVectorBuilder(int index)
       The values is set if 'return_values' is true in the request and no error.
       for vector index region:
       
      repeated .dingodb.pb.common.VectorWithId vector = 5;
    • getVectorBuilderList

      public List<Common.VectorWithId.Builder> getVectorBuilderList()
       The values is set if 'return_values' is true in the request and no error.
       for vector index region:
       
      repeated .dingodb.pb.common.VectorWithId vector = 5;
    • getDocumentsList

      public List<Common.DocumentWithId> getDocumentsList()
       for document index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `documents` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.DocumentWithId documents = 6;
      Specified by:
      getDocumentsList in interface Store.TxnPessimisticLockResponseOrBuilder
    • getDocumentsCount

      public int getDocumentsCount()
       for document index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `documents` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.DocumentWithId documents = 6;
      Specified by:
      getDocumentsCount in interface Store.TxnPessimisticLockResponseOrBuilder
    • getDocuments

      public Common.DocumentWithId getDocuments(int index)
       for document index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `documents` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.DocumentWithId documents = 6;
      Specified by:
      getDocuments in interface Store.TxnPessimisticLockResponseOrBuilder
    • setDocuments

      public Store.TxnPessimisticLockResponse.Builder setDocuments(int index, Common.DocumentWithId value)
       for document index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `documents` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.DocumentWithId documents = 6;
    • setDocuments

      public Store.TxnPessimisticLockResponse.Builder setDocuments(int index, Common.DocumentWithId.Builder builderForValue)
       for document index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `documents` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.DocumentWithId documents = 6;
    • addDocuments

       for document index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `documents` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.DocumentWithId documents = 6;
    • addDocuments

      public Store.TxnPessimisticLockResponse.Builder addDocuments(int index, Common.DocumentWithId value)
       for document index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `documents` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.DocumentWithId documents = 6;
    • addDocuments

       for document index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `documents` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.DocumentWithId documents = 6;
    • addDocuments

      public Store.TxnPessimisticLockResponse.Builder addDocuments(int index, Common.DocumentWithId.Builder builderForValue)
       for document index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `documents` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.DocumentWithId documents = 6;
    • addAllDocuments

      public Store.TxnPessimisticLockResponse.Builder addAllDocuments(Iterable<? extends Common.DocumentWithId> values)
       for document index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `documents` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.DocumentWithId documents = 6;
    • clearDocuments

       for document index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `documents` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.DocumentWithId documents = 6;
    • removeDocuments

      public Store.TxnPessimisticLockResponse.Builder removeDocuments(int index)
       for document index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `documents` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.DocumentWithId documents = 6;
    • getDocumentsBuilder

      public Common.DocumentWithId.Builder getDocumentsBuilder(int index)
       for document index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `documents` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.DocumentWithId documents = 6;
    • getDocumentsOrBuilder

      public Common.DocumentWithIdOrBuilder getDocumentsOrBuilder(int index)
       for document index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `documents` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.DocumentWithId documents = 6;
      Specified by:
      getDocumentsOrBuilder in interface Store.TxnPessimisticLockResponseOrBuilder
    • getDocumentsOrBuilderList

      public List<? extends Common.DocumentWithIdOrBuilder> getDocumentsOrBuilderList()
       for document index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `documents` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.DocumentWithId documents = 6;
      Specified by:
      getDocumentsOrBuilderList in interface Store.TxnPessimisticLockResponseOrBuilder
    • addDocumentsBuilder

      public Common.DocumentWithId.Builder addDocumentsBuilder()
       for document index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `documents` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.DocumentWithId documents = 6;
    • addDocumentsBuilder

      public Common.DocumentWithId.Builder addDocumentsBuilder(int index)
       for document index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `documents` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.DocumentWithId documents = 6;
    • getDocumentsBuilderList

      public List<Common.DocumentWithId.Builder> getDocumentsBuilderList()
       for document index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `documents` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.DocumentWithId documents = 6;
    • setUnknownFields

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

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