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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public com.google.protobuf.ByteString getPrimaryLock()
bytes primary_lock = 1;
getPrimaryLock
in interface Kvrpcpb.LockInfoOrBuilder
public long getLockVersion()
uint64 lock_version = 2;
getLockVersion
in interface Kvrpcpb.LockInfoOrBuilder
public com.google.protobuf.ByteString getKey()
bytes key = 3;
getKey
in interface Kvrpcpb.LockInfoOrBuilder
public long getLockTtl()
uint64 lock_ttl = 4;
getLockTtl
in interface Kvrpcpb.LockInfoOrBuilder
public long getTxnSize()
How many keys this transaction involves in this region.
uint64 txn_size = 5;
getTxnSize
in interface Kvrpcpb.LockInfoOrBuilder
public int getLockTypeValue()
.kvrpcpb.Op lock_type = 6;
getLockTypeValue
in interface Kvrpcpb.LockInfoOrBuilder
public Kvrpcpb.Op getLockType()
.kvrpcpb.Op lock_type = 6;
getLockType
in interface Kvrpcpb.LockInfoOrBuilder
public long getLockForUpdateTs()
uint64 lock_for_update_ts = 7;
getLockForUpdateTs
in interface Kvrpcpb.LockInfoOrBuilder
public boolean getUseAsyncCommit()
Fields for transactions that are using Async Commit.
bool use_async_commit = 8;
getUseAsyncCommit
in interface Kvrpcpb.LockInfoOrBuilder
public long getMinCommitTs()
uint64 min_commit_ts = 9;
getMinCommitTs
in interface Kvrpcpb.LockInfoOrBuilder
public List<com.google.protobuf.ByteString> getSecondariesList()
repeated bytes secondaries = 10;
getSecondariesList
in interface Kvrpcpb.LockInfoOrBuilder
public int getSecondariesCount()
repeated bytes secondaries = 10;
getSecondariesCount
in interface Kvrpcpb.LockInfoOrBuilder
public com.google.protobuf.ByteString getSecondaries(int index)
repeated bytes secondaries = 10;
getSecondaries
in interface Kvrpcpb.LockInfoOrBuilder
index
- The index of the element to return.public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class 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
in interface com.google.protobuf.Message
newBuilderForType
in interface 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
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Kvrpcpb.LockInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class 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
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Kvrpcpb.LockInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.