public static final class Kvrpcpb.ScanResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ScanResponse.Builder> implements Kvrpcpb.ScanResponseOrBuilder
kvrpcpb.ScanResponse
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.ScanResponse.Builder |
addAllPairs(Iterable<? extends Kvrpcpb.KvPair> values)
Each KvPair may contain a key error.
|
Kvrpcpb.ScanResponse.Builder |
addPairs(int index,
Kvrpcpb.KvPair.Builder builderForValue)
Each KvPair may contain a key error.
|
Kvrpcpb.ScanResponse.Builder |
addPairs(int index,
Kvrpcpb.KvPair value)
Each KvPair may contain a key error.
|
Kvrpcpb.ScanResponse.Builder |
addPairs(Kvrpcpb.KvPair.Builder builderForValue)
Each KvPair may contain a key error.
|
Kvrpcpb.ScanResponse.Builder |
addPairs(Kvrpcpb.KvPair value)
Each KvPair may contain a key error.
|
Kvrpcpb.KvPair.Builder |
addPairsBuilder()
Each KvPair may contain a key error.
|
Kvrpcpb.KvPair.Builder |
addPairsBuilder(int index)
Each KvPair may contain a key error.
|
Kvrpcpb.ScanResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.ScanResponse |
build() |
Kvrpcpb.ScanResponse |
buildPartial() |
Kvrpcpb.ScanResponse.Builder |
clear() |
Kvrpcpb.ScanResponse.Builder |
clearError()
This KeyError exists when some key is locked but we cannot check locks of all keys.
|
Kvrpcpb.ScanResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Kvrpcpb.ScanResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Kvrpcpb.ScanResponse.Builder |
clearPairs()
Each KvPair may contain a key error.
|
Kvrpcpb.ScanResponse.Builder |
clearRegionError()
.errorpb.Error region_error = 1; |
Kvrpcpb.ScanResponse.Builder |
clone() |
Kvrpcpb.ScanResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Kvrpcpb.KeyError |
getError()
This KeyError exists when some key is locked but we cannot check locks of all keys.
|
Kvrpcpb.KeyError.Builder |
getErrorBuilder()
This KeyError exists when some key is locked but we cannot check locks of all keys.
|
Kvrpcpb.KeyErrorOrBuilder |
getErrorOrBuilder()
This KeyError exists when some key is locked but we cannot check locks of all keys.
|
Kvrpcpb.KvPair |
getPairs(int index)
Each KvPair may contain a key error.
|
Kvrpcpb.KvPair.Builder |
getPairsBuilder(int index)
Each KvPair may contain a key error.
|
List<Kvrpcpb.KvPair.Builder> |
getPairsBuilderList()
Each KvPair may contain a key error.
|
int |
getPairsCount()
Each KvPair may contain a key error.
|
List<Kvrpcpb.KvPair> |
getPairsList()
Each KvPair may contain a key error.
|
Kvrpcpb.KvPairOrBuilder |
getPairsOrBuilder(int index)
Each KvPair may contain a key error.
|
List<? extends Kvrpcpb.KvPairOrBuilder> |
getPairsOrBuilderList()
Each KvPair may contain a key error.
|
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()
This KeyError exists when some key is locked but we cannot check locks of all keys.
|
boolean |
hasRegionError()
.errorpb.Error region_error = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Kvrpcpb.ScanResponse.Builder |
mergeError(Kvrpcpb.KeyError value)
This KeyError exists when some key is locked but we cannot check locks of all keys.
|
Kvrpcpb.ScanResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Kvrpcpb.ScanResponse.Builder |
mergeFrom(Kvrpcpb.ScanResponse other) |
Kvrpcpb.ScanResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
Kvrpcpb.ScanResponse.Builder |
mergeRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1; |
Kvrpcpb.ScanResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kvrpcpb.ScanResponse.Builder |
removePairs(int index)
Each KvPair may contain a key error.
|
Kvrpcpb.ScanResponse.Builder |
setError(Kvrpcpb.KeyError.Builder builderForValue)
This KeyError exists when some key is locked but we cannot check locks of all keys.
|
Kvrpcpb.ScanResponse.Builder |
setError(Kvrpcpb.KeyError value)
This KeyError exists when some key is locked but we cannot check locks of all keys.
|
Kvrpcpb.ScanResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.ScanResponse.Builder |
setPairs(int index,
Kvrpcpb.KvPair.Builder builderForValue)
Each KvPair may contain a key error.
|
Kvrpcpb.ScanResponse.Builder |
setPairs(int index,
Kvrpcpb.KvPair value)
Each KvPair may contain a key error.
|
Kvrpcpb.ScanResponse.Builder |
setRegionError(Errorpb.Error.Builder builderForValue)
.errorpb.Error region_error = 1; |
Kvrpcpb.ScanResponse.Builder |
setRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1; |
Kvrpcpb.ScanResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Kvrpcpb.ScanResponse.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.ScanResponse.Builder>
public Kvrpcpb.ScanResponse.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.ScanResponse.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.ScanResponse.Builder>
public Kvrpcpb.ScanResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Kvrpcpb.ScanResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.ScanResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.ScanResponse.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.ScanResponse.Builder>
public Kvrpcpb.ScanResponse.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.ScanResponse.Builder>
public Kvrpcpb.ScanResponse.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.ScanResponse.Builder>
public Kvrpcpb.ScanResponse.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.ScanResponse.Builder>
public Kvrpcpb.ScanResponse.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.ScanResponse.Builder>
public Kvrpcpb.ScanResponse.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.ScanResponse.Builder>
public Kvrpcpb.ScanResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Kvrpcpb.ScanResponse.Builder>
public Kvrpcpb.ScanResponse.Builder mergeFrom(Kvrpcpb.ScanResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ScanResponse.Builder>
public Kvrpcpb.ScanResponse.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.ScanResponse.Builder>
IOException
public boolean hasRegionError()
.errorpb.Error region_error = 1;
hasRegionError
in interface Kvrpcpb.ScanResponseOrBuilder
public Errorpb.Error getRegionError()
.errorpb.Error region_error = 1;
getRegionError
in interface Kvrpcpb.ScanResponseOrBuilder
public Kvrpcpb.ScanResponse.Builder setRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1;
public Kvrpcpb.ScanResponse.Builder setRegionError(Errorpb.Error.Builder builderForValue)
.errorpb.Error region_error = 1;
public Kvrpcpb.ScanResponse.Builder mergeRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1;
public Kvrpcpb.ScanResponse.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.ScanResponseOrBuilder
public List<Kvrpcpb.KvPair> getPairsList()
Each KvPair may contain a key error.
repeated .kvrpcpb.KvPair pairs = 2;
getPairsList
in interface Kvrpcpb.ScanResponseOrBuilder
public int getPairsCount()
Each KvPair may contain a key error.
repeated .kvrpcpb.KvPair pairs = 2;
getPairsCount
in interface Kvrpcpb.ScanResponseOrBuilder
public Kvrpcpb.KvPair getPairs(int index)
Each KvPair may contain a key error.
repeated .kvrpcpb.KvPair pairs = 2;
getPairs
in interface Kvrpcpb.ScanResponseOrBuilder
public Kvrpcpb.ScanResponse.Builder setPairs(int index, Kvrpcpb.KvPair value)
Each KvPair may contain a key error.
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.ScanResponse.Builder setPairs(int index, Kvrpcpb.KvPair.Builder builderForValue)
Each KvPair may contain a key error.
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.ScanResponse.Builder addPairs(Kvrpcpb.KvPair value)
Each KvPair may contain a key error.
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.ScanResponse.Builder addPairs(int index, Kvrpcpb.KvPair value)
Each KvPair may contain a key error.
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.ScanResponse.Builder addPairs(Kvrpcpb.KvPair.Builder builderForValue)
Each KvPair may contain a key error.
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.ScanResponse.Builder addPairs(int index, Kvrpcpb.KvPair.Builder builderForValue)
Each KvPair may contain a key error.
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.ScanResponse.Builder addAllPairs(Iterable<? extends Kvrpcpb.KvPair> values)
Each KvPair may contain a key error.
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.ScanResponse.Builder clearPairs()
Each KvPair may contain a key error.
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.ScanResponse.Builder removePairs(int index)
Each KvPair may contain a key error.
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.KvPair.Builder getPairsBuilder(int index)
Each KvPair may contain a key error.
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.KvPairOrBuilder getPairsOrBuilder(int index)
Each KvPair may contain a key error.
repeated .kvrpcpb.KvPair pairs = 2;
getPairsOrBuilder
in interface Kvrpcpb.ScanResponseOrBuilder
public List<? extends Kvrpcpb.KvPairOrBuilder> getPairsOrBuilderList()
Each KvPair may contain a key error.
repeated .kvrpcpb.KvPair pairs = 2;
getPairsOrBuilderList
in interface Kvrpcpb.ScanResponseOrBuilder
public Kvrpcpb.KvPair.Builder addPairsBuilder()
Each KvPair may contain a key error.
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.KvPair.Builder addPairsBuilder(int index)
Each KvPair may contain a key error.
repeated .kvrpcpb.KvPair pairs = 2;
public List<Kvrpcpb.KvPair.Builder> getPairsBuilderList()
Each KvPair may contain a key error.
repeated .kvrpcpb.KvPair pairs = 2;
public boolean hasError()
This KeyError exists when some key is locked but we cannot check locks of all keys. In this case, `pairs` should be empty and the client should redo scanning all the keys after resolving the lock.
.kvrpcpb.KeyError error = 3;
hasError
in interface Kvrpcpb.ScanResponseOrBuilder
public Kvrpcpb.KeyError getError()
This KeyError exists when some key is locked but we cannot check locks of all keys. In this case, `pairs` should be empty and the client should redo scanning all the keys after resolving the lock.
.kvrpcpb.KeyError error = 3;
getError
in interface Kvrpcpb.ScanResponseOrBuilder
public Kvrpcpb.ScanResponse.Builder setError(Kvrpcpb.KeyError value)
This KeyError exists when some key is locked but we cannot check locks of all keys. In this case, `pairs` should be empty and the client should redo scanning all the keys after resolving the lock.
.kvrpcpb.KeyError error = 3;
public Kvrpcpb.ScanResponse.Builder setError(Kvrpcpb.KeyError.Builder builderForValue)
This KeyError exists when some key is locked but we cannot check locks of all keys. In this case, `pairs` should be empty and the client should redo scanning all the keys after resolving the lock.
.kvrpcpb.KeyError error = 3;
public Kvrpcpb.ScanResponse.Builder mergeError(Kvrpcpb.KeyError value)
This KeyError exists when some key is locked but we cannot check locks of all keys. In this case, `pairs` should be empty and the client should redo scanning all the keys after resolving the lock.
.kvrpcpb.KeyError error = 3;
public Kvrpcpb.ScanResponse.Builder clearError()
This KeyError exists when some key is locked but we cannot check locks of all keys. In this case, `pairs` should be empty and the client should redo scanning all the keys after resolving the lock.
.kvrpcpb.KeyError error = 3;
public Kvrpcpb.KeyError.Builder getErrorBuilder()
This KeyError exists when some key is locked but we cannot check locks of all keys. In this case, `pairs` should be empty and the client should redo scanning all the keys after resolving the lock.
.kvrpcpb.KeyError error = 3;
public Kvrpcpb.KeyErrorOrBuilder getErrorOrBuilder()
This KeyError exists when some key is locked but we cannot check locks of all keys. In this case, `pairs` should be empty and the client should redo scanning all the keys after resolving the lock.
.kvrpcpb.KeyError error = 3;
getErrorOrBuilder
in interface Kvrpcpb.ScanResponseOrBuilder
public final Kvrpcpb.ScanResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ScanResponse.Builder>
public final Kvrpcpb.ScanResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ScanResponse.Builder>
Copyright © 2024 PingCAP. All rights reserved.