public static final class Kvrpcpb.CheckSecondaryLocksResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckSecondaryLocksResponse.Builder> implements Kvrpcpb.CheckSecondaryLocksResponseOrBuilder
kvrpcpb.CheckSecondaryLocksResponse| 限定符和类型 | 方法和说明 |
|---|---|
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
addAllLocks(Iterable<? extends Kvrpcpb.LockInfo> values)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
this list if there is a lock present and belonging to the correct transaction,
nil otherwise.
|
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
addLocks(int index,
Kvrpcpb.LockInfo.Builder builderForValue)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
this list if there is a lock present and belonging to the correct transaction,
nil otherwise.
|
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
addLocks(int index,
Kvrpcpb.LockInfo value)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
this list if there is a lock present and belonging to the correct transaction,
nil otherwise.
|
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
addLocks(Kvrpcpb.LockInfo.Builder builderForValue)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
this list if there is a lock present and belonging to the correct transaction,
nil otherwise.
|
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
addLocks(Kvrpcpb.LockInfo value)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
this list if there is a lock present and belonging to the correct transaction,
nil otherwise.
|
Kvrpcpb.LockInfo.Builder |
addLocksBuilder()
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
this list if there is a lock present and belonging to the correct transaction,
nil otherwise.
|
Kvrpcpb.LockInfo.Builder |
addLocksBuilder(int index)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
this list if there is a lock present and belonging to the correct transaction,
nil otherwise.
|
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.CheckSecondaryLocksResponse |
build() |
Kvrpcpb.CheckSecondaryLocksResponse |
buildPartial() |
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
clear() |
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
clearCommitTs()
If any of the locks have been committed, this is the commit ts used.
|
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
clearError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
clearLocks()
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
this list if there is a lock present and belonging to the correct transaction,
nil otherwise.
|
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
clearRegionError()
.errorpb.Error region_error = 1; |
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
clone() |
long |
getCommitTs()
If any of the locks have been committed, this is the commit ts used.
|
Kvrpcpb.CheckSecondaryLocksResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Kvrpcpb.KeyError |
getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError.Builder |
getErrorBuilder()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyErrorOrBuilder |
getErrorOrBuilder()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.LockInfo |
getLocks(int index)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
this list if there is a lock present and belonging to the correct transaction,
nil otherwise.
|
Kvrpcpb.LockInfo.Builder |
getLocksBuilder(int index)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
this list if there is a lock present and belonging to the correct transaction,
nil otherwise.
|
List<Kvrpcpb.LockInfo.Builder> |
getLocksBuilderList()
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
this list if there is a lock present and belonging to the correct transaction,
nil otherwise.
|
int |
getLocksCount()
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
this list if there is a lock present and belonging to the correct transaction,
nil otherwise.
|
List<Kvrpcpb.LockInfo> |
getLocksList()
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
this list if there is a lock present and belonging to the correct transaction,
nil otherwise.
|
Kvrpcpb.LockInfoOrBuilder |
getLocksOrBuilder(int index)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
this list if there is a lock present and belonging to the correct transaction,
nil otherwise.
|
List<? extends Kvrpcpb.LockInfoOrBuilder> |
getLocksOrBuilderList()
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
this list if there is a lock present and belonging to the correct transaction,
nil otherwise.
|
Errorpb.Error |
getRegionError()
.errorpb.Error region_error = 1; |
Errorpb.Error.Builder |
getRegionErrorBuilder()
.errorpb.Error region_error = 1; |
Errorpb.ErrorOrBuilder |
getRegionErrorOrBuilder()
.errorpb.Error region_error = 1; |
boolean |
hasError()
.kvrpcpb.KeyError error = 2; |
boolean |
hasRegionError()
.errorpb.Error region_error = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
mergeError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
mergeFrom(Kvrpcpb.CheckSecondaryLocksResponse other) |
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
mergeRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1; |
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
removeLocks(int index)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
this list if there is a lock present and belonging to the correct transaction,
nil otherwise.
|
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
setCommitTs(long value)
If any of the locks have been committed, this is the commit ts used.
|
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
setError(Kvrpcpb.KeyError.Builder builderForValue)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
setError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
setLocks(int index,
Kvrpcpb.LockInfo.Builder builderForValue)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
this list if there is a lock present and belonging to the correct transaction,
nil otherwise.
|
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
setLocks(int index,
Kvrpcpb.LockInfo value)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
this list if there is a lock present and belonging to the correct transaction,
nil otherwise.
|
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
setRegionError(Errorpb.Error.Builder builderForValue)
.errorpb.Error region_error = 1; |
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
setRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1; |
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Kvrpcpb.CheckSecondaryLocksResponse.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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckSecondaryLocksResponse.Builder>public Kvrpcpb.CheckSecondaryLocksResponse.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckSecondaryLocksResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckSecondaryLocksResponse.Builder>public Kvrpcpb.CheckSecondaryLocksResponse getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic Kvrpcpb.CheckSecondaryLocksResponse build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic Kvrpcpb.CheckSecondaryLocksResponse buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic Kvrpcpb.CheckSecondaryLocksResponse.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckSecondaryLocksResponse.Builder>public Kvrpcpb.CheckSecondaryLocksResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckSecondaryLocksResponse.Builder>public Kvrpcpb.CheckSecondaryLocksResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckSecondaryLocksResponse.Builder>public Kvrpcpb.CheckSecondaryLocksResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckSecondaryLocksResponse.Builder>public Kvrpcpb.CheckSecondaryLocksResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckSecondaryLocksResponse.Builder>public Kvrpcpb.CheckSecondaryLocksResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckSecondaryLocksResponse.Builder>public Kvrpcpb.CheckSecondaryLocksResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<Kvrpcpb.CheckSecondaryLocksResponse.Builder>public Kvrpcpb.CheckSecondaryLocksResponse.Builder mergeFrom(Kvrpcpb.CheckSecondaryLocksResponse other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckSecondaryLocksResponse.Builder>public Kvrpcpb.CheckSecondaryLocksResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<Kvrpcpb.CheckSecondaryLocksResponse.Builder>IOExceptionpublic boolean hasRegionError()
.errorpb.Error region_error = 1;public Errorpb.Error getRegionError()
.errorpb.Error region_error = 1;public Kvrpcpb.CheckSecondaryLocksResponse.Builder setRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1;public Kvrpcpb.CheckSecondaryLocksResponse.Builder setRegionError(Errorpb.Error.Builder builderForValue)
.errorpb.Error region_error = 1;public Kvrpcpb.CheckSecondaryLocksResponse.Builder mergeRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1;public Kvrpcpb.CheckSecondaryLocksResponse.Builder clearRegionError()
.errorpb.Error region_error = 1;public Errorpb.Error.Builder getRegionErrorBuilder()
.errorpb.Error region_error = 1;public Errorpb.ErrorOrBuilder getRegionErrorOrBuilder()
.errorpb.Error region_error = 1;public boolean hasError()
.kvrpcpb.KeyError error = 2;public Kvrpcpb.KeyError getError()
.kvrpcpb.KeyError error = 2;public Kvrpcpb.CheckSecondaryLocksResponse.Builder setError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2;public Kvrpcpb.CheckSecondaryLocksResponse.Builder setError(Kvrpcpb.KeyError.Builder builderForValue)
.kvrpcpb.KeyError error = 2;public Kvrpcpb.CheckSecondaryLocksResponse.Builder mergeError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2;public Kvrpcpb.CheckSecondaryLocksResponse.Builder clearError()
.kvrpcpb.KeyError error = 2;public Kvrpcpb.KeyError.Builder getErrorBuilder()
.kvrpcpb.KeyError error = 2;public Kvrpcpb.KeyErrorOrBuilder getErrorOrBuilder()
.kvrpcpb.KeyError error = 2;public List<Kvrpcpb.LockInfo> getLocksList()
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in this list if there is a lock present and belonging to the correct transaction, nil otherwise.
repeated .kvrpcpb.LockInfo locks = 3;public int getLocksCount()
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in this list if there is a lock present and belonging to the correct transaction, nil otherwise.
repeated .kvrpcpb.LockInfo locks = 3;public Kvrpcpb.LockInfo getLocks(int index)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in this list if there is a lock present and belonging to the correct transaction, nil otherwise.
repeated .kvrpcpb.LockInfo locks = 3;public Kvrpcpb.CheckSecondaryLocksResponse.Builder setLocks(int index, Kvrpcpb.LockInfo value)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in this list if there is a lock present and belonging to the correct transaction, nil otherwise.
repeated .kvrpcpb.LockInfo locks = 3;public Kvrpcpb.CheckSecondaryLocksResponse.Builder setLocks(int index, Kvrpcpb.LockInfo.Builder builderForValue)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in this list if there is a lock present and belonging to the correct transaction, nil otherwise.
repeated .kvrpcpb.LockInfo locks = 3;public Kvrpcpb.CheckSecondaryLocksResponse.Builder addLocks(Kvrpcpb.LockInfo value)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in this list if there is a lock present and belonging to the correct transaction, nil otherwise.
repeated .kvrpcpb.LockInfo locks = 3;public Kvrpcpb.CheckSecondaryLocksResponse.Builder addLocks(int index, Kvrpcpb.LockInfo value)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in this list if there is a lock present and belonging to the correct transaction, nil otherwise.
repeated .kvrpcpb.LockInfo locks = 3;public Kvrpcpb.CheckSecondaryLocksResponse.Builder addLocks(Kvrpcpb.LockInfo.Builder builderForValue)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in this list if there is a lock present and belonging to the correct transaction, nil otherwise.
repeated .kvrpcpb.LockInfo locks = 3;public Kvrpcpb.CheckSecondaryLocksResponse.Builder addLocks(int index, Kvrpcpb.LockInfo.Builder builderForValue)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in this list if there is a lock present and belonging to the correct transaction, nil otherwise.
repeated .kvrpcpb.LockInfo locks = 3;public Kvrpcpb.CheckSecondaryLocksResponse.Builder addAllLocks(Iterable<? extends Kvrpcpb.LockInfo> values)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in this list if there is a lock present and belonging to the correct transaction, nil otherwise.
repeated .kvrpcpb.LockInfo locks = 3;public Kvrpcpb.CheckSecondaryLocksResponse.Builder clearLocks()
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in this list if there is a lock present and belonging to the correct transaction, nil otherwise.
repeated .kvrpcpb.LockInfo locks = 3;public Kvrpcpb.CheckSecondaryLocksResponse.Builder removeLocks(int index)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in this list if there is a lock present and belonging to the correct transaction, nil otherwise.
repeated .kvrpcpb.LockInfo locks = 3;public Kvrpcpb.LockInfo.Builder getLocksBuilder(int index)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in this list if there is a lock present and belonging to the correct transaction, nil otherwise.
repeated .kvrpcpb.LockInfo locks = 3;public Kvrpcpb.LockInfoOrBuilder getLocksOrBuilder(int index)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in this list if there is a lock present and belonging to the correct transaction, nil otherwise.
repeated .kvrpcpb.LockInfo locks = 3;public List<? extends Kvrpcpb.LockInfoOrBuilder> getLocksOrBuilderList()
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in this list if there is a lock present and belonging to the correct transaction, nil otherwise.
repeated .kvrpcpb.LockInfo locks = 3;public Kvrpcpb.LockInfo.Builder addLocksBuilder()
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in this list if there is a lock present and belonging to the correct transaction, nil otherwise.
repeated .kvrpcpb.LockInfo locks = 3;public Kvrpcpb.LockInfo.Builder addLocksBuilder(int index)
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in this list if there is a lock present and belonging to the correct transaction, nil otherwise.
repeated .kvrpcpb.LockInfo locks = 3;public List<Kvrpcpb.LockInfo.Builder> getLocksBuilderList()
For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in this list if there is a lock present and belonging to the correct transaction, nil otherwise.
repeated .kvrpcpb.LockInfo locks = 3;public long getCommitTs()
If any of the locks have been committed, this is the commit ts used. If no locks have been committed, it will be zero.
uint64 commit_ts = 4;public Kvrpcpb.CheckSecondaryLocksResponse.Builder setCommitTs(long value)
If any of the locks have been committed, this is the commit ts used. If no locks have been committed, it will be zero.
uint64 commit_ts = 4;public Kvrpcpb.CheckSecondaryLocksResponse.Builder clearCommitTs()
If any of the locks have been committed, this is the commit ts used. If no locks have been committed, it will be zero.
uint64 commit_ts = 4;public final Kvrpcpb.CheckSecondaryLocksResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckSecondaryLocksResponse.Builder>public final Kvrpcpb.CheckSecondaryLocksResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckSecondaryLocksResponse.Builder>Copyright © 2023 PingCAP. All rights reserved.