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