Package io.dingodb.store
Class Store.TxnResultInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Store.TxnResultInfo.Builder>
io.dingodb.store.Store.TxnResultInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Store.TxnResultInfoOrBuilder,Cloneable
- Enclosing class:
- Store.TxnResultInfo
public static final class Store.TxnResultInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Store.TxnResultInfo.Builder>
implements Store.TxnResultInfoOrBuilder
Protobuf type
dingodb.pb.store.TxnResultInfo-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Commit ts is earlier than min commit ts of a transaction.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Client should backoff or cleanup the lock then retry, this error occurs in get phase.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) CheckTxnStatus is sent to a lock that's not the primary.Txn not found when checking txn status.Write conflict with key which is locked by another transaction, this error occurs in prewrite phase.clone()Commit ts is earlier than min commit ts of a transaction.Commit ts is earlier than min commit ts of a transaction.Commit ts is earlier than min commit ts of a transaction.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorClient should backoff or cleanup the lock then retry, this error occurs in get phase.Client should backoff or cleanup the lock then retry, this error occurs in get phase.Client should backoff or cleanup the lock then retry, this error occurs in get phase.CheckTxnStatus is sent to a lock that's not the primary.CheckTxnStatus is sent to a lock that's not the primary.CheckTxnStatus is sent to a lock that's not the primary.Txn not found when checking txn status.Txn not found when checking txn status.Txn not found when checking txn status.Write conflict with key which is locked by another transaction, this error occurs in prewrite phase.Write conflict with key which is locked by another transaction, this error occurs in prewrite phase.Write conflict with key which is locked by another transaction, this error occurs in prewrite phase.booleanCommit ts is earlier than min commit ts of a transaction.booleanClient should backoff or cleanup the lock then retry, this error occurs in get phase.booleanCheckTxnStatus is sent to a lock that's not the primary.booleanTxn not found when checking txn status.booleanWrite conflict with key which is locked by another transaction, this error occurs in prewrite phase.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanCommit ts is earlier than min commit ts of a transaction.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Store.TxnResultInfo other) mergeLocked(Store.LockInfo value) Client should backoff or cleanup the lock then retry, this error occurs in get phase.CheckTxnStatus is sent to a lock that's not the primary.Txn not found when checking txn status.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Write conflict with key which is locked by another transaction, this error occurs in prewrite phase.Commit ts is earlier than min commit ts of a transaction.setCommitTsExpired(Store.CommitTsExpired.Builder builderForValue) Commit ts is earlier than min commit ts of a transaction.setLocked(Store.LockInfo value) Client should backoff or cleanup the lock then retry, this error occurs in get phase.setLocked(Store.LockInfo.Builder builderForValue) Client should backoff or cleanup the lock then retry, this error occurs in get phase.CheckTxnStatus is sent to a lock that's not the primary.setPrimaryMismatch(Store.PrimaryMismatch.Builder builderForValue) CheckTxnStatus is sent to a lock that's not the primary.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTxnNotFound(Store.TxnNotFound value) Txn not found when checking txn status.setTxnNotFound(Store.TxnNotFound.Builder builderForValue) Txn not found when checking txn status.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Write conflict with key which is locked by another transaction, this error occurs in prewrite phase.setWriteConflict(Store.WriteConflict.Builder builderForValue) Write conflict with key which is locked by another transaction, this error occurs in prewrite phase.Methods 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.TxnResultInfo.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.TxnResultInfo.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.TxnResultInfo.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.TxnResultInfo.Builder>
-
setField
public Store.TxnResultInfo.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.TxnResultInfo.Builder>
-
clearField
public Store.TxnResultInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnResultInfo.Builder>
-
clearOneof
public Store.TxnResultInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnResultInfo.Builder>
-
setRepeatedField
public Store.TxnResultInfo.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.TxnResultInfo.Builder>
-
addRepeatedField
public Store.TxnResultInfo.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.TxnResultInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Store.TxnResultInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnResultInfo.Builder>
-
mergeFrom
public Store.TxnResultInfo.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.TxnResultInfo.Builder>- Throws:
IOException
-
hasLocked
public boolean hasLocked()Client should backoff or cleanup the lock then retry, this error occurs in get phase.
.dingodb.pb.store.LockInfo locked = 1;- Specified by:
hasLockedin interfaceStore.TxnResultInfoOrBuilder- Returns:
- Whether the locked field is set.
-
getLocked
Client should backoff or cleanup the lock then retry, this error occurs in get phase.
.dingodb.pb.store.LockInfo locked = 1;- Specified by:
getLockedin interfaceStore.TxnResultInfoOrBuilder- Returns:
- The locked.
-
setLocked
Client should backoff or cleanup the lock then retry, this error occurs in get phase.
.dingodb.pb.store.LockInfo locked = 1; -
setLocked
Client should backoff or cleanup the lock then retry, this error occurs in get phase.
.dingodb.pb.store.LockInfo locked = 1; -
mergeLocked
Client should backoff or cleanup the lock then retry, this error occurs in get phase.
.dingodb.pb.store.LockInfo locked = 1; -
clearLocked
Client should backoff or cleanup the lock then retry, this error occurs in get phase.
.dingodb.pb.store.LockInfo locked = 1; -
getLockedBuilder
Client should backoff or cleanup the lock then retry, this error occurs in get phase.
.dingodb.pb.store.LockInfo locked = 1; -
getLockedOrBuilder
Client should backoff or cleanup the lock then retry, this error occurs in get phase.
.dingodb.pb.store.LockInfo locked = 1;- Specified by:
getLockedOrBuilderin interfaceStore.TxnResultInfoOrBuilder
-
hasWriteConflict
public boolean hasWriteConflict()Write conflict with key which is locked by another transaction, this error occurs in prewrite phase.
.dingodb.pb.store.WriteConflict write_conflict = 2;- Specified by:
hasWriteConflictin interfaceStore.TxnResultInfoOrBuilder- Returns:
- Whether the writeConflict field is set.
-
getWriteConflict
Write conflict with key which is locked by another transaction, this error occurs in prewrite phase.
.dingodb.pb.store.WriteConflict write_conflict = 2;- Specified by:
getWriteConflictin interfaceStore.TxnResultInfoOrBuilder- Returns:
- The writeConflict.
-
setWriteConflict
Write conflict with key which is locked by another transaction, this error occurs in prewrite phase.
.dingodb.pb.store.WriteConflict write_conflict = 2; -
setWriteConflict
Write conflict with key which is locked by another transaction, this error occurs in prewrite phase.
.dingodb.pb.store.WriteConflict write_conflict = 2; -
mergeWriteConflict
Write conflict with key which is locked by another transaction, this error occurs in prewrite phase.
.dingodb.pb.store.WriteConflict write_conflict = 2; -
clearWriteConflict
Write conflict with key which is locked by another transaction, this error occurs in prewrite phase.
.dingodb.pb.store.WriteConflict write_conflict = 2; -
getWriteConflictBuilder
Write conflict with key which is locked by another transaction, this error occurs in prewrite phase.
.dingodb.pb.store.WriteConflict write_conflict = 2; -
getWriteConflictOrBuilder
Write conflict with key which is locked by another transaction, this error occurs in prewrite phase.
.dingodb.pb.store.WriteConflict write_conflict = 2;- Specified by:
getWriteConflictOrBuilderin interfaceStore.TxnResultInfoOrBuilder
-
hasTxnNotFound
public boolean hasTxnNotFound()Txn not found when checking txn status.
.dingodb.pb.store.TxnNotFound txn_not_found = 3;- Specified by:
hasTxnNotFoundin interfaceStore.TxnResultInfoOrBuilder- Returns:
- Whether the txnNotFound field is set.
-
getTxnNotFound
Txn not found when checking txn status.
.dingodb.pb.store.TxnNotFound txn_not_found = 3;- Specified by:
getTxnNotFoundin interfaceStore.TxnResultInfoOrBuilder- Returns:
- The txnNotFound.
-
setTxnNotFound
Txn not found when checking txn status.
.dingodb.pb.store.TxnNotFound txn_not_found = 3; -
setTxnNotFound
Txn not found when checking txn status.
.dingodb.pb.store.TxnNotFound txn_not_found = 3; -
mergeTxnNotFound
Txn not found when checking txn status.
.dingodb.pb.store.TxnNotFound txn_not_found = 3; -
clearTxnNotFound
Txn not found when checking txn status.
.dingodb.pb.store.TxnNotFound txn_not_found = 3; -
getTxnNotFoundBuilder
Txn not found when checking txn status.
.dingodb.pb.store.TxnNotFound txn_not_found = 3; -
getTxnNotFoundOrBuilder
Txn not found when checking txn status.
.dingodb.pb.store.TxnNotFound txn_not_found = 3;- Specified by:
getTxnNotFoundOrBuilderin interfaceStore.TxnResultInfoOrBuilder
-
hasPrimaryMismatch
public boolean hasPrimaryMismatch()CheckTxnStatus is sent to a lock that's not the primary.
.dingodb.pb.store.PrimaryMismatch primary_mismatch = 4;- Specified by:
hasPrimaryMismatchin interfaceStore.TxnResultInfoOrBuilder- Returns:
- Whether the primaryMismatch field is set.
-
getPrimaryMismatch
CheckTxnStatus is sent to a lock that's not the primary.
.dingodb.pb.store.PrimaryMismatch primary_mismatch = 4;- Specified by:
getPrimaryMismatchin interfaceStore.TxnResultInfoOrBuilder- Returns:
- The primaryMismatch.
-
setPrimaryMismatch
CheckTxnStatus is sent to a lock that's not the primary.
.dingodb.pb.store.PrimaryMismatch primary_mismatch = 4; -
setPrimaryMismatch
public Store.TxnResultInfo.Builder setPrimaryMismatch(Store.PrimaryMismatch.Builder builderForValue) CheckTxnStatus is sent to a lock that's not the primary.
.dingodb.pb.store.PrimaryMismatch primary_mismatch = 4; -
mergePrimaryMismatch
CheckTxnStatus is sent to a lock that's not the primary.
.dingodb.pb.store.PrimaryMismatch primary_mismatch = 4; -
clearPrimaryMismatch
CheckTxnStatus is sent to a lock that's not the primary.
.dingodb.pb.store.PrimaryMismatch primary_mismatch = 4; -
getPrimaryMismatchBuilder
CheckTxnStatus is sent to a lock that's not the primary.
.dingodb.pb.store.PrimaryMismatch primary_mismatch = 4; -
getPrimaryMismatchOrBuilder
CheckTxnStatus is sent to a lock that's not the primary.
.dingodb.pb.store.PrimaryMismatch primary_mismatch = 4;- Specified by:
getPrimaryMismatchOrBuilderin interfaceStore.TxnResultInfoOrBuilder
-
hasCommitTsExpired
public boolean hasCommitTsExpired()Commit ts is earlier than min commit ts of a transaction.
.dingodb.pb.store.CommitTsExpired commit_ts_expired = 5;- Specified by:
hasCommitTsExpiredin interfaceStore.TxnResultInfoOrBuilder- Returns:
- Whether the commitTsExpired field is set.
-
getCommitTsExpired
Commit ts is earlier than min commit ts of a transaction.
.dingodb.pb.store.CommitTsExpired commit_ts_expired = 5;- Specified by:
getCommitTsExpiredin interfaceStore.TxnResultInfoOrBuilder- Returns:
- The commitTsExpired.
-
setCommitTsExpired
Commit ts is earlier than min commit ts of a transaction.
.dingodb.pb.store.CommitTsExpired commit_ts_expired = 5; -
setCommitTsExpired
public Store.TxnResultInfo.Builder setCommitTsExpired(Store.CommitTsExpired.Builder builderForValue) Commit ts is earlier than min commit ts of a transaction.
.dingodb.pb.store.CommitTsExpired commit_ts_expired = 5; -
mergeCommitTsExpired
Commit ts is earlier than min commit ts of a transaction.
.dingodb.pb.store.CommitTsExpired commit_ts_expired = 5; -
clearCommitTsExpired
Commit ts is earlier than min commit ts of a transaction.
.dingodb.pb.store.CommitTsExpired commit_ts_expired = 5; -
getCommitTsExpiredBuilder
Commit ts is earlier than min commit ts of a transaction.
.dingodb.pb.store.CommitTsExpired commit_ts_expired = 5; -
getCommitTsExpiredOrBuilder
Commit ts is earlier than min commit ts of a transaction.
.dingodb.pb.store.CommitTsExpired commit_ts_expired = 5;- Specified by:
getCommitTsExpiredOrBuilderin interfaceStore.TxnResultInfoOrBuilder
-
setUnknownFields
public final Store.TxnResultInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnResultInfo.Builder>
-
mergeUnknownFields
public final Store.TxnResultInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnResultInfo.Builder>
-