public static final class Kvrpcpb.KeyError extends com.google.protobuf.GeneratedMessageV3 implements Kvrpcpb.KeyErrorOrBuilder
kvrpcpb.KeyError| Modifier and Type | Class and Description |
|---|---|
static class |
Kvrpcpb.KeyError.Builder
Protobuf type
kvrpcpb.KeyError |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ABORT_FIELD_NUMBER |
static int |
ALREADY_EXIST_FIELD_NUMBER |
static int |
ASSERTION_FAILED_FIELD_NUMBER |
static int |
COMMIT_TS_EXPIRED_FIELD_NUMBER |
static int |
COMMIT_TS_TOO_LARGE_FIELD_NUMBER |
static int |
CONFLICT_FIELD_NUMBER |
static int |
DEADLOCK_FIELD_NUMBER |
static int |
LOCKED_FIELD_NUMBER |
static int |
RETRYABLE_FIELD_NUMBER |
static int |
TXN_NOT_FOUND_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAbort()
Client should abort the txn.
|
com.google.protobuf.ByteString |
getAbortBytes()
Client should abort the txn.
|
Kvrpcpb.AlreadyExist |
getAlreadyExist()
Key already exists
|
Kvrpcpb.AlreadyExistOrBuilder |
getAlreadyExistOrBuilder()
Key already exists
|
Kvrpcpb.AssertionFailed |
getAssertionFailed()
Assertion of a `Mutation` is evaluated as a failure.
|
Kvrpcpb.AssertionFailedOrBuilder |
getAssertionFailedOrBuilder()
Assertion of a `Mutation` is evaluated as a failure.
|
Kvrpcpb.CommitTsExpired |
getCommitTsExpired()
Commit ts is earlier than min commit ts of a transaction.
|
Kvrpcpb.CommitTsExpiredOrBuilder |
getCommitTsExpiredOrBuilder()
Commit ts is earlier than min commit ts of a transaction.
|
Kvrpcpb.CommitTsTooLarge |
getCommitTsTooLarge()
Calculated commit TS exceeds the limit given by the user.
|
Kvrpcpb.CommitTsTooLargeOrBuilder |
getCommitTsTooLargeOrBuilder()
Calculated commit TS exceeds the limit given by the user.
|
Kvrpcpb.WriteConflict |
getConflict()
Write conflict is moved from retryable to here.
|
Kvrpcpb.WriteConflictOrBuilder |
getConflictOrBuilder()
Write conflict is moved from retryable to here.
|
Kvrpcpb.Deadlock |
getDeadlock()
Deadlock is used in pessimistic transaction for single statement rollback.
|
Kvrpcpb.DeadlockOrBuilder |
getDeadlockOrBuilder()
Deadlock is used in pessimistic transaction for single statement rollback.
|
static Kvrpcpb.KeyError |
getDefaultInstance() |
Kvrpcpb.KeyError |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Kvrpcpb.LockInfo |
getLocked()
Client should backoff or cleanup the lock then retry.
|
Kvrpcpb.LockInfoOrBuilder |
getLockedOrBuilder()
Client should backoff or cleanup the lock then retry.
|
com.google.protobuf.Parser<Kvrpcpb.KeyError> |
getParserForType() |
String |
getRetryable()
Client may restart the txn.
|
com.google.protobuf.ByteString |
getRetryableBytes()
Client may restart the txn.
|
int |
getSerializedSize() |
Kvrpcpb.TxnNotFound |
getTxnNotFound()
Txn not found when checking txn status.
|
Kvrpcpb.TxnNotFoundOrBuilder |
getTxnNotFoundOrBuilder()
Txn not found when checking txn status.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAlreadyExist()
Key already exists
|
boolean |
hasAssertionFailed()
Assertion of a `Mutation` is evaluated as a failure.
|
boolean |
hasCommitTsExpired()
Commit ts is earlier than min commit ts of a transaction.
|
boolean |
hasCommitTsTooLarge()
Calculated commit TS exceeds the limit given by the user.
|
boolean |
hasConflict()
Write conflict is moved from retryable to here.
|
boolean |
hasDeadlock()
Deadlock is used in pessimistic transaction for single statement rollback.
|
int |
hashCode() |
boolean |
hasLocked()
Client should backoff or cleanup the lock then retry.
|
boolean |
hasTxnNotFound()
Txn not found when checking txn status.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Kvrpcpb.KeyError.Builder |
newBuilder() |
static Kvrpcpb.KeyError.Builder |
newBuilder(Kvrpcpb.KeyError prototype) |
Kvrpcpb.KeyError.Builder |
newBuilderForType() |
protected Kvrpcpb.KeyError.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Kvrpcpb.KeyError |
parseDelimitedFrom(InputStream input) |
static Kvrpcpb.KeyError |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.KeyError |
parseFrom(byte[] data) |
static Kvrpcpb.KeyError |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.KeyError |
parseFrom(ByteBuffer data) |
static Kvrpcpb.KeyError |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.KeyError |
parseFrom(com.google.protobuf.ByteString data) |
static Kvrpcpb.KeyError |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.KeyError |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Kvrpcpb.KeyError |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.KeyError |
parseFrom(InputStream input) |
static Kvrpcpb.KeyError |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Kvrpcpb.KeyError> |
parser() |
Kvrpcpb.KeyError.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int LOCKED_FIELD_NUMBER
public static final int RETRYABLE_FIELD_NUMBER
public static final int ABORT_FIELD_NUMBER
public static final int CONFLICT_FIELD_NUMBER
public static final int ALREADY_EXIST_FIELD_NUMBER
public static final int DEADLOCK_FIELD_NUMBER
public static final int COMMIT_TS_EXPIRED_FIELD_NUMBER
public static final int TXN_NOT_FOUND_FIELD_NUMBER
public static final int COMMIT_TS_TOO_LARGE_FIELD_NUMBER
public static final int ASSERTION_FAILED_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasLocked()
Client should backoff or cleanup the lock then retry.
.kvrpcpb.LockInfo locked = 1;hasLocked in interface Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.LockInfo getLocked()
Client should backoff or cleanup the lock then retry.
.kvrpcpb.LockInfo locked = 1;getLocked in interface Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.LockInfoOrBuilder getLockedOrBuilder()
Client should backoff or cleanup the lock then retry.
.kvrpcpb.LockInfo locked = 1;getLockedOrBuilder in interface Kvrpcpb.KeyErrorOrBuilderpublic String getRetryable()
Client may restart the txn. e.g write conflict.
string retryable = 2;getRetryable in interface Kvrpcpb.KeyErrorOrBuilderpublic com.google.protobuf.ByteString getRetryableBytes()
Client may restart the txn. e.g write conflict.
string retryable = 2;getRetryableBytes in interface Kvrpcpb.KeyErrorOrBuilderpublic String getAbort()
Client should abort the txn.
string abort = 3;getAbort in interface Kvrpcpb.KeyErrorOrBuilderpublic com.google.protobuf.ByteString getAbortBytes()
Client should abort the txn.
string abort = 3;getAbortBytes in interface Kvrpcpb.KeyErrorOrBuilderpublic boolean hasConflict()
Write conflict is moved from retryable to here.
.kvrpcpb.WriteConflict conflict = 4;hasConflict in interface Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.WriteConflict getConflict()
Write conflict is moved from retryable to here.
.kvrpcpb.WriteConflict conflict = 4;getConflict in interface Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.WriteConflictOrBuilder getConflictOrBuilder()
Write conflict is moved from retryable to here.
.kvrpcpb.WriteConflict conflict = 4;getConflictOrBuilder in interface Kvrpcpb.KeyErrorOrBuilderpublic boolean hasAlreadyExist()
Key already exists
.kvrpcpb.AlreadyExist already_exist = 5;hasAlreadyExist in interface Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.AlreadyExist getAlreadyExist()
Key already exists
.kvrpcpb.AlreadyExist already_exist = 5;getAlreadyExist in interface Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.AlreadyExistOrBuilder getAlreadyExistOrBuilder()
Key already exists
.kvrpcpb.AlreadyExist already_exist = 5;getAlreadyExistOrBuilder in interface Kvrpcpb.KeyErrorOrBuilderpublic boolean hasDeadlock()
Deadlock is used in pessimistic transaction for single statement rollback.
.kvrpcpb.Deadlock deadlock = 6;hasDeadlock in interface Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.Deadlock getDeadlock()
Deadlock is used in pessimistic transaction for single statement rollback.
.kvrpcpb.Deadlock deadlock = 6;getDeadlock in interface Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.DeadlockOrBuilder getDeadlockOrBuilder()
Deadlock is used in pessimistic transaction for single statement rollback.
.kvrpcpb.Deadlock deadlock = 6;getDeadlockOrBuilder in interface Kvrpcpb.KeyErrorOrBuilderpublic boolean hasCommitTsExpired()
Commit ts is earlier than min commit ts of a transaction.
.kvrpcpb.CommitTsExpired commit_ts_expired = 7;hasCommitTsExpired in interface Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.CommitTsExpired getCommitTsExpired()
Commit ts is earlier than min commit ts of a transaction.
.kvrpcpb.CommitTsExpired commit_ts_expired = 7;getCommitTsExpired in interface Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.CommitTsExpiredOrBuilder getCommitTsExpiredOrBuilder()
Commit ts is earlier than min commit ts of a transaction.
.kvrpcpb.CommitTsExpired commit_ts_expired = 7;getCommitTsExpiredOrBuilder in interface Kvrpcpb.KeyErrorOrBuilderpublic boolean hasTxnNotFound()
Txn not found when checking txn status.
.kvrpcpb.TxnNotFound txn_not_found = 8;hasTxnNotFound in interface Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.TxnNotFound getTxnNotFound()
Txn not found when checking txn status.
.kvrpcpb.TxnNotFound txn_not_found = 8;getTxnNotFound in interface Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.TxnNotFoundOrBuilder getTxnNotFoundOrBuilder()
Txn not found when checking txn status.
.kvrpcpb.TxnNotFound txn_not_found = 8;getTxnNotFoundOrBuilder in interface Kvrpcpb.KeyErrorOrBuilderpublic boolean hasCommitTsTooLarge()
Calculated commit TS exceeds the limit given by the user.
.kvrpcpb.CommitTsTooLarge commit_ts_too_large = 9;hasCommitTsTooLarge in interface Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.CommitTsTooLarge getCommitTsTooLarge()
Calculated commit TS exceeds the limit given by the user.
.kvrpcpb.CommitTsTooLarge commit_ts_too_large = 9;getCommitTsTooLarge in interface Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.CommitTsTooLargeOrBuilder getCommitTsTooLargeOrBuilder()
Calculated commit TS exceeds the limit given by the user.
.kvrpcpb.CommitTsTooLarge commit_ts_too_large = 9;getCommitTsTooLargeOrBuilder in interface Kvrpcpb.KeyErrorOrBuilderpublic boolean hasAssertionFailed()
Assertion of a `Mutation` is evaluated as a failure.
.kvrpcpb.AssertionFailed assertion_failed = 10;hasAssertionFailed in interface Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.AssertionFailed getAssertionFailed()
Assertion of a `Mutation` is evaluated as a failure.
.kvrpcpb.AssertionFailed assertion_failed = 10;getAssertionFailed in interface Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.AssertionFailedOrBuilder getAssertionFailedOrBuilder()
Assertion of a `Mutation` is evaluated as a failure.
.kvrpcpb.AssertionFailed assertion_failed = 10;getAssertionFailedOrBuilder in interface Kvrpcpb.KeyErrorOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Kvrpcpb.KeyError parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kvrpcpb.KeyError parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kvrpcpb.KeyError parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kvrpcpb.KeyError parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kvrpcpb.KeyError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kvrpcpb.KeyError parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kvrpcpb.KeyError parseFrom(InputStream input) throws IOException
IOExceptionpublic static Kvrpcpb.KeyError parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Kvrpcpb.KeyError parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Kvrpcpb.KeyError parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Kvrpcpb.KeyError parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Kvrpcpb.KeyError parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Kvrpcpb.KeyError.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Kvrpcpb.KeyError.Builder newBuilder()
public static Kvrpcpb.KeyError.Builder newBuilder(Kvrpcpb.KeyError prototype)
public Kvrpcpb.KeyError.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Kvrpcpb.KeyError.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Kvrpcpb.KeyError getDefaultInstance()
public static com.google.protobuf.Parser<Kvrpcpb.KeyError> parser()
public com.google.protobuf.Parser<Kvrpcpb.KeyError> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Kvrpcpb.KeyError getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 PingCAP. All rights reserved.