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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasLocked()
Client should backoff or cleanup the lock then retry.
.kvrpcpb.LockInfo locked = 1;
hasLocked
in interface Kvrpcpb.KeyErrorOrBuilder
public Kvrpcpb.LockInfo getLocked()
Client should backoff or cleanup the lock then retry.
.kvrpcpb.LockInfo locked = 1;
getLocked
in interface Kvrpcpb.KeyErrorOrBuilder
public Kvrpcpb.LockInfoOrBuilder getLockedOrBuilder()
Client should backoff or cleanup the lock then retry.
.kvrpcpb.LockInfo locked = 1;
getLockedOrBuilder
in interface Kvrpcpb.KeyErrorOrBuilder
public String getRetryable()
Client may restart the txn. e.g write conflict.
string retryable = 2;
getRetryable
in interface Kvrpcpb.KeyErrorOrBuilder
public com.google.protobuf.ByteString getRetryableBytes()
Client may restart the txn. e.g write conflict.
string retryable = 2;
getRetryableBytes
in interface Kvrpcpb.KeyErrorOrBuilder
public String getAbort()
Client should abort the txn.
string abort = 3;
getAbort
in interface Kvrpcpb.KeyErrorOrBuilder
public com.google.protobuf.ByteString getAbortBytes()
Client should abort the txn.
string abort = 3;
getAbortBytes
in interface Kvrpcpb.KeyErrorOrBuilder
public boolean hasConflict()
Write conflict is moved from retryable to here.
.kvrpcpb.WriteConflict conflict = 4;
hasConflict
in interface Kvrpcpb.KeyErrorOrBuilder
public Kvrpcpb.WriteConflict getConflict()
Write conflict is moved from retryable to here.
.kvrpcpb.WriteConflict conflict = 4;
getConflict
in interface Kvrpcpb.KeyErrorOrBuilder
public Kvrpcpb.WriteConflictOrBuilder getConflictOrBuilder()
Write conflict is moved from retryable to here.
.kvrpcpb.WriteConflict conflict = 4;
getConflictOrBuilder
in interface Kvrpcpb.KeyErrorOrBuilder
public boolean hasAlreadyExist()
Key already exists
.kvrpcpb.AlreadyExist already_exist = 5;
hasAlreadyExist
in interface Kvrpcpb.KeyErrorOrBuilder
public Kvrpcpb.AlreadyExist getAlreadyExist()
Key already exists
.kvrpcpb.AlreadyExist already_exist = 5;
getAlreadyExist
in interface Kvrpcpb.KeyErrorOrBuilder
public Kvrpcpb.AlreadyExistOrBuilder getAlreadyExistOrBuilder()
Key already exists
.kvrpcpb.AlreadyExist already_exist = 5;
getAlreadyExistOrBuilder
in interface Kvrpcpb.KeyErrorOrBuilder
public boolean hasDeadlock()
Deadlock is used in pessimistic transaction for single statement rollback.
.kvrpcpb.Deadlock deadlock = 6;
hasDeadlock
in interface Kvrpcpb.KeyErrorOrBuilder
public Kvrpcpb.Deadlock getDeadlock()
Deadlock is used in pessimistic transaction for single statement rollback.
.kvrpcpb.Deadlock deadlock = 6;
getDeadlock
in interface Kvrpcpb.KeyErrorOrBuilder
public Kvrpcpb.DeadlockOrBuilder getDeadlockOrBuilder()
Deadlock is used in pessimistic transaction for single statement rollback.
.kvrpcpb.Deadlock deadlock = 6;
getDeadlockOrBuilder
in interface Kvrpcpb.KeyErrorOrBuilder
public boolean hasCommitTsExpired()
Commit ts is earlier than min commit ts of a transaction.
.kvrpcpb.CommitTsExpired commit_ts_expired = 7;
hasCommitTsExpired
in interface Kvrpcpb.KeyErrorOrBuilder
public Kvrpcpb.CommitTsExpired getCommitTsExpired()
Commit ts is earlier than min commit ts of a transaction.
.kvrpcpb.CommitTsExpired commit_ts_expired = 7;
getCommitTsExpired
in interface Kvrpcpb.KeyErrorOrBuilder
public Kvrpcpb.CommitTsExpiredOrBuilder getCommitTsExpiredOrBuilder()
Commit ts is earlier than min commit ts of a transaction.
.kvrpcpb.CommitTsExpired commit_ts_expired = 7;
getCommitTsExpiredOrBuilder
in interface Kvrpcpb.KeyErrorOrBuilder
public boolean hasTxnNotFound()
Txn not found when checking txn status.
.kvrpcpb.TxnNotFound txn_not_found = 8;
hasTxnNotFound
in interface Kvrpcpb.KeyErrorOrBuilder
public Kvrpcpb.TxnNotFound getTxnNotFound()
Txn not found when checking txn status.
.kvrpcpb.TxnNotFound txn_not_found = 8;
getTxnNotFound
in interface Kvrpcpb.KeyErrorOrBuilder
public Kvrpcpb.TxnNotFoundOrBuilder getTxnNotFoundOrBuilder()
Txn not found when checking txn status.
.kvrpcpb.TxnNotFound txn_not_found = 8;
getTxnNotFoundOrBuilder
in interface Kvrpcpb.KeyErrorOrBuilder
public boolean hasCommitTsTooLarge()
Calculated commit TS exceeds the limit given by the user.
.kvrpcpb.CommitTsTooLarge commit_ts_too_large = 9;
hasCommitTsTooLarge
in interface Kvrpcpb.KeyErrorOrBuilder
public Kvrpcpb.CommitTsTooLarge getCommitTsTooLarge()
Calculated commit TS exceeds the limit given by the user.
.kvrpcpb.CommitTsTooLarge commit_ts_too_large = 9;
getCommitTsTooLarge
in interface Kvrpcpb.KeyErrorOrBuilder
public Kvrpcpb.CommitTsTooLargeOrBuilder getCommitTsTooLargeOrBuilder()
Calculated commit TS exceeds the limit given by the user.
.kvrpcpb.CommitTsTooLarge commit_ts_too_large = 9;
getCommitTsTooLargeOrBuilder
in interface Kvrpcpb.KeyErrorOrBuilder
public boolean hasAssertionFailed()
Assertion of a `Mutation` is evaluated as a failure.
.kvrpcpb.AssertionFailed assertion_failed = 10;
hasAssertionFailed
in interface Kvrpcpb.KeyErrorOrBuilder
public Kvrpcpb.AssertionFailed getAssertionFailed()
Assertion of a `Mutation` is evaluated as a failure.
.kvrpcpb.AssertionFailed assertion_failed = 10;
getAssertionFailed
in interface Kvrpcpb.KeyErrorOrBuilder
public Kvrpcpb.AssertionFailedOrBuilder getAssertionFailedOrBuilder()
Assertion of a `Mutation` is evaluated as a failure.
.kvrpcpb.AssertionFailed assertion_failed = 10;
getAssertionFailedOrBuilder
in interface Kvrpcpb.KeyErrorOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Kvrpcpb.KeyError parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Kvrpcpb.KeyError parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Kvrpcpb.KeyError parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Kvrpcpb.KeyError parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Kvrpcpb.KeyError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Kvrpcpb.KeyError parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Kvrpcpb.KeyError parseFrom(InputStream input) throws IOException
IOException
public static Kvrpcpb.KeyError parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Kvrpcpb.KeyError parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Kvrpcpb.KeyError parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Kvrpcpb.KeyError parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Kvrpcpb.KeyError parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Kvrpcpb.KeyError.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Kvrpcpb.KeyError.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Kvrpcpb.KeyError getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.