public static final class Kvrpcpb.KeyError extends com.google.protobuf.GeneratedMessageV3 implements Kvrpcpb.KeyErrorOrBuilder
kvrpcpb.KeyError| 限定符和类型 | 类和说明 |
|---|---|
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| 限定符和类型 | 字段和说明 |
|---|---|
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 |
| 限定符和类型 | 方法和说明 |
|---|---|
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.AlreadyExist already_exist = 5; |
Kvrpcpb.AlreadyExistOrBuilder |
getAlreadyExistOrBuilder()
Key already exists
.kvrpcpb.AlreadyExist already_exist = 5; |
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. e.g write conflict.
|
com.google.protobuf.ByteString |
getRetryableBytes()
Client may restart the txn. e.g write conflict.
|
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
.kvrpcpb.AlreadyExist already_exist = 5; |
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) |
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, newInstance, 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, writeTopublic 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
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public boolean hasLocked()
Client should backoff or cleanup the lock then retry.
.kvrpcpb.LockInfo locked = 1;hasLocked 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.LockInfo getLocked()
Client should backoff or cleanup the lock then retry.
.kvrpcpb.LockInfo locked = 1;getLocked 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.LockInfoOrBuilder getLockedOrBuilder()
Client should backoff or cleanup the lock then retry.
.kvrpcpb.LockInfo locked = 1;getLockedOrBuilder 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic String getRetryable()
Client may restart the txn. e.g write conflict.
string retryable = 2;getRetryable 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic com.google.protobuf.ByteString getRetryableBytes()
Client may restart the txn. e.g write conflict.
string retryable = 2;getRetryableBytes 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic String getAbort()
Client should abort the txn.
string abort = 3;getAbort 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic com.google.protobuf.ByteString getAbortBytes()
Client should abort the txn.
string abort = 3;getAbortBytes 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic boolean hasConflict()
Write conflict is moved from retryable to here.
.kvrpcpb.WriteConflict conflict = 4;hasConflict 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.WriteConflict getConflict()
Write conflict is moved from retryable to here.
.kvrpcpb.WriteConflict conflict = 4;getConflict 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.WriteConflictOrBuilder getConflictOrBuilder()
Write conflict is moved from retryable to here.
.kvrpcpb.WriteConflict conflict = 4;public boolean hasAlreadyExist()
Key already exists
.kvrpcpb.AlreadyExist already_exist = 5;hasAlreadyExist 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.AlreadyExist getAlreadyExist()
Key already exists
.kvrpcpb.AlreadyExist already_exist = 5;getAlreadyExist 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.AlreadyExistOrBuilder getAlreadyExistOrBuilder()
Key already exists
.kvrpcpb.AlreadyExist already_exist = 5;public boolean hasDeadlock()
Deadlock is used in pessimistic transaction for single statement rollback.
.kvrpcpb.Deadlock deadlock = 6;hasDeadlock 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.Deadlock getDeadlock()
Deadlock is used in pessimistic transaction for single statement rollback.
.kvrpcpb.Deadlock deadlock = 6;getDeadlock 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.DeadlockOrBuilder getDeadlockOrBuilder()
Deadlock is used in pessimistic transaction for single statement rollback.
.kvrpcpb.Deadlock deadlock = 6;public boolean hasCommitTsExpired()
Commit ts is earlier than min commit ts of a transaction.
.kvrpcpb.CommitTsExpired commit_ts_expired = 7;hasCommitTsExpired 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.CommitTsExpired getCommitTsExpired()
Commit ts is earlier than min commit ts of a transaction.
.kvrpcpb.CommitTsExpired commit_ts_expired = 7;getCommitTsExpired 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.CommitTsExpiredOrBuilder getCommitTsExpiredOrBuilder()
Commit ts is earlier than min commit ts of a transaction.
.kvrpcpb.CommitTsExpired commit_ts_expired = 7;public boolean hasTxnNotFound()
Txn not found when checking txn status.
.kvrpcpb.TxnNotFound txn_not_found = 8;hasTxnNotFound 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.TxnNotFound getTxnNotFound()
Txn not found when checking txn status.
.kvrpcpb.TxnNotFound txn_not_found = 8;getTxnNotFound 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.TxnNotFoundOrBuilder getTxnNotFoundOrBuilder()
Txn not found when checking txn status.
.kvrpcpb.TxnNotFound txn_not_found = 8;public boolean hasCommitTsTooLarge()
Calculated commit TS exceeds the limit given by the user.
.kvrpcpb.CommitTsTooLarge commit_ts_too_large = 9;hasCommitTsTooLarge 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.CommitTsTooLarge getCommitTsTooLarge()
Calculated commit TS exceeds the limit given by the user.
.kvrpcpb.CommitTsTooLarge commit_ts_too_large = 9;getCommitTsTooLarge 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.CommitTsTooLargeOrBuilder getCommitTsTooLargeOrBuilder()
Calculated commit TS exceeds the limit given by the user.
.kvrpcpb.CommitTsTooLarge commit_ts_too_large = 9;public boolean hasAssertionFailed()
Assertion of a `Mutation` is evaluated as a failure.
.kvrpcpb.AssertionFailed assertion_failed = 10;hasAssertionFailed 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.AssertionFailed getAssertionFailed()
Assertion of a `Mutation` is evaluated as a failure.
.kvrpcpb.AssertionFailed assertion_failed = 10;getAssertionFailed 在接口中 Kvrpcpb.KeyErrorOrBuilderpublic Kvrpcpb.AssertionFailedOrBuilder getAssertionFailedOrBuilder()
Assertion of a `Mutation` is evaluated as a failure.
.kvrpcpb.AssertionFailed assertion_failed = 10;public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 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 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Kvrpcpb.KeyError.Builder newBuilder()
public static Kvrpcpb.KeyError.Builder newBuilder(Kvrpcpb.KeyError prototype)
public Kvrpcpb.KeyError.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Kvrpcpb.KeyError.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 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 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Kvrpcpb.KeyError getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2023 PingCAP. All rights reserved.