Package io.dingodb.store
Class Store.TxnGetResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Store.TxnGetResponse.Builder>
io.dingodb.store.Store.TxnGetResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Store.TxnGetResponseOrBuilder,Cloneable
- Enclosing class:
- Store.TxnGetResponse
public static final class Store.TxnGetResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Store.TxnGetResponse.Builder>
implements Store.TxnGetResponseOrBuilder
Protobuf type
dingodb.pb.store.TxnGetResponse-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()for document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existerror codeclearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) response infoA value could not be retrieved due to the state of the database for the requested key.for store table/index region: The value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existfor vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existclone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorfor document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existfor document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existfor document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existgetError()error codeerror codeerror coderesponse inforesponse inforesponse infoA value could not be retrieved due to the state of the database for the requested key.A value could not be retrieved due to the state of the database for the requested key.A value could not be retrieved due to the state of the database for the requested key.com.google.protobuf.ByteStringgetValue()for store table/index region: The value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existfor vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existfor vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existfor vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existbooleanfor document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existbooleanhasError()error codebooleanresponse infobooleanA value could not be retrieved due to the state of the database for the requested key.booleanfor vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanfor document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existmergeError(ErrorOuterClass.Error value) error codemergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Store.TxnGetResponse other) response infoA value could not be retrieved due to the state of the database for the requested key.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeVector(Common.VectorWithId value) for vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existsetDocument(Common.DocumentWithId value) for document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existsetDocument(Common.DocumentWithId.Builder builderForValue) for document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existsetError(ErrorOuterClass.Error value) error codesetError(ErrorOuterClass.Error.Builder builderForValue) error codesetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) response infosetResponseInfo(Common.ResponseInfo.Builder builderForValue) response infosetTxnResult(Store.TxnResultInfo value) A value could not be retrieved due to the state of the database for the requested key.setTxnResult(Store.TxnResultInfo.Builder builderForValue) A value could not be retrieved due to the state of the database for the requested key.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setValue(com.google.protobuf.ByteString value) for store table/index region: The value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existsetVector(Common.VectorWithId value) for vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existsetVector(Common.VectorWithId.Builder builderForValue) for vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existMethods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnGetResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnGetResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnGetResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnGetResponse.Builder>
-
setField
public Store.TxnGetResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnGetResponse.Builder>
-
clearField
public Store.TxnGetResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnGetResponse.Builder>
-
clearOneof
public Store.TxnGetResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnGetResponse.Builder>
-
setRepeatedField
public Store.TxnGetResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnGetResponse.Builder>
-
addRepeatedField
public Store.TxnGetResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnGetResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Store.TxnGetResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnGetResponse.Builder>
-
mergeFrom
public Store.TxnGetResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Store.TxnGetResponse.Builder>- Throws:
IOException
-
hasResponseInfo
public boolean hasResponseInfo()response info
.dingodb.pb.common.ResponseInfo response_info = 1;- Specified by:
hasResponseInfoin interfaceStore.TxnGetResponseOrBuilder- Returns:
- Whether the responseInfo field is set.
-
getResponseInfo
response info
.dingodb.pb.common.ResponseInfo response_info = 1;- Specified by:
getResponseInfoin interfaceStore.TxnGetResponseOrBuilder- 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
response info
.dingodb.pb.common.ResponseInfo response_info = 1; -
getResponseInfoBuilder
response info
.dingodb.pb.common.ResponseInfo response_info = 1; -
getResponseInfoOrBuilder
response info
.dingodb.pb.common.ResponseInfo response_info = 1;- Specified by:
getResponseInfoOrBuilderin interfaceStore.TxnGetResponseOrBuilder
-
hasError
public boolean hasError()error code
.dingodb.pb.error.Error error = 2;- Specified by:
hasErrorin interfaceStore.TxnGetResponseOrBuilder- Returns:
- Whether the error field is set.
-
getError
error code
.dingodb.pb.error.Error error = 2;- Specified by:
getErrorin interfaceStore.TxnGetResponseOrBuilder- 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
error code
.dingodb.pb.error.Error error = 2; -
getErrorOrBuilder
error code
.dingodb.pb.error.Error error = 2;- Specified by:
getErrorOrBuilderin interfaceStore.TxnGetResponseOrBuilder
-
hasTxnResult
public boolean hasTxnResult()A value could not be retrieved due to the state of the database for the requested key. 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:
hasTxnResultin interfaceStore.TxnGetResponseOrBuilder- Returns:
- Whether the txnResult field is set.
-
getTxnResult
A value could not be retrieved due to the state of the database for the requested key. 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:
getTxnResultin interfaceStore.TxnGetResponseOrBuilder- Returns:
- The txnResult.
-
setTxnResult
A value could not be retrieved due to the state of the database for the requested key. 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; -
setTxnResult
A value could not be retrieved due to the state of the database for the requested key. 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; -
mergeTxnResult
A value could not be retrieved due to the state of the database for the requested key. 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; -
clearTxnResult
A value could not be retrieved due to the state of the database for the requested key. 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; -
getTxnResultBuilder
A value could not be retrieved due to the state of the database for the requested key. 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; -
getTxnResultOrBuilder
A value could not be retrieved due to the state of the database for the requested key. 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:
getTxnResultOrBuilderin interfaceStore.TxnGetResponseOrBuilder
-
getValue
public com.google.protobuf.ByteString getValue()for store table/index region: The value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
bytes value = 4;- Specified by:
getValuein interfaceStore.TxnGetResponseOrBuilder- Returns:
- The value.
-
setValue
for store table/index region: The value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
bytes value = 4;- Parameters:
value- The value to set.- Returns:
- This builder for chaining.
-
clearValue
for store table/index region: The value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
bytes value = 4;- Returns:
- This builder for chaining.
-
hasVector
public boolean hasVector()for vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.VectorWithId vector = 5;- Specified by:
hasVectorin interfaceStore.TxnGetResponseOrBuilder- Returns:
- Whether the vector field is set.
-
getVector
for vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.VectorWithId vector = 5;- Specified by:
getVectorin interfaceStore.TxnGetResponseOrBuilder- Returns:
- The vector.
-
setVector
for vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.VectorWithId vector = 5; -
setVector
for vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.VectorWithId vector = 5; -
mergeVector
for vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.VectorWithId vector = 5; -
clearVector
for vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.VectorWithId vector = 5; -
getVectorBuilder
for vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.VectorWithId vector = 5; -
getVectorOrBuilder
for vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.VectorWithId vector = 5;- Specified by:
getVectorOrBuilderin interfaceStore.TxnGetResponseOrBuilder
-
hasDocument
public boolean hasDocument()for document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.DocumentWithId document = 6;- Specified by:
hasDocumentin interfaceStore.TxnGetResponseOrBuilder- Returns:
- Whether the document field is set.
-
getDocument
for document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.DocumentWithId document = 6;- Specified by:
getDocumentin interfaceStore.TxnGetResponseOrBuilder- Returns:
- The document.
-
setDocument
for document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.DocumentWithId document = 6; -
setDocument
for document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.DocumentWithId document = 6; -
mergeDocument
for document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.DocumentWithId document = 6; -
clearDocument
for document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.DocumentWithId document = 6; -
getDocumentBuilder
for document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.DocumentWithId document = 6; -
getDocumentOrBuilder
for document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.DocumentWithId document = 6;- Specified by:
getDocumentOrBuilderin interfaceStore.TxnGetResponseOrBuilder
-
setUnknownFields
public final Store.TxnGetResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnGetResponse.Builder>
-
mergeUnknownFields
public final Store.TxnGetResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnGetResponse.Builder>
-