public static interface Errorpb.NotLeaderOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Metapb.Peer |
getLeader()
Region leader of the requested region
|
Metapb.PeerOrBuilder |
getLeaderOrBuilder()
Region leader of the requested region
|
long |
getRegionId()
The requested region ID
|
boolean |
hasLeader()
Region leader of the requested region
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
long getRegionId()
The requested region ID
uint64 region_id = 1;
boolean hasLeader()
Region leader of the requested region
.metapb.Peer leader = 2;
Metapb.Peer getLeader()
Region leader of the requested region
.metapb.Peer leader = 2;
Metapb.PeerOrBuilder getLeaderOrBuilder()
Region leader of the requested region
.metapb.Peer leader = 2;
Copyright © 2024 PingCAP. All rights reserved.