public static final class Kvrpcpb.LockInfo extends com.google.protobuf.GeneratedMessageV3 implements Kvrpcpb.LockInfoOrBuilder
kvrpcpb.LockInfo| Modifier and Type | Class and Description |
|---|---|
static class |
Kvrpcpb.LockInfo.Builder
Protobuf type
kvrpcpb.LockInfo |
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 |
KEY_FIELD_NUMBER |
static int |
LOCK_FOR_UPDATE_TS_FIELD_NUMBER |
static int |
LOCK_TTL_FIELD_NUMBER |
static int |
LOCK_TYPE_FIELD_NUMBER |
static int |
LOCK_VERSION_FIELD_NUMBER |
static int |
MIN_COMMIT_TS_FIELD_NUMBER |
static int |
PRIMARY_LOCK_FIELD_NUMBER |
static int |
SECONDARIES_FIELD_NUMBER |
static int |
TXN_SIZE_FIELD_NUMBER |
static int |
USE_ASYNC_COMMIT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Kvrpcpb.LockInfo |
getDefaultInstance() |
Kvrpcpb.LockInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getKey()
bytes key = 3; |
long |
getLockForUpdateTs()
uint64 lock_for_update_ts = 7; |
long |
getLockTtl()
uint64 lock_ttl = 4; |
Kvrpcpb.Op |
getLockType()
.kvrpcpb.Op lock_type = 6; |
int |
getLockTypeValue()
.kvrpcpb.Op lock_type = 6; |
long |
getLockVersion()
uint64 lock_version = 2; |
long |
getMinCommitTs()
uint64 min_commit_ts = 9; |
com.google.protobuf.Parser<Kvrpcpb.LockInfo> |
getParserForType() |
com.google.protobuf.ByteString |
getPrimaryLock()
bytes primary_lock = 1; |
com.google.protobuf.ByteString |
getSecondaries(int index)
repeated bytes secondaries = 10; |
int |
getSecondariesCount()
repeated bytes secondaries = 10; |
List<com.google.protobuf.ByteString> |
getSecondariesList()
repeated bytes secondaries = 10; |
int |
getSerializedSize() |
long |
getTxnSize()
How many keys this transaction involves in this region.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
getUseAsyncCommit()
Fields for transactions that are using Async Commit.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Kvrpcpb.LockInfo.Builder |
newBuilder() |
static Kvrpcpb.LockInfo.Builder |
newBuilder(Kvrpcpb.LockInfo prototype) |
Kvrpcpb.LockInfo.Builder |
newBuilderForType() |
protected Kvrpcpb.LockInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Kvrpcpb.LockInfo |
parseDelimitedFrom(InputStream input) |
static Kvrpcpb.LockInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.LockInfo |
parseFrom(byte[] data) |
static Kvrpcpb.LockInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.LockInfo |
parseFrom(ByteBuffer data) |
static Kvrpcpb.LockInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.LockInfo |
parseFrom(com.google.protobuf.ByteString data) |
static Kvrpcpb.LockInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.LockInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Kvrpcpb.LockInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.LockInfo |
parseFrom(InputStream input) |
static Kvrpcpb.LockInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Kvrpcpb.LockInfo> |
parser() |
Kvrpcpb.LockInfo.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 PRIMARY_LOCK_FIELD_NUMBER
public static final int LOCK_VERSION_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
public static final int LOCK_TTL_FIELD_NUMBER
public static final int TXN_SIZE_FIELD_NUMBER
public static final int LOCK_TYPE_FIELD_NUMBER
public static final int LOCK_FOR_UPDATE_TS_FIELD_NUMBER
public static final int USE_ASYNC_COMMIT_FIELD_NUMBER
public static final int MIN_COMMIT_TS_FIELD_NUMBER
public static final int SECONDARIES_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 com.google.protobuf.ByteString getPrimaryLock()
bytes primary_lock = 1;getPrimaryLock in interface Kvrpcpb.LockInfoOrBuilderpublic long getLockVersion()
uint64 lock_version = 2;getLockVersion in interface Kvrpcpb.LockInfoOrBuilderpublic com.google.protobuf.ByteString getKey()
bytes key = 3;getKey in interface Kvrpcpb.LockInfoOrBuilderpublic long getLockTtl()
uint64 lock_ttl = 4;getLockTtl in interface Kvrpcpb.LockInfoOrBuilderpublic long getTxnSize()
How many keys this transaction involves in this region.
uint64 txn_size = 5;getTxnSize in interface Kvrpcpb.LockInfoOrBuilderpublic int getLockTypeValue()
.kvrpcpb.Op lock_type = 6;getLockTypeValue in interface Kvrpcpb.LockInfoOrBuilderpublic Kvrpcpb.Op getLockType()
.kvrpcpb.Op lock_type = 6;getLockType in interface Kvrpcpb.LockInfoOrBuilderpublic long getLockForUpdateTs()
uint64 lock_for_update_ts = 7;getLockForUpdateTs in interface Kvrpcpb.LockInfoOrBuilderpublic boolean getUseAsyncCommit()
Fields for transactions that are using Async Commit.
bool use_async_commit = 8;getUseAsyncCommit in interface Kvrpcpb.LockInfoOrBuilderpublic long getMinCommitTs()
uint64 min_commit_ts = 9;getMinCommitTs in interface Kvrpcpb.LockInfoOrBuilderpublic List<com.google.protobuf.ByteString> getSecondariesList()
repeated bytes secondaries = 10;getSecondariesList in interface Kvrpcpb.LockInfoOrBuilderpublic int getSecondariesCount()
repeated bytes secondaries = 10;getSecondariesCount in interface Kvrpcpb.LockInfoOrBuilderpublic com.google.protobuf.ByteString getSecondaries(int index)
repeated bytes secondaries = 10;getSecondaries in interface Kvrpcpb.LockInfoOrBuilderindex - The index of the element to return.public 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.LockInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kvrpcpb.LockInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kvrpcpb.LockInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kvrpcpb.LockInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kvrpcpb.LockInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kvrpcpb.LockInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kvrpcpb.LockInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static Kvrpcpb.LockInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Kvrpcpb.LockInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Kvrpcpb.LockInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Kvrpcpb.LockInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Kvrpcpb.LockInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Kvrpcpb.LockInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Kvrpcpb.LockInfo.Builder newBuilder()
public static Kvrpcpb.LockInfo.Builder newBuilder(Kvrpcpb.LockInfo prototype)
public Kvrpcpb.LockInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Kvrpcpb.LockInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Kvrpcpb.LockInfo getDefaultInstance()
public static com.google.protobuf.Parser<Kvrpcpb.LockInfo> parser()
public com.google.protobuf.Parser<Kvrpcpb.LockInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Kvrpcpb.LockInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 PingCAP. All rights reserved.