public static final class Errorpb.EpochNotMatch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Errorpb.EpochNotMatch.Builder> implements Errorpb.EpochNotMatchOrBuilder
EpochNotMatch is the error variant that tells a region has been updated. (e.g. by splitting / merging, or raft Confchange.) Hence, a command is based on a stale version of a region.Protobuf type
errorpb.EpochNotMatch
Modifier and Type | Method and Description |
---|---|
Errorpb.EpochNotMatch.Builder |
addAllCurrentRegions(Iterable<? extends Metapb.Region> values)
Available regions that may be siblings of the requested one.
|
Errorpb.EpochNotMatch.Builder |
addCurrentRegions(int index,
Metapb.Region.Builder builderForValue)
Available regions that may be siblings of the requested one.
|
Errorpb.EpochNotMatch.Builder |
addCurrentRegions(int index,
Metapb.Region value)
Available regions that may be siblings of the requested one.
|
Errorpb.EpochNotMatch.Builder |
addCurrentRegions(Metapb.Region.Builder builderForValue)
Available regions that may be siblings of the requested one.
|
Errorpb.EpochNotMatch.Builder |
addCurrentRegions(Metapb.Region value)
Available regions that may be siblings of the requested one.
|
Metapb.Region.Builder |
addCurrentRegionsBuilder()
Available regions that may be siblings of the requested one.
|
Metapb.Region.Builder |
addCurrentRegionsBuilder(int index)
Available regions that may be siblings of the requested one.
|
Errorpb.EpochNotMatch.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Errorpb.EpochNotMatch |
build() |
Errorpb.EpochNotMatch |
buildPartial() |
Errorpb.EpochNotMatch.Builder |
clear() |
Errorpb.EpochNotMatch.Builder |
clearCurrentRegions()
Available regions that may be siblings of the requested one.
|
Errorpb.EpochNotMatch.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Errorpb.EpochNotMatch.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Errorpb.EpochNotMatch.Builder |
clone() |
Metapb.Region |
getCurrentRegions(int index)
Available regions that may be siblings of the requested one.
|
Metapb.Region.Builder |
getCurrentRegionsBuilder(int index)
Available regions that may be siblings of the requested one.
|
List<Metapb.Region.Builder> |
getCurrentRegionsBuilderList()
Available regions that may be siblings of the requested one.
|
int |
getCurrentRegionsCount()
Available regions that may be siblings of the requested one.
|
List<Metapb.Region> |
getCurrentRegionsList()
Available regions that may be siblings of the requested one.
|
Metapb.RegionOrBuilder |
getCurrentRegionsOrBuilder(int index)
Available regions that may be siblings of the requested one.
|
List<? extends Metapb.RegionOrBuilder> |
getCurrentRegionsOrBuilderList()
Available regions that may be siblings of the requested one.
|
Errorpb.EpochNotMatch |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Errorpb.EpochNotMatch.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Errorpb.EpochNotMatch.Builder |
mergeFrom(Errorpb.EpochNotMatch other) |
Errorpb.EpochNotMatch.Builder |
mergeFrom(com.google.protobuf.Message other) |
Errorpb.EpochNotMatch.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Errorpb.EpochNotMatch.Builder |
removeCurrentRegions(int index)
Available regions that may be siblings of the requested one.
|
Errorpb.EpochNotMatch.Builder |
setCurrentRegions(int index,
Metapb.Region.Builder builderForValue)
Available regions that may be siblings of the requested one.
|
Errorpb.EpochNotMatch.Builder |
setCurrentRegions(int index,
Metapb.Region value)
Available regions that may be siblings of the requested one.
|
Errorpb.EpochNotMatch.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Errorpb.EpochNotMatch.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Errorpb.EpochNotMatch.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<Errorpb.EpochNotMatch.Builder>
public Errorpb.EpochNotMatch.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<Errorpb.EpochNotMatch.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<Errorpb.EpochNotMatch.Builder>
public Errorpb.EpochNotMatch getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Errorpb.EpochNotMatch build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Errorpb.EpochNotMatch buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Errorpb.EpochNotMatch.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<Errorpb.EpochNotMatch.Builder>
public Errorpb.EpochNotMatch.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<Errorpb.EpochNotMatch.Builder>
public Errorpb.EpochNotMatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Errorpb.EpochNotMatch.Builder>
public Errorpb.EpochNotMatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Errorpb.EpochNotMatch.Builder>
public Errorpb.EpochNotMatch.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<Errorpb.EpochNotMatch.Builder>
public Errorpb.EpochNotMatch.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<Errorpb.EpochNotMatch.Builder>
public Errorpb.EpochNotMatch.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Errorpb.EpochNotMatch.Builder>
public Errorpb.EpochNotMatch.Builder mergeFrom(Errorpb.EpochNotMatch other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Errorpb.EpochNotMatch.Builder>
public Errorpb.EpochNotMatch.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<Errorpb.EpochNotMatch.Builder>
IOException
public List<Metapb.Region> getCurrentRegionsList()
Available regions that may be siblings of the requested one.
repeated .metapb.Region current_regions = 1;
getCurrentRegionsList
in interface Errorpb.EpochNotMatchOrBuilder
public int getCurrentRegionsCount()
Available regions that may be siblings of the requested one.
repeated .metapb.Region current_regions = 1;
getCurrentRegionsCount
in interface Errorpb.EpochNotMatchOrBuilder
public Metapb.Region getCurrentRegions(int index)
Available regions that may be siblings of the requested one.
repeated .metapb.Region current_regions = 1;
getCurrentRegions
in interface Errorpb.EpochNotMatchOrBuilder
public Errorpb.EpochNotMatch.Builder setCurrentRegions(int index, Metapb.Region value)
Available regions that may be siblings of the requested one.
repeated .metapb.Region current_regions = 1;
public Errorpb.EpochNotMatch.Builder setCurrentRegions(int index, Metapb.Region.Builder builderForValue)
Available regions that may be siblings of the requested one.
repeated .metapb.Region current_regions = 1;
public Errorpb.EpochNotMatch.Builder addCurrentRegions(Metapb.Region value)
Available regions that may be siblings of the requested one.
repeated .metapb.Region current_regions = 1;
public Errorpb.EpochNotMatch.Builder addCurrentRegions(int index, Metapb.Region value)
Available regions that may be siblings of the requested one.
repeated .metapb.Region current_regions = 1;
public Errorpb.EpochNotMatch.Builder addCurrentRegions(Metapb.Region.Builder builderForValue)
Available regions that may be siblings of the requested one.
repeated .metapb.Region current_regions = 1;
public Errorpb.EpochNotMatch.Builder addCurrentRegions(int index, Metapb.Region.Builder builderForValue)
Available regions that may be siblings of the requested one.
repeated .metapb.Region current_regions = 1;
public Errorpb.EpochNotMatch.Builder addAllCurrentRegions(Iterable<? extends Metapb.Region> values)
Available regions that may be siblings of the requested one.
repeated .metapb.Region current_regions = 1;
public Errorpb.EpochNotMatch.Builder clearCurrentRegions()
Available regions that may be siblings of the requested one.
repeated .metapb.Region current_regions = 1;
public Errorpb.EpochNotMatch.Builder removeCurrentRegions(int index)
Available regions that may be siblings of the requested one.
repeated .metapb.Region current_regions = 1;
public Metapb.Region.Builder getCurrentRegionsBuilder(int index)
Available regions that may be siblings of the requested one.
repeated .metapb.Region current_regions = 1;
public Metapb.RegionOrBuilder getCurrentRegionsOrBuilder(int index)
Available regions that may be siblings of the requested one.
repeated .metapb.Region current_regions = 1;
getCurrentRegionsOrBuilder
in interface Errorpb.EpochNotMatchOrBuilder
public List<? extends Metapb.RegionOrBuilder> getCurrentRegionsOrBuilderList()
Available regions that may be siblings of the requested one.
repeated .metapb.Region current_regions = 1;
getCurrentRegionsOrBuilderList
in interface Errorpb.EpochNotMatchOrBuilder
public Metapb.Region.Builder addCurrentRegionsBuilder()
Available regions that may be siblings of the requested one.
repeated .metapb.Region current_regions = 1;
public Metapb.Region.Builder addCurrentRegionsBuilder(int index)
Available regions that may be siblings of the requested one.
repeated .metapb.Region current_regions = 1;
public List<Metapb.Region.Builder> getCurrentRegionsBuilderList()
Available regions that may be siblings of the requested one.
repeated .metapb.Region current_regions = 1;
public final Errorpb.EpochNotMatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Errorpb.EpochNotMatch.Builder>
public final Errorpb.EpochNotMatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Errorpb.EpochNotMatch.Builder>
Copyright © 2024 PingCAP. All rights reserved.