public static final class Kvrpcpb.CheckTxnStatusResponse extends com.google.protobuf.GeneratedMessageV3 implements Kvrpcpb.CheckTxnStatusResponseOrBuilder
kvrpcpb.CheckTxnStatusResponse| 限定符和类型 | 类和说明 |
|---|---|
static class |
Kvrpcpb.CheckTxnStatusResponse.Builder
Protobuf type
kvrpcpb.CheckTxnStatusResponse |
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 |
ACTION_FIELD_NUMBER |
static int |
COMMIT_VERSION_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static int |
LOCK_INFO_FIELD_NUMBER |
static int |
LOCK_TTL_FIELD_NUMBER |
static int |
REGION_ERROR_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
Kvrpcpb.Action |
getAction()
The action performed by TiKV (and why if the action is to rollback).
|
int |
getActionValue()
The action performed by TiKV (and why if the action is to rollback).
|
long |
getCommitVersion()
uint64 commit_version = 4; |
static Kvrpcpb.CheckTxnStatusResponse |
getDefaultInstance() |
Kvrpcpb.CheckTxnStatusResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Kvrpcpb.KeyError |
getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyErrorOrBuilder |
getErrorOrBuilder()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.LockInfo |
getLockInfo()
.kvrpcpb.LockInfo lock_info = 6; |
Kvrpcpb.LockInfoOrBuilder |
getLockInfoOrBuilder()
.kvrpcpb.LockInfo lock_info = 6; |
long |
getLockTtl()
Three kinds of transaction status:
locked: lock_ttl > 0
committed: commit_version > 0
rollbacked: lock_ttl = 0 && commit_version = 0
uint64 lock_ttl = 3; |
com.google.protobuf.Parser<Kvrpcpb.CheckTxnStatusResponse> |
getParserForType() |
Errorpb.Error |
getRegionError()
.errorpb.Error region_error = 1; |
Errorpb.ErrorOrBuilder |
getRegionErrorOrBuilder()
.errorpb.Error region_error = 1; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasError()
.kvrpcpb.KeyError error = 2; |
int |
hashCode() |
boolean |
hasLockInfo()
.kvrpcpb.LockInfo lock_info = 6; |
boolean |
hasRegionError()
.errorpb.Error region_error = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Kvrpcpb.CheckTxnStatusResponse.Builder |
newBuilder() |
static Kvrpcpb.CheckTxnStatusResponse.Builder |
newBuilder(Kvrpcpb.CheckTxnStatusResponse prototype) |
Kvrpcpb.CheckTxnStatusResponse.Builder |
newBuilderForType() |
protected Kvrpcpb.CheckTxnStatusResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Kvrpcpb.CheckTxnStatusResponse |
parseDelimitedFrom(InputStream input) |
static Kvrpcpb.CheckTxnStatusResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.CheckTxnStatusResponse |
parseFrom(byte[] data) |
static Kvrpcpb.CheckTxnStatusResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.CheckTxnStatusResponse |
parseFrom(ByteBuffer data) |
static Kvrpcpb.CheckTxnStatusResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.CheckTxnStatusResponse |
parseFrom(com.google.protobuf.ByteString data) |
static Kvrpcpb.CheckTxnStatusResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.CheckTxnStatusResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Kvrpcpb.CheckTxnStatusResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.CheckTxnStatusResponse |
parseFrom(InputStream input) |
static Kvrpcpb.CheckTxnStatusResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Kvrpcpb.CheckTxnStatusResponse> |
parser() |
Kvrpcpb.CheckTxnStatusResponse.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 REGION_ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public static final int LOCK_TTL_FIELD_NUMBER
public static final int COMMIT_VERSION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
public static final int LOCK_INFO_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 hasRegionError()
.errorpb.Error region_error = 1;public Errorpb.Error getRegionError()
.errorpb.Error region_error = 1;public Errorpb.ErrorOrBuilder getRegionErrorOrBuilder()
.errorpb.Error region_error = 1;public boolean hasError()
.kvrpcpb.KeyError error = 2;public Kvrpcpb.KeyError getError()
.kvrpcpb.KeyError error = 2;public Kvrpcpb.KeyErrorOrBuilder getErrorOrBuilder()
.kvrpcpb.KeyError error = 2;public long getLockTtl()
Three kinds of transaction status: locked: lock_ttl > 0 committed: commit_version > 0 rollbacked: lock_ttl = 0 && commit_version = 0
uint64 lock_ttl = 3;public long getCommitVersion()
uint64 commit_version = 4;public int getActionValue()
The action performed by TiKV (and why if the action is to rollback).
.kvrpcpb.Action action = 5;public Kvrpcpb.Action getAction()
The action performed by TiKV (and why if the action is to rollback).
.kvrpcpb.Action action = 5;public boolean hasLockInfo()
.kvrpcpb.LockInfo lock_info = 6;public Kvrpcpb.LockInfo getLockInfo()
.kvrpcpb.LockInfo lock_info = 6;public Kvrpcpb.LockInfoOrBuilder getLockInfoOrBuilder()
.kvrpcpb.LockInfo lock_info = 6;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.CheckTxnStatusResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kvrpcpb.CheckTxnStatusResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kvrpcpb.CheckTxnStatusResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kvrpcpb.CheckTxnStatusResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kvrpcpb.CheckTxnStatusResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kvrpcpb.CheckTxnStatusResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kvrpcpb.CheckTxnStatusResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static Kvrpcpb.CheckTxnStatusResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Kvrpcpb.CheckTxnStatusResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Kvrpcpb.CheckTxnStatusResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Kvrpcpb.CheckTxnStatusResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Kvrpcpb.CheckTxnStatusResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Kvrpcpb.CheckTxnStatusResponse.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Kvrpcpb.CheckTxnStatusResponse.Builder newBuilder()
public static Kvrpcpb.CheckTxnStatusResponse.Builder newBuilder(Kvrpcpb.CheckTxnStatusResponse prototype)
public Kvrpcpb.CheckTxnStatusResponse.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Kvrpcpb.CheckTxnStatusResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static Kvrpcpb.CheckTxnStatusResponse getDefaultInstance()
public static com.google.protobuf.Parser<Kvrpcpb.CheckTxnStatusResponse> parser()
public com.google.protobuf.Parser<Kvrpcpb.CheckTxnStatusResponse> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Kvrpcpb.CheckTxnStatusResponse getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2023 PingCAP. All rights reserved.