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, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
public 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.MessageOrBuilder
getUnknownFields
在类中 com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
在类中 com.google.protobuf.GeneratedMessageV3
public com.google.protobuf.ByteString getPrimaryLock()
bytes primary_lock = 1;
getPrimaryLock
在接口中 Kvrpcpb.LockInfoOrBuilder
public long getLockVersion()
uint64 lock_version = 2;
getLockVersion
在接口中 Kvrpcpb.LockInfoOrBuilder
public com.google.protobuf.ByteString getKey()
bytes key = 3;
getKey
在接口中 Kvrpcpb.LockInfoOrBuilder
public long getLockTtl()
uint64 lock_ttl = 4;
getLockTtl
在接口中 Kvrpcpb.LockInfoOrBuilder
public long getTxnSize()
How many keys this transaction involves in this region.
uint64 txn_size = 5;
getTxnSize
在接口中 Kvrpcpb.LockInfoOrBuilder
public int getLockTypeValue()
.kvrpcpb.Op lock_type = 6;
getLockTypeValue
在接口中 Kvrpcpb.LockInfoOrBuilder
public Kvrpcpb.Op getLockType()
.kvrpcpb.Op lock_type = 6;
getLockType
在接口中 Kvrpcpb.LockInfoOrBuilder
public long getLockForUpdateTs()
uint64 lock_for_update_ts = 7;
getLockForUpdateTs
在接口中 Kvrpcpb.LockInfoOrBuilder
public boolean getUseAsyncCommit()
Fields for transactions that are using Async Commit.
bool use_async_commit = 8;
getUseAsyncCommit
在接口中 Kvrpcpb.LockInfoOrBuilder
public long getMinCommitTs()
uint64 min_commit_ts = 9;
getMinCommitTs
在接口中 Kvrpcpb.LockInfoOrBuilder
public List<com.google.protobuf.ByteString> getSecondariesList()
repeated bytes secondaries = 10;
getSecondariesList
在接口中 Kvrpcpb.LockInfoOrBuilder
public int getSecondariesCount()
repeated bytes secondaries = 10;
getSecondariesCount
在接口中 Kvrpcpb.LockInfoOrBuilder
public com.google.protobuf.ByteString getSecondaries(int index)
repeated bytes secondaries = 10;
getSecondaries
在接口中 Kvrpcpb.LockInfoOrBuilder
public final boolean isInitialized()
isInitialized
在接口中 com.google.protobuf.MessageLiteOrBuilder
isInitialized
在类中 com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
在接口中 com.google.protobuf.MessageLite
writeTo
在类中 com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
在接口中 com.google.protobuf.MessageLite
getSerializedSize
在类中 com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
在接口中 com.google.protobuf.Message
equals
在类中 com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
在接口中 com.google.protobuf.Message
hashCode
在类中 com.google.protobuf.AbstractMessage
public static Kvrpcpb.LockInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Kvrpcpb.LockInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Kvrpcpb.LockInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Kvrpcpb.LockInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Kvrpcpb.LockInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Kvrpcpb.LockInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Kvrpcpb.LockInfo parseFrom(InputStream input) throws IOException
IOException
public static Kvrpcpb.LockInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Kvrpcpb.LockInfo parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Kvrpcpb.LockInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Kvrpcpb.LockInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Kvrpcpb.LockInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Kvrpcpb.LockInfo.Builder newBuilderForType()
newBuilderForType
在接口中 com.google.protobuf.Message
newBuilderForType
在接口中 com.google.protobuf.MessageLite
public static Kvrpcpb.LockInfo.Builder newBuilder()
public static Kvrpcpb.LockInfo.Builder newBuilder(Kvrpcpb.LockInfo prototype)
public Kvrpcpb.LockInfo.Builder toBuilder()
toBuilder
在接口中 com.google.protobuf.Message
toBuilder
在接口中 com.google.protobuf.MessageLite
protected Kvrpcpb.LockInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
在类中 com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
在接口中 com.google.protobuf.MessageLite
getParserForType
在类中 com.google.protobuf.GeneratedMessageV3
public Kvrpcpb.LockInfo getDefaultInstanceForType()
getDefaultInstanceForType
在接口中 com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
在接口中 com.google.protobuf.MessageOrBuilder
Copyright © 2022 PingCAP. All rights reserved.