Class Store.TxnBatchGetResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.store.Store.TxnBatchGetResponse
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Store.TxnBatchGetResponseOrBuilder, Serializable
Enclosing class:
Store

public static final class Store.TxnBatchGetResponse extends com.google.protobuf.GeneratedMessageV3 implements Store.TxnBatchGetResponseOrBuilder
Protobuf type dingodb.pb.store.TxnBatchGetResponse
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • hasResponseInfo

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

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

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

      public ErrorOuterClass.ErrorOrBuilder getErrorOrBuilder()
       error code
       
      .dingodb.pb.error.Error error = 2;
      Specified by:
      getErrorOrBuilder in interface Store.TxnBatchGetResponseOrBuilder
    • 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
       batch get 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. The client should backoff or cleanup
       the lock then retry.
       2. otherwise, txn_result is empty
       
      .dingodb.pb.store.TxnResultInfo txn_result = 3;
      Specified by:
      hasTxnResult in interface Store.TxnBatchGetResponseOrBuilder
      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
       batch get 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. The client should backoff or cleanup
       the lock then retry.
       2. otherwise, txn_result is empty
       
      .dingodb.pb.store.TxnResultInfo txn_result = 3;
      Specified by:
      getTxnResult in interface Store.TxnBatchGetResponseOrBuilder
      Returns:
      The txnResult.
    • 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
       batch get 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. The client should backoff or cleanup
       the lock then retry.
       2. otherwise, txn_result is empty
       
      .dingodb.pb.store.TxnResultInfo txn_result = 3;
      Specified by:
      getTxnResultOrBuilder in interface Store.TxnBatchGetResponseOrBuilder
    • getKvsList

      public List<Common.KeyValue> getKvsList()
       for store table/index region:
       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
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
      Specified by:
      getKvsList in interface Store.TxnBatchGetResponseOrBuilder
    • getKvsOrBuilderList

      public List<? extends Common.KeyValueOrBuilder> getKvsOrBuilderList()
       for store table/index region:
       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
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
      Specified by:
      getKvsOrBuilderList in interface Store.TxnBatchGetResponseOrBuilder
    • getKvsCount

      public int getKvsCount()
       for store table/index region:
       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
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
      Specified by:
      getKvsCount in interface Store.TxnBatchGetResponseOrBuilder
    • getKvs

      public Common.KeyValue getKvs(int index)
       for store table/index region:
       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
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
      Specified by:
      getKvs in interface Store.TxnBatchGetResponseOrBuilder
    • getKvsOrBuilder

      public Common.KeyValueOrBuilder getKvsOrBuilder(int index)
       for store table/index region:
       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
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.KeyValue kvs = 4;
      Specified by:
      getKvsOrBuilder in interface Store.TxnBatchGetResponseOrBuilder
    • getVectorsList

      public List<Common.VectorWithId> getVectorsList()
       for vector index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `vectors` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
      Specified by:
      getVectorsList in interface Store.TxnBatchGetResponseOrBuilder
    • getVectorsOrBuilderList

      public List<? extends Common.VectorWithIdOrBuilder> getVectorsOrBuilderList()
       for vector index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `vectors` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
      Specified by:
      getVectorsOrBuilderList in interface Store.TxnBatchGetResponseOrBuilder
    • getVectorsCount

      public int getVectorsCount()
       for vector index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `vectors` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
      Specified by:
      getVectorsCount in interface Store.TxnBatchGetResponseOrBuilder
    • getVectors

      public Common.VectorWithId getVectors(int index)
       for vector index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `vectors` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
      Specified by:
      getVectors in interface Store.TxnBatchGetResponseOrBuilder
    • getVectorsOrBuilder

      public Common.VectorWithIdOrBuilder getVectorsOrBuilder(int index)
       for vector index region:
       When some key is locked but we cannot check locks of
       all keys. In this case, `vectors` should be empty and the client should redo
       batch get all the keys after resolving the lock.
       
      repeated .dingodb.pb.common.VectorWithId vectors = 5;
      Specified by:
      getVectorsOrBuilder in interface Store.TxnBatchGetResponseOrBuilder
    • 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.TxnBatchGetResponseOrBuilder
    • 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.TxnBatchGetResponseOrBuilder
    • 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.TxnBatchGetResponseOrBuilder
    • 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.TxnBatchGetResponseOrBuilder
    • 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.TxnBatchGetResponseOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Store.TxnBatchGetResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Store.TxnBatchGetResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Store.TxnBatchGetResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Store.TxnBatchGetResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Store.TxnBatchGetResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Store.TxnBatchGetResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Store.TxnBatchGetResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Store.TxnBatchGetResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Store.TxnBatchGetResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Store.TxnBatchGetResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Store.TxnBatchGetResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Store.TxnBatchGetResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Store.TxnBatchGetResponse.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Store.TxnBatchGetResponse.Builder newBuilder()
    • newBuilder

      public static Store.TxnBatchGetResponse.Builder newBuilder(Store.TxnBatchGetResponse prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Store.TxnBatchGetResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Store.TxnBatchGetResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Store.TxnBatchGetResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<Store.TxnBatchGetResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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