public static final class Pdpb.Region.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.Region.Builder> implements Pdpb.RegionOrBuilder
pdpb.Region
Modifier and Type | Method and Description |
---|---|
Pdpb.Region.Builder |
addAllDownPeers(Iterable<? extends Pdpb.PeerStats> values)
Leader considers that these peers are down.
|
Pdpb.Region.Builder |
addAllPendingPeers(Iterable<? extends Metapb.Peer> values)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.Region.Builder |
addDownPeers(int index,
Pdpb.PeerStats.Builder builderForValue)
Leader considers that these peers are down.
|
Pdpb.Region.Builder |
addDownPeers(int index,
Pdpb.PeerStats value)
Leader considers that these peers are down.
|
Pdpb.Region.Builder |
addDownPeers(Pdpb.PeerStats.Builder builderForValue)
Leader considers that these peers are down.
|
Pdpb.Region.Builder |
addDownPeers(Pdpb.PeerStats value)
Leader considers that these peers are down.
|
Pdpb.PeerStats.Builder |
addDownPeersBuilder()
Leader considers that these peers are down.
|
Pdpb.PeerStats.Builder |
addDownPeersBuilder(int index)
Leader considers that these peers are down.
|
Pdpb.Region.Builder |
addPendingPeers(int index,
Metapb.Peer.Builder builderForValue)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.Region.Builder |
addPendingPeers(int index,
Metapb.Peer value)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.Region.Builder |
addPendingPeers(Metapb.Peer.Builder builderForValue)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.Region.Builder |
addPendingPeers(Metapb.Peer value)
Pending peers are the peers that the leader can't consider as
working followers.
|
Metapb.Peer.Builder |
addPendingPeersBuilder()
Pending peers are the peers that the leader can't consider as
working followers.
|
Metapb.Peer.Builder |
addPendingPeersBuilder(int index)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.Region.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Pdpb.Region |
build() |
Pdpb.Region |
buildPartial() |
Pdpb.Region.Builder |
clear() |
Pdpb.Region.Builder |
clearDownPeers()
Leader considers that these peers are down.
|
Pdpb.Region.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Pdpb.Region.Builder |
clearLeader()
.metapb.Peer leader = 2; |
Pdpb.Region.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Pdpb.Region.Builder |
clearPendingPeers()
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.Region.Builder |
clearRegion()
.metapb.Region region = 1; |
Pdpb.Region.Builder |
clone() |
Pdpb.Region |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Pdpb.PeerStats |
getDownPeers(int index)
Leader considers that these peers are down.
|
Pdpb.PeerStats.Builder |
getDownPeersBuilder(int index)
Leader considers that these peers are down.
|
List<Pdpb.PeerStats.Builder> |
getDownPeersBuilderList()
Leader considers that these peers are down.
|
int |
getDownPeersCount()
Leader considers that these peers are down.
|
List<Pdpb.PeerStats> |
getDownPeersList()
Leader considers that these peers are down.
|
Pdpb.PeerStatsOrBuilder |
getDownPeersOrBuilder(int index)
Leader considers that these peers are down.
|
List<? extends Pdpb.PeerStatsOrBuilder> |
getDownPeersOrBuilderList()
Leader considers that these peers are down.
|
Metapb.Peer |
getLeader()
.metapb.Peer leader = 2; |
Metapb.Peer.Builder |
getLeaderBuilder()
.metapb.Peer leader = 2; |
Metapb.PeerOrBuilder |
getLeaderOrBuilder()
.metapb.Peer leader = 2; |
Metapb.Peer |
getPendingPeers(int index)
Pending peers are the peers that the leader can't consider as
working followers.
|
Metapb.Peer.Builder |
getPendingPeersBuilder(int index)
Pending peers are the peers that the leader can't consider as
working followers.
|
List<Metapb.Peer.Builder> |
getPendingPeersBuilderList()
Pending peers are the peers that the leader can't consider as
working followers.
|
int |
getPendingPeersCount()
Pending peers are the peers that the leader can't consider as
working followers.
|
List<Metapb.Peer> |
getPendingPeersList()
Pending peers are the peers that the leader can't consider as
working followers.
|
Metapb.PeerOrBuilder |
getPendingPeersOrBuilder(int index)
Pending peers are the peers that the leader can't consider as
working followers.
|
List<? extends Metapb.PeerOrBuilder> |
getPendingPeersOrBuilderList()
Pending peers are the peers that the leader can't consider as
working followers.
|
Metapb.Region |
getRegion()
.metapb.Region region = 1; |
Metapb.Region.Builder |
getRegionBuilder()
.metapb.Region region = 1; |
Metapb.RegionOrBuilder |
getRegionOrBuilder()
.metapb.Region region = 1; |
boolean |
hasLeader()
.metapb.Peer leader = 2; |
boolean |
hasRegion()
.metapb.Region region = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Pdpb.Region.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Pdpb.Region.Builder |
mergeFrom(com.google.protobuf.Message other) |
Pdpb.Region.Builder |
mergeFrom(Pdpb.Region other) |
Pdpb.Region.Builder |
mergeLeader(Metapb.Peer value)
.metapb.Peer leader = 2; |
Pdpb.Region.Builder |
mergeRegion(Metapb.Region value)
.metapb.Region region = 1; |
Pdpb.Region.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Pdpb.Region.Builder |
removeDownPeers(int index)
Leader considers that these peers are down.
|
Pdpb.Region.Builder |
removePendingPeers(int index)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.Region.Builder |
setDownPeers(int index,
Pdpb.PeerStats.Builder builderForValue)
Leader considers that these peers are down.
|
Pdpb.Region.Builder |
setDownPeers(int index,
Pdpb.PeerStats value)
Leader considers that these peers are down.
|
Pdpb.Region.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Pdpb.Region.Builder |
setLeader(Metapb.Peer.Builder builderForValue)
.metapb.Peer leader = 2; |
Pdpb.Region.Builder |
setLeader(Metapb.Peer value)
.metapb.Peer leader = 2; |
Pdpb.Region.Builder |
setPendingPeers(int index,
Metapb.Peer.Builder builderForValue)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.Region.Builder |
setPendingPeers(int index,
Metapb.Peer value)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.Region.Builder |
setRegion(Metapb.Region.Builder builderForValue)
.metapb.Region region = 1; |
Pdpb.Region.Builder |
setRegion(Metapb.Region value)
.metapb.Region region = 1; |
Pdpb.Region.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Pdpb.Region.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<Pdpb.Region.Builder>
public Pdpb.Region.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<Pdpb.Region.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<Pdpb.Region.Builder>
public Pdpb.Region getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Pdpb.Region build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Pdpb.Region buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Pdpb.Region.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<Pdpb.Region.Builder>
public Pdpb.Region.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<Pdpb.Region.Builder>
public Pdpb.Region.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.Region.Builder>
public Pdpb.Region.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.Region.Builder>
public Pdpb.Region.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<Pdpb.Region.Builder>
public Pdpb.Region.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<Pdpb.Region.Builder>
public Pdpb.Region.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Pdpb.Region.Builder>
public Pdpb.Region.Builder mergeFrom(Pdpb.Region other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.Region.Builder>
public Pdpb.Region.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<Pdpb.Region.Builder>
IOException
public boolean hasRegion()
.metapb.Region region = 1;
hasRegion
in interface Pdpb.RegionOrBuilder
public Metapb.Region getRegion()
.metapb.Region region = 1;
getRegion
in interface Pdpb.RegionOrBuilder
public Pdpb.Region.Builder setRegion(Metapb.Region value)
.metapb.Region region = 1;
public Pdpb.Region.Builder setRegion(Metapb.Region.Builder builderForValue)
.metapb.Region region = 1;
public Pdpb.Region.Builder mergeRegion(Metapb.Region value)
.metapb.Region region = 1;
public Pdpb.Region.Builder clearRegion()
.metapb.Region region = 1;
public Metapb.Region.Builder getRegionBuilder()
.metapb.Region region = 1;
public Metapb.RegionOrBuilder getRegionOrBuilder()
.metapb.Region region = 1;
getRegionOrBuilder
in interface Pdpb.RegionOrBuilder
public boolean hasLeader()
.metapb.Peer leader = 2;
hasLeader
in interface Pdpb.RegionOrBuilder
public Metapb.Peer getLeader()
.metapb.Peer leader = 2;
getLeader
in interface Pdpb.RegionOrBuilder
public Pdpb.Region.Builder setLeader(Metapb.Peer value)
.metapb.Peer leader = 2;
public Pdpb.Region.Builder setLeader(Metapb.Peer.Builder builderForValue)
.metapb.Peer leader = 2;
public Pdpb.Region.Builder mergeLeader(Metapb.Peer value)
.metapb.Peer leader = 2;
public Pdpb.Region.Builder clearLeader()
.metapb.Peer leader = 2;
public Metapb.Peer.Builder getLeaderBuilder()
.metapb.Peer leader = 2;
public Metapb.PeerOrBuilder getLeaderOrBuilder()
.metapb.Peer leader = 2;
getLeaderOrBuilder
in interface Pdpb.RegionOrBuilder
public List<Pdpb.PeerStats> getDownPeersList()
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 3;
getDownPeersList
in interface Pdpb.RegionOrBuilder
public int getDownPeersCount()
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 3;
getDownPeersCount
in interface Pdpb.RegionOrBuilder
public Pdpb.PeerStats getDownPeers(int index)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 3;
getDownPeers
in interface Pdpb.RegionOrBuilder
public Pdpb.Region.Builder setDownPeers(int index, Pdpb.PeerStats value)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 3;
public Pdpb.Region.Builder setDownPeers(int index, Pdpb.PeerStats.Builder builderForValue)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 3;
public Pdpb.Region.Builder addDownPeers(Pdpb.PeerStats value)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 3;
public Pdpb.Region.Builder addDownPeers(int index, Pdpb.PeerStats value)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 3;
public Pdpb.Region.Builder addDownPeers(Pdpb.PeerStats.Builder builderForValue)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 3;
public Pdpb.Region.Builder addDownPeers(int index, Pdpb.PeerStats.Builder builderForValue)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 3;
public Pdpb.Region.Builder addAllDownPeers(Iterable<? extends Pdpb.PeerStats> values)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 3;
public Pdpb.Region.Builder clearDownPeers()
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 3;
public Pdpb.Region.Builder removeDownPeers(int index)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 3;
public Pdpb.PeerStats.Builder getDownPeersBuilder(int index)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 3;
public Pdpb.PeerStatsOrBuilder getDownPeersOrBuilder(int index)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 3;
getDownPeersOrBuilder
in interface Pdpb.RegionOrBuilder
public List<? extends Pdpb.PeerStatsOrBuilder> getDownPeersOrBuilderList()
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 3;
getDownPeersOrBuilderList
in interface Pdpb.RegionOrBuilder
public Pdpb.PeerStats.Builder addDownPeersBuilder()
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 3;
public Pdpb.PeerStats.Builder addDownPeersBuilder(int index)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 3;
public List<Pdpb.PeerStats.Builder> getDownPeersBuilderList()
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 3;
public List<Metapb.Peer> getPendingPeersList()
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 4;
getPendingPeersList
in interface Pdpb.RegionOrBuilder
public int getPendingPeersCount()
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 4;
getPendingPeersCount
in interface Pdpb.RegionOrBuilder
public Metapb.Peer getPendingPeers(int index)
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 4;
getPendingPeers
in interface Pdpb.RegionOrBuilder
public Pdpb.Region.Builder setPendingPeers(int index, Metapb.Peer value)
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 4;
public Pdpb.Region.Builder setPendingPeers(int index, Metapb.Peer.Builder builderForValue)
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 4;
public Pdpb.Region.Builder addPendingPeers(Metapb.Peer value)
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 4;
public Pdpb.Region.Builder addPendingPeers(int index, Metapb.Peer value)
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 4;
public Pdpb.Region.Builder addPendingPeers(Metapb.Peer.Builder builderForValue)
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 4;
public Pdpb.Region.Builder addPendingPeers(int index, Metapb.Peer.Builder builderForValue)
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 4;
public Pdpb.Region.Builder addAllPendingPeers(Iterable<? extends Metapb.Peer> values)
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 4;
public Pdpb.Region.Builder clearPendingPeers()
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 4;
public Pdpb.Region.Builder removePendingPeers(int index)
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 4;
public Metapb.Peer.Builder getPendingPeersBuilder(int index)
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 4;
public Metapb.PeerOrBuilder getPendingPeersOrBuilder(int index)
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 4;
getPendingPeersOrBuilder
in interface Pdpb.RegionOrBuilder
public List<? extends Metapb.PeerOrBuilder> getPendingPeersOrBuilderList()
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 4;
getPendingPeersOrBuilderList
in interface Pdpb.RegionOrBuilder
public Metapb.Peer.Builder addPendingPeersBuilder()
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 4;
public Metapb.Peer.Builder addPendingPeersBuilder(int index)
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 4;
public List<Metapb.Peer.Builder> getPendingPeersBuilderList()
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 4;
public final Pdpb.Region.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.Region.Builder>
public final Pdpb.Region.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.Region.Builder>
Copyright © 2024 PingCAP. All rights reserved.