public static final class Kvrpcpb.LockInfo extends com.google.protobuf.GeneratedMessageV3 implements Kvrpcpb.LockInfoOrBuilder
kvrpcpb.LockInfo| 限定符和类型 | 类和说明 |
|---|---|
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| 限定符和类型 | 字段和说明 |
|---|---|
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 |
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
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, 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 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
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 com.google.protobuf.ByteString getPrimaryLock()
bytes primary_lock = 1;getPrimaryLock 在接口中 Kvrpcpb.LockInfoOrBuilderpublic long getLockVersion()
uint64 lock_version = 2;getLockVersion 在接口中 Kvrpcpb.LockInfoOrBuilderpublic com.google.protobuf.ByteString getKey()
bytes key = 3;getKey 在接口中 Kvrpcpb.LockInfoOrBuilderpublic long getLockTtl()
uint64 lock_ttl = 4;getLockTtl 在接口中 Kvrpcpb.LockInfoOrBuilderpublic long getTxnSize()
How many keys this transaction involves in this region.
uint64 txn_size = 5;getTxnSize 在接口中 Kvrpcpb.LockInfoOrBuilderpublic int getLockTypeValue()
.kvrpcpb.Op lock_type = 6;getLockTypeValue 在接口中 Kvrpcpb.LockInfoOrBuilderpublic Kvrpcpb.Op getLockType()
.kvrpcpb.Op lock_type = 6;getLockType 在接口中 Kvrpcpb.LockInfoOrBuilderpublic long getLockForUpdateTs()
uint64 lock_for_update_ts = 7;getLockForUpdateTs 在接口中 Kvrpcpb.LockInfoOrBuilderpublic boolean getUseAsyncCommit()
Fields for transactions that are using Async Commit.
bool use_async_commit = 8;getUseAsyncCommit 在接口中 Kvrpcpb.LockInfoOrBuilderpublic long getMinCommitTs()
uint64 min_commit_ts = 9;getMinCommitTs 在接口中 Kvrpcpb.LockInfoOrBuilderpublic List<com.google.protobuf.ByteString> getSecondariesList()
repeated bytes secondaries = 10;getSecondariesList 在接口中 Kvrpcpb.LockInfoOrBuilderpublic int getSecondariesCount()
repeated bytes secondaries = 10;getSecondariesCount 在接口中 Kvrpcpb.LockInfoOrBuilderpublic com.google.protobuf.ByteString getSecondaries(int index)
repeated bytes secondaries = 10;getSecondaries 在接口中 Kvrpcpb.LockInfoOrBuilderpublic 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.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 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Kvrpcpb.LockInfo.Builder newBuilder()
public static Kvrpcpb.LockInfo.Builder newBuilder(Kvrpcpb.LockInfo prototype)
public Kvrpcpb.LockInfo.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Kvrpcpb.LockInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 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 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Kvrpcpb.LockInfo getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2023 PingCAP. All rights reserved.