public static interface Kvrpcpb.CheckSecondaryLocksResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
long |
getCommitTs()
If any of the locks have been committed, this is the commit ts used.
|
Kvrpcpb.KeyError |
getError()
.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.
|
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.ErrorOrBuilder |
getRegionErrorOrBuilder()
.errorpb.Error region_error = 1; |
boolean |
hasError()
.kvrpcpb.KeyError error = 2; |
boolean |
hasRegionError()
.errorpb.Error region_error = 1; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasRegionError()
.errorpb.Error region_error = 1;Errorpb.Error getRegionError()
.errorpb.Error region_error = 1;Errorpb.ErrorOrBuilder getRegionErrorOrBuilder()
.errorpb.Error region_error = 1;boolean hasError()
.kvrpcpb.KeyError error = 2;Kvrpcpb.KeyError getError()
.kvrpcpb.KeyError error = 2;Kvrpcpb.KeyErrorOrBuilder getErrorOrBuilder()
.kvrpcpb.KeyError error = 2;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;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;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;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;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;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;Copyright © 2025 PingCAP. All rights reserved.