public static final class Kvrpcpb.ScanLockResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ScanLockResponse.Builder> implements Kvrpcpb.ScanLockResponseOrBuilder
kvrpcpb.ScanLockResponse
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.ScanLockResponse.Builder |
addAllLocks(Iterable<? extends Kvrpcpb.LockInfo> values)
Info on all locks found by the scan.
|
Kvrpcpb.ScanLockResponse.Builder |
addLocks(int index,
Kvrpcpb.LockInfo.Builder builderForValue)
Info on all locks found by the scan.
|
Kvrpcpb.ScanLockResponse.Builder |
addLocks(int index,
Kvrpcpb.LockInfo value)
Info on all locks found by the scan.
|
Kvrpcpb.ScanLockResponse.Builder |
addLocks(Kvrpcpb.LockInfo.Builder builderForValue)
Info on all locks found by the scan.
|
Kvrpcpb.ScanLockResponse.Builder |
addLocks(Kvrpcpb.LockInfo value)
Info on all locks found by the scan.
|
Kvrpcpb.LockInfo.Builder |
addLocksBuilder()
Info on all locks found by the scan.
|
Kvrpcpb.LockInfo.Builder |
addLocksBuilder(int index)
Info on all locks found by the scan.
|
Kvrpcpb.ScanLockResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.ScanLockResponse |
build() |
Kvrpcpb.ScanLockResponse |
buildPartial() |
Kvrpcpb.ScanLockResponse.Builder |
clear() |
Kvrpcpb.ScanLockResponse.Builder |
clearError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.ScanLockResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Kvrpcpb.ScanLockResponse.Builder |
clearLocks()
Info on all locks found by the scan.
|
Kvrpcpb.ScanLockResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Kvrpcpb.ScanLockResponse.Builder |
clearRegionError()
.errorpb.Error region_error = 1; |
Kvrpcpb.ScanLockResponse.Builder |
clone() |
Kvrpcpb.ScanLockResponse |
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)
Info on all locks found by the scan.
|
Kvrpcpb.LockInfo.Builder |
getLocksBuilder(int index)
Info on all locks found by the scan.
|
List<Kvrpcpb.LockInfo.Builder> |
getLocksBuilderList()
Info on all locks found by the scan.
|
int |
getLocksCount()
Info on all locks found by the scan.
|
List<Kvrpcpb.LockInfo> |
getLocksList()
Info on all locks found by the scan.
|
Kvrpcpb.LockInfoOrBuilder |
getLocksOrBuilder(int index)
Info on all locks found by the scan.
|
List<? extends Kvrpcpb.LockInfoOrBuilder> |
getLocksOrBuilderList()
Info on all locks found by the scan.
|
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.ScanLockResponse.Builder |
mergeError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.ScanLockResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Kvrpcpb.ScanLockResponse.Builder |
mergeFrom(Kvrpcpb.ScanLockResponse other) |
Kvrpcpb.ScanLockResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
Kvrpcpb.ScanLockResponse.Builder |
mergeRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1; |
Kvrpcpb.ScanLockResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kvrpcpb.ScanLockResponse.Builder |
removeLocks(int index)
Info on all locks found by the scan.
|
Kvrpcpb.ScanLockResponse.Builder |
setError(Kvrpcpb.KeyError.Builder builderForValue)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.ScanLockResponse.Builder |
setError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.ScanLockResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.ScanLockResponse.Builder |
setLocks(int index,
Kvrpcpb.LockInfo.Builder builderForValue)
Info on all locks found by the scan.
|
Kvrpcpb.ScanLockResponse.Builder |
setLocks(int index,
Kvrpcpb.LockInfo value)
Info on all locks found by the scan.
|
Kvrpcpb.ScanLockResponse.Builder |
setRegionError(Errorpb.Error.Builder builderForValue)
.errorpb.Error region_error = 1; |
Kvrpcpb.ScanLockResponse.Builder |
setRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1; |
Kvrpcpb.ScanLockResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Kvrpcpb.ScanLockResponse.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.ScanLockResponse.Builder>
public Kvrpcpb.ScanLockResponse.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.ScanLockResponse.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.ScanLockResponse.Builder>
public Kvrpcpb.ScanLockResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Kvrpcpb.ScanLockResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.ScanLockResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.ScanLockResponse.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.ScanLockResponse.Builder>
public Kvrpcpb.ScanLockResponse.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.ScanLockResponse.Builder>
public Kvrpcpb.ScanLockResponse.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.ScanLockResponse.Builder>
public Kvrpcpb.ScanLockResponse.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.ScanLockResponse.Builder>
public Kvrpcpb.ScanLockResponse.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.ScanLockResponse.Builder>
public Kvrpcpb.ScanLockResponse.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.ScanLockResponse.Builder>
public Kvrpcpb.ScanLockResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Kvrpcpb.ScanLockResponse.Builder>
public Kvrpcpb.ScanLockResponse.Builder mergeFrom(Kvrpcpb.ScanLockResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ScanLockResponse.Builder>
public Kvrpcpb.ScanLockResponse.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.ScanLockResponse.Builder>
IOException
public boolean hasRegionError()
.errorpb.Error region_error = 1;
hasRegionError
in interface Kvrpcpb.ScanLockResponseOrBuilder
public Errorpb.Error getRegionError()
.errorpb.Error region_error = 1;
getRegionError
in interface Kvrpcpb.ScanLockResponseOrBuilder
public Kvrpcpb.ScanLockResponse.Builder setRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1;
public Kvrpcpb.ScanLockResponse.Builder setRegionError(Errorpb.Error.Builder builderForValue)
.errorpb.Error region_error = 1;
public Kvrpcpb.ScanLockResponse.Builder mergeRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1;
public Kvrpcpb.ScanLockResponse.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;
getRegionErrorOrBuilder
in interface Kvrpcpb.ScanLockResponseOrBuilder
public boolean hasError()
.kvrpcpb.KeyError error = 2;
hasError
in interface Kvrpcpb.ScanLockResponseOrBuilder
public Kvrpcpb.KeyError getError()
.kvrpcpb.KeyError error = 2;
getError
in interface Kvrpcpb.ScanLockResponseOrBuilder
public Kvrpcpb.ScanLockResponse.Builder setError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2;
public Kvrpcpb.ScanLockResponse.Builder setError(Kvrpcpb.KeyError.Builder builderForValue)
.kvrpcpb.KeyError error = 2;
public Kvrpcpb.ScanLockResponse.Builder mergeError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2;
public Kvrpcpb.ScanLockResponse.Builder clearError()
.kvrpcpb.KeyError error = 2;
public Kvrpcpb.KeyError.Builder getErrorBuilder()
.kvrpcpb.KeyError error = 2;
public Kvrpcpb.KeyErrorOrBuilder getErrorOrBuilder()
.kvrpcpb.KeyError error = 2;
getErrorOrBuilder
in interface Kvrpcpb.ScanLockResponseOrBuilder
public List<Kvrpcpb.LockInfo> getLocksList()
Info on all locks found by the scan.
repeated .kvrpcpb.LockInfo locks = 3;
getLocksList
in interface Kvrpcpb.ScanLockResponseOrBuilder
public int getLocksCount()
Info on all locks found by the scan.
repeated .kvrpcpb.LockInfo locks = 3;
getLocksCount
in interface Kvrpcpb.ScanLockResponseOrBuilder
public Kvrpcpb.LockInfo getLocks(int index)
Info on all locks found by the scan.
repeated .kvrpcpb.LockInfo locks = 3;
getLocks
in interface Kvrpcpb.ScanLockResponseOrBuilder
public Kvrpcpb.ScanLockResponse.Builder setLocks(int index, Kvrpcpb.LockInfo value)
Info on all locks found by the scan.
repeated .kvrpcpb.LockInfo locks = 3;
public Kvrpcpb.ScanLockResponse.Builder setLocks(int index, Kvrpcpb.LockInfo.Builder builderForValue)
Info on all locks found by the scan.
repeated .kvrpcpb.LockInfo locks = 3;
public Kvrpcpb.ScanLockResponse.Builder addLocks(Kvrpcpb.LockInfo value)
Info on all locks found by the scan.
repeated .kvrpcpb.LockInfo locks = 3;
public Kvrpcpb.ScanLockResponse.Builder addLocks(int index, Kvrpcpb.LockInfo value)
Info on all locks found by the scan.
repeated .kvrpcpb.LockInfo locks = 3;
public Kvrpcpb.ScanLockResponse.Builder addLocks(Kvrpcpb.LockInfo.Builder builderForValue)
Info on all locks found by the scan.
repeated .kvrpcpb.LockInfo locks = 3;
public Kvrpcpb.ScanLockResponse.Builder addLocks(int index, Kvrpcpb.LockInfo.Builder builderForValue)
Info on all locks found by the scan.
repeated .kvrpcpb.LockInfo locks = 3;
public Kvrpcpb.ScanLockResponse.Builder addAllLocks(Iterable<? extends Kvrpcpb.LockInfo> values)
Info on all locks found by the scan.
repeated .kvrpcpb.LockInfo locks = 3;
public Kvrpcpb.ScanLockResponse.Builder clearLocks()
Info on all locks found by the scan.
repeated .kvrpcpb.LockInfo locks = 3;
public Kvrpcpb.ScanLockResponse.Builder removeLocks(int index)
Info on all locks found by the scan.
repeated .kvrpcpb.LockInfo locks = 3;
public Kvrpcpb.LockInfo.Builder getLocksBuilder(int index)
Info on all locks found by the scan.
repeated .kvrpcpb.LockInfo locks = 3;
public Kvrpcpb.LockInfoOrBuilder getLocksOrBuilder(int index)
Info on all locks found by the scan.
repeated .kvrpcpb.LockInfo locks = 3;
getLocksOrBuilder
in interface Kvrpcpb.ScanLockResponseOrBuilder
public List<? extends Kvrpcpb.LockInfoOrBuilder> getLocksOrBuilderList()
Info on all locks found by the scan.
repeated .kvrpcpb.LockInfo locks = 3;
getLocksOrBuilderList
in interface Kvrpcpb.ScanLockResponseOrBuilder
public Kvrpcpb.LockInfo.Builder addLocksBuilder()
Info on all locks found by the scan.
repeated .kvrpcpb.LockInfo locks = 3;
public Kvrpcpb.LockInfo.Builder addLocksBuilder(int index)
Info on all locks found by the scan.
repeated .kvrpcpb.LockInfo locks = 3;
public List<Kvrpcpb.LockInfo.Builder> getLocksBuilderList()
Info on all locks found by the scan.
repeated .kvrpcpb.LockInfo locks = 3;
public final Kvrpcpb.ScanLockResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ScanLockResponse.Builder>
public final Kvrpcpb.ScanLockResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ScanLockResponse.Builder>
Copyright © 2024 PingCAP. All rights reserved.