public static final class Kvrpcpb.ResolveLockRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ResolveLockRequest.Builder> implements Kvrpcpb.ResolveLockRequestOrBuilder
For all keys locked by the transaction identified by `start_version`, either commit or rollback the transaction and unlock the key.Protobuf type
kvrpcpb.ResolveLockRequest
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.ResolveLockRequest.Builder |
addAllKeys(Iterable<? extends com.google.protobuf.ByteString> values)
Only resolve specified keys.
|
Kvrpcpb.ResolveLockRequest.Builder |
addAllTxnInfos(Iterable<? extends Kvrpcpb.TxnInfo> values)
repeated .kvrpcpb.TxnInfo txn_infos = 4; |
Kvrpcpb.ResolveLockRequest.Builder |
addKeys(com.google.protobuf.ByteString value)
Only resolve specified keys.
|
Kvrpcpb.ResolveLockRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.ResolveLockRequest.Builder |
addTxnInfos(int index,
Kvrpcpb.TxnInfo.Builder builderForValue)
repeated .kvrpcpb.TxnInfo txn_infos = 4; |
Kvrpcpb.ResolveLockRequest.Builder |
addTxnInfos(int index,
Kvrpcpb.TxnInfo value)
repeated .kvrpcpb.TxnInfo txn_infos = 4; |
Kvrpcpb.ResolveLockRequest.Builder |
addTxnInfos(Kvrpcpb.TxnInfo.Builder builderForValue)
repeated .kvrpcpb.TxnInfo txn_infos = 4; |
Kvrpcpb.ResolveLockRequest.Builder |
addTxnInfos(Kvrpcpb.TxnInfo value)
repeated .kvrpcpb.TxnInfo txn_infos = 4; |
Kvrpcpb.TxnInfo.Builder |
addTxnInfosBuilder()
repeated .kvrpcpb.TxnInfo txn_infos = 4; |
Kvrpcpb.TxnInfo.Builder |
addTxnInfosBuilder(int index)
repeated .kvrpcpb.TxnInfo txn_infos = 4; |
Kvrpcpb.ResolveLockRequest |
build() |
Kvrpcpb.ResolveLockRequest |
buildPartial() |
Kvrpcpb.ResolveLockRequest.Builder |
clear() |
Kvrpcpb.ResolveLockRequest.Builder |
clearCommitVersion()
`commit_version == 0` means the transaction was rolled back.
|
Kvrpcpb.ResolveLockRequest.Builder |
clearContext()
.kvrpcpb.Context context = 1; |
Kvrpcpb.ResolveLockRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Kvrpcpb.ResolveLockRequest.Builder |
clearKeys()
Only resolve specified keys.
|
Kvrpcpb.ResolveLockRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Kvrpcpb.ResolveLockRequest.Builder |
clearStartVersion()
uint64 start_version = 2; |
Kvrpcpb.ResolveLockRequest.Builder |
clearTxnInfos()
repeated .kvrpcpb.TxnInfo txn_infos = 4; |
Kvrpcpb.ResolveLockRequest.Builder |
clone() |
long |
getCommitVersion()
`commit_version == 0` means the transaction was rolled back.
|
Kvrpcpb.Context |
getContext()
.kvrpcpb.Context context = 1; |
Kvrpcpb.Context.Builder |
getContextBuilder()
.kvrpcpb.Context context = 1; |
Kvrpcpb.ContextOrBuilder |
getContextOrBuilder()
.kvrpcpb.Context context = 1; |
Kvrpcpb.ResolveLockRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getKeys(int index)
Only resolve specified keys.
|
int |
getKeysCount()
Only resolve specified keys.
|
List<com.google.protobuf.ByteString> |
getKeysList()
Only resolve specified keys.
|
long |
getStartVersion()
uint64 start_version = 2; |
Kvrpcpb.TxnInfo |
getTxnInfos(int index)
repeated .kvrpcpb.TxnInfo txn_infos = 4; |
Kvrpcpb.TxnInfo.Builder |
getTxnInfosBuilder(int index)
repeated .kvrpcpb.TxnInfo txn_infos = 4; |
List<Kvrpcpb.TxnInfo.Builder> |
getTxnInfosBuilderList()
repeated .kvrpcpb.TxnInfo txn_infos = 4; |
int |
getTxnInfosCount()
repeated .kvrpcpb.TxnInfo txn_infos = 4; |
List<Kvrpcpb.TxnInfo> |
getTxnInfosList()
repeated .kvrpcpb.TxnInfo txn_infos = 4; |
Kvrpcpb.TxnInfoOrBuilder |
getTxnInfosOrBuilder(int index)
repeated .kvrpcpb.TxnInfo txn_infos = 4; |
List<? extends Kvrpcpb.TxnInfoOrBuilder> |
getTxnInfosOrBuilderList()
repeated .kvrpcpb.TxnInfo txn_infos = 4; |
boolean |
hasContext()
.kvrpcpb.Context context = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Kvrpcpb.ResolveLockRequest.Builder |
mergeContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1; |
Kvrpcpb.ResolveLockRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Kvrpcpb.ResolveLockRequest.Builder |
mergeFrom(Kvrpcpb.ResolveLockRequest other) |
Kvrpcpb.ResolveLockRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Kvrpcpb.ResolveLockRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kvrpcpb.ResolveLockRequest.Builder |
removeTxnInfos(int index)
repeated .kvrpcpb.TxnInfo txn_infos = 4; |
Kvrpcpb.ResolveLockRequest.Builder |
setCommitVersion(long value)
`commit_version == 0` means the transaction was rolled back.
|
Kvrpcpb.ResolveLockRequest.Builder |
setContext(Kvrpcpb.Context.Builder builderForValue)
.kvrpcpb.Context context = 1; |
Kvrpcpb.ResolveLockRequest.Builder |
setContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1; |
Kvrpcpb.ResolveLockRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.ResolveLockRequest.Builder |
setKeys(int index,
com.google.protobuf.ByteString value)
Only resolve specified keys.
|
Kvrpcpb.ResolveLockRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Kvrpcpb.ResolveLockRequest.Builder |
setStartVersion(long value)
uint64 start_version = 2; |
Kvrpcpb.ResolveLockRequest.Builder |
setTxnInfos(int index,
Kvrpcpb.TxnInfo.Builder builderForValue)
repeated .kvrpcpb.TxnInfo txn_infos = 4; |
Kvrpcpb.ResolveLockRequest.Builder |
setTxnInfos(int index,
Kvrpcpb.TxnInfo value)
repeated .kvrpcpb.TxnInfo txn_infos = 4; |
Kvrpcpb.ResolveLockRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ResolveLockRequest.Builder>
public Kvrpcpb.ResolveLockRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ResolveLockRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ResolveLockRequest.Builder>
public Kvrpcpb.ResolveLockRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Kvrpcpb.ResolveLockRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.ResolveLockRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.ResolveLockRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ResolveLockRequest.Builder>
public Kvrpcpb.ResolveLockRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ResolveLockRequest.Builder>
public Kvrpcpb.ResolveLockRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ResolveLockRequest.Builder>
public Kvrpcpb.ResolveLockRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ResolveLockRequest.Builder>
public Kvrpcpb.ResolveLockRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ResolveLockRequest.Builder>
public Kvrpcpb.ResolveLockRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ResolveLockRequest.Builder>
public Kvrpcpb.ResolveLockRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Kvrpcpb.ResolveLockRequest.Builder>
public Kvrpcpb.ResolveLockRequest.Builder mergeFrom(Kvrpcpb.ResolveLockRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ResolveLockRequest.Builder>
public Kvrpcpb.ResolveLockRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Kvrpcpb.ResolveLockRequest.Builder>
IOException
public boolean hasContext()
.kvrpcpb.Context context = 1;
hasContext
in interface Kvrpcpb.ResolveLockRequestOrBuilder
public Kvrpcpb.Context getContext()
.kvrpcpb.Context context = 1;
getContext
in interface Kvrpcpb.ResolveLockRequestOrBuilder
public Kvrpcpb.ResolveLockRequest.Builder setContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1;
public Kvrpcpb.ResolveLockRequest.Builder setContext(Kvrpcpb.Context.Builder builderForValue)
.kvrpcpb.Context context = 1;
public Kvrpcpb.ResolveLockRequest.Builder mergeContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1;
public Kvrpcpb.ResolveLockRequest.Builder clearContext()
.kvrpcpb.Context context = 1;
public Kvrpcpb.Context.Builder getContextBuilder()
.kvrpcpb.Context context = 1;
public Kvrpcpb.ContextOrBuilder getContextOrBuilder()
.kvrpcpb.Context context = 1;
getContextOrBuilder
in interface Kvrpcpb.ResolveLockRequestOrBuilder
public long getStartVersion()
uint64 start_version = 2;
getStartVersion
in interface Kvrpcpb.ResolveLockRequestOrBuilder
public Kvrpcpb.ResolveLockRequest.Builder setStartVersion(long value)
uint64 start_version = 2;
value
- The startVersion to set.public Kvrpcpb.ResolveLockRequest.Builder clearStartVersion()
uint64 start_version = 2;
public long getCommitVersion()
`commit_version == 0` means the transaction was rolled back. `commit_version > 0` means the transaction was committed at the given timestamp.
uint64 commit_version = 3;
getCommitVersion
in interface Kvrpcpb.ResolveLockRequestOrBuilder
public Kvrpcpb.ResolveLockRequest.Builder setCommitVersion(long value)
`commit_version == 0` means the transaction was rolled back. `commit_version > 0` means the transaction was committed at the given timestamp.
uint64 commit_version = 3;
value
- The commitVersion to set.public Kvrpcpb.ResolveLockRequest.Builder clearCommitVersion()
`commit_version == 0` means the transaction was rolled back. `commit_version > 0` means the transaction was committed at the given timestamp.
uint64 commit_version = 3;
public List<Kvrpcpb.TxnInfo> getTxnInfosList()
repeated .kvrpcpb.TxnInfo txn_infos = 4;
getTxnInfosList
in interface Kvrpcpb.ResolveLockRequestOrBuilder
public int getTxnInfosCount()
repeated .kvrpcpb.TxnInfo txn_infos = 4;
getTxnInfosCount
in interface Kvrpcpb.ResolveLockRequestOrBuilder
public Kvrpcpb.TxnInfo getTxnInfos(int index)
repeated .kvrpcpb.TxnInfo txn_infos = 4;
getTxnInfos
in interface Kvrpcpb.ResolveLockRequestOrBuilder
public Kvrpcpb.ResolveLockRequest.Builder setTxnInfos(int index, Kvrpcpb.TxnInfo value)
repeated .kvrpcpb.TxnInfo txn_infos = 4;
public Kvrpcpb.ResolveLockRequest.Builder setTxnInfos(int index, Kvrpcpb.TxnInfo.Builder builderForValue)
repeated .kvrpcpb.TxnInfo txn_infos = 4;
public Kvrpcpb.ResolveLockRequest.Builder addTxnInfos(Kvrpcpb.TxnInfo value)
repeated .kvrpcpb.TxnInfo txn_infos = 4;
public Kvrpcpb.ResolveLockRequest.Builder addTxnInfos(int index, Kvrpcpb.TxnInfo value)
repeated .kvrpcpb.TxnInfo txn_infos = 4;
public Kvrpcpb.ResolveLockRequest.Builder addTxnInfos(Kvrpcpb.TxnInfo.Builder builderForValue)
repeated .kvrpcpb.TxnInfo txn_infos = 4;
public Kvrpcpb.ResolveLockRequest.Builder addTxnInfos(int index, Kvrpcpb.TxnInfo.Builder builderForValue)
repeated .kvrpcpb.TxnInfo txn_infos = 4;
public Kvrpcpb.ResolveLockRequest.Builder addAllTxnInfos(Iterable<? extends Kvrpcpb.TxnInfo> values)
repeated .kvrpcpb.TxnInfo txn_infos = 4;
public Kvrpcpb.ResolveLockRequest.Builder clearTxnInfos()
repeated .kvrpcpb.TxnInfo txn_infos = 4;
public Kvrpcpb.ResolveLockRequest.Builder removeTxnInfos(int index)
repeated .kvrpcpb.TxnInfo txn_infos = 4;
public Kvrpcpb.TxnInfo.Builder getTxnInfosBuilder(int index)
repeated .kvrpcpb.TxnInfo txn_infos = 4;
public Kvrpcpb.TxnInfoOrBuilder getTxnInfosOrBuilder(int index)
repeated .kvrpcpb.TxnInfo txn_infos = 4;
getTxnInfosOrBuilder
in interface Kvrpcpb.ResolveLockRequestOrBuilder
public List<? extends Kvrpcpb.TxnInfoOrBuilder> getTxnInfosOrBuilderList()
repeated .kvrpcpb.TxnInfo txn_infos = 4;
getTxnInfosOrBuilderList
in interface Kvrpcpb.ResolveLockRequestOrBuilder
public Kvrpcpb.TxnInfo.Builder addTxnInfosBuilder()
repeated .kvrpcpb.TxnInfo txn_infos = 4;
public Kvrpcpb.TxnInfo.Builder addTxnInfosBuilder(int index)
repeated .kvrpcpb.TxnInfo txn_infos = 4;
public List<Kvrpcpb.TxnInfo.Builder> getTxnInfosBuilderList()
repeated .kvrpcpb.TxnInfo txn_infos = 4;
public List<com.google.protobuf.ByteString> getKeysList()
Only resolve specified keys.
repeated bytes keys = 5;
getKeysList
in interface Kvrpcpb.ResolveLockRequestOrBuilder
public int getKeysCount()
Only resolve specified keys.
repeated bytes keys = 5;
getKeysCount
in interface Kvrpcpb.ResolveLockRequestOrBuilder
public com.google.protobuf.ByteString getKeys(int index)
Only resolve specified keys.
repeated bytes keys = 5;
getKeys
in interface Kvrpcpb.ResolveLockRequestOrBuilder
index
- The index of the element to return.public Kvrpcpb.ResolveLockRequest.Builder setKeys(int index, com.google.protobuf.ByteString value)
Only resolve specified keys.
repeated bytes keys = 5;
index
- The index to set the value at.value
- The keys to set.public Kvrpcpb.ResolveLockRequest.Builder addKeys(com.google.protobuf.ByteString value)
Only resolve specified keys.
repeated bytes keys = 5;
value
- The keys to add.public Kvrpcpb.ResolveLockRequest.Builder addAllKeys(Iterable<? extends com.google.protobuf.ByteString> values)
Only resolve specified keys.
repeated bytes keys = 5;
values
- The keys to add.public Kvrpcpb.ResolveLockRequest.Builder clearKeys()
Only resolve specified keys.
repeated bytes keys = 5;
public final Kvrpcpb.ResolveLockRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ResolveLockRequest.Builder>
public final Kvrpcpb.ResolveLockRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ResolveLockRequest.Builder>
Copyright © 2024 PingCAP. All rights reserved.