public static final class Pdpb.RegionHeartbeatRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.RegionHeartbeatRequest.Builder> implements Pdpb.RegionHeartbeatRequestOrBuilder
pdpb.RegionHeartbeatRequest
Modifier and Type | Method and Description |
---|---|
Pdpb.RegionHeartbeatRequest.Builder |
addAllDownPeers(Iterable<? extends Pdpb.PeerStats> values)
Leader considers that these peers are down.
|
Pdpb.RegionHeartbeatRequest.Builder |
addAllPendingPeers(Iterable<? extends Metapb.Peer> values)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.RegionHeartbeatRequest.Builder |
addDownPeers(int index,
Pdpb.PeerStats.Builder builderForValue)
Leader considers that these peers are down.
|
Pdpb.RegionHeartbeatRequest.Builder |
addDownPeers(int index,
Pdpb.PeerStats value)
Leader considers that these peers are down.
|
Pdpb.RegionHeartbeatRequest.Builder |
addDownPeers(Pdpb.PeerStats.Builder builderForValue)
Leader considers that these peers are down.
|
Pdpb.RegionHeartbeatRequest.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.RegionHeartbeatRequest.Builder |
addPendingPeers(int index,
Metapb.Peer.Builder builderForValue)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.RegionHeartbeatRequest.Builder |
addPendingPeers(int index,
Metapb.Peer value)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.RegionHeartbeatRequest.Builder |
addPendingPeers(Metapb.Peer.Builder builderForValue)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.RegionHeartbeatRequest.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.RegionHeartbeatRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Pdpb.RegionHeartbeatRequest |
build() |
Pdpb.RegionHeartbeatRequest |
buildPartial() |
Pdpb.RegionHeartbeatRequest.Builder |
clear() |
Pdpb.RegionHeartbeatRequest.Builder |
clearApproximateKeys()
Approximate number of keys.
|
Pdpb.RegionHeartbeatRequest.Builder |
clearApproximateSize()
Approximate region size.
|
Pdpb.RegionHeartbeatRequest.Builder |
clearBytesRead()
uint64 bytes_read = 7; |
Pdpb.RegionHeartbeatRequest.Builder |
clearBytesWritten()
Bytes read/written during this period.
|
Pdpb.RegionHeartbeatRequest.Builder |
clearCpuUsage()
cpu_usage is the CPU time usage of the leader region since the last heartbeat,
which is calculated by cpu_time_delta/heartbeat_reported_interval.
|
Pdpb.RegionHeartbeatRequest.Builder |
clearDownPeers()
Leader considers that these peers are down.
|
Pdpb.RegionHeartbeatRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Pdpb.RegionHeartbeatRequest.Builder |
clearHeader()
.pdpb.RequestHeader header = 1; |
Pdpb.RegionHeartbeatRequest.Builder |
clearInterval()
Actually reported time interval
|
Pdpb.RegionHeartbeatRequest.Builder |
clearKeysRead()
uint64 keys_read = 9; |
Pdpb.RegionHeartbeatRequest.Builder |
clearKeysWritten()
Keys read/written during this period.
|
Pdpb.RegionHeartbeatRequest.Builder |
clearLeader()
Leader Peer sending the heartbeat.
|
Pdpb.RegionHeartbeatRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Pdpb.RegionHeartbeatRequest.Builder |
clearPendingPeers()
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.RegionHeartbeatRequest.Builder |
clearQueryStats()
QueryStats reported write query stats, and there are read query stats in store heartbeat
|
Pdpb.RegionHeartbeatRequest.Builder |
clearRegion()
.metapb.Region region = 2; |
Pdpb.RegionHeartbeatRequest.Builder |
clearReplicationStatus()
.replication_modepb.RegionReplicationStatus replication_status = 15; |
Pdpb.RegionHeartbeatRequest.Builder |
clearTerm()
Term is the term of raft group.
|
Pdpb.RegionHeartbeatRequest.Builder |
clone() |
long |
getApproximateKeys()
Approximate number of keys.
|
long |
getApproximateSize()
Approximate region size.
|
long |
getBytesRead()
uint64 bytes_read = 7; |
long |
getBytesWritten()
Bytes read/written during this period.
|
long |
getCpuUsage()
cpu_usage is the CPU time usage of the leader region since the last heartbeat,
which is calculated by cpu_time_delta/heartbeat_reported_interval.
|
Pdpb.RegionHeartbeatRequest |
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.RequestHeader |
getHeader()
.pdpb.RequestHeader header = 1; |
Pdpb.RequestHeader.Builder |
getHeaderBuilder()
.pdpb.RequestHeader header = 1; |
Pdpb.RequestHeaderOrBuilder |
getHeaderOrBuilder()
.pdpb.RequestHeader header = 1; |
Pdpb.TimeInterval |
getInterval()
Actually reported time interval
|
Pdpb.TimeInterval.Builder |
getIntervalBuilder()
Actually reported time interval
|
Pdpb.TimeIntervalOrBuilder |
getIntervalOrBuilder()
Actually reported time interval
|
long |
getKeysRead()
uint64 keys_read = 9; |
long |
getKeysWritten()
Keys read/written during this period.
|
Metapb.Peer |
getLeader()
Leader Peer sending the heartbeat.
|
Metapb.Peer.Builder |
getLeaderBuilder()
Leader Peer sending the heartbeat.
|
Metapb.PeerOrBuilder |
getLeaderOrBuilder()
Leader Peer sending the heartbeat.
|
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.
|
Pdpb.QueryStats |
getQueryStats()
QueryStats reported write query stats, and there are read query stats in store heartbeat
|
Pdpb.QueryStats.Builder |
getQueryStatsBuilder()
QueryStats reported write query stats, and there are read query stats in store heartbeat
|
Pdpb.QueryStatsOrBuilder |
getQueryStatsOrBuilder()
QueryStats reported write query stats, and there are read query stats in store heartbeat
|
Metapb.Region |
getRegion()
.metapb.Region region = 2; |
Metapb.Region.Builder |
getRegionBuilder()
.metapb.Region region = 2; |
Metapb.RegionOrBuilder |
getRegionOrBuilder()
.metapb.Region region = 2; |
ReplicationModepb.RegionReplicationStatus |
getReplicationStatus()
.replication_modepb.RegionReplicationStatus replication_status = 15; |
ReplicationModepb.RegionReplicationStatus.Builder |
getReplicationStatusBuilder()
.replication_modepb.RegionReplicationStatus replication_status = 15; |
ReplicationModepb.RegionReplicationStatusOrBuilder |
getReplicationStatusOrBuilder()
.replication_modepb.RegionReplicationStatus replication_status = 15; |
long |
getTerm()
Term is the term of raft group.
|
boolean |
hasHeader()
.pdpb.RequestHeader header = 1; |
boolean |
hasInterval()
Actually reported time interval
|
boolean |
hasLeader()
Leader Peer sending the heartbeat.
|
boolean |
hasQueryStats()
QueryStats reported write query stats, and there are read query stats in store heartbeat
|
boolean |
hasRegion()
.metapb.Region region = 2; |
boolean |
hasReplicationStatus()
.replication_modepb.RegionReplicationStatus replication_status = 15; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Pdpb.RegionHeartbeatRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Pdpb.RegionHeartbeatRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Pdpb.RegionHeartbeatRequest.Builder |
mergeFrom(Pdpb.RegionHeartbeatRequest other) |
Pdpb.RegionHeartbeatRequest.Builder |
mergeHeader(Pdpb.RequestHeader value)
.pdpb.RequestHeader header = 1; |
Pdpb.RegionHeartbeatRequest.Builder |
mergeInterval(Pdpb.TimeInterval value)
Actually reported time interval
|
Pdpb.RegionHeartbeatRequest.Builder |
mergeLeader(Metapb.Peer value)
Leader Peer sending the heartbeat.
|
Pdpb.RegionHeartbeatRequest.Builder |
mergeQueryStats(Pdpb.QueryStats value)
QueryStats reported write query stats, and there are read query stats in store heartbeat
|
Pdpb.RegionHeartbeatRequest.Builder |
mergeRegion(Metapb.Region value)
.metapb.Region region = 2; |
Pdpb.RegionHeartbeatRequest.Builder |
mergeReplicationStatus(ReplicationModepb.RegionReplicationStatus value)
.replication_modepb.RegionReplicationStatus replication_status = 15; |
Pdpb.RegionHeartbeatRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Pdpb.RegionHeartbeatRequest.Builder |
removeDownPeers(int index)
Leader considers that these peers are down.
|
Pdpb.RegionHeartbeatRequest.Builder |
removePendingPeers(int index)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.RegionHeartbeatRequest.Builder |
setApproximateKeys(long value)
Approximate number of keys.
|
Pdpb.RegionHeartbeatRequest.Builder |
setApproximateSize(long value)
Approximate region size.
|
Pdpb.RegionHeartbeatRequest.Builder |
setBytesRead(long value)
uint64 bytes_read = 7; |
Pdpb.RegionHeartbeatRequest.Builder |
setBytesWritten(long value)
Bytes read/written during this period.
|
Pdpb.RegionHeartbeatRequest.Builder |
setCpuUsage(long value)
cpu_usage is the CPU time usage of the leader region since the last heartbeat,
which is calculated by cpu_time_delta/heartbeat_reported_interval.
|
Pdpb.RegionHeartbeatRequest.Builder |
setDownPeers(int index,
Pdpb.PeerStats.Builder builderForValue)
Leader considers that these peers are down.
|
Pdpb.RegionHeartbeatRequest.Builder |
setDownPeers(int index,
Pdpb.PeerStats value)
Leader considers that these peers are down.
|
Pdpb.RegionHeartbeatRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Pdpb.RegionHeartbeatRequest.Builder |
setHeader(Pdpb.RequestHeader.Builder builderForValue)
.pdpb.RequestHeader header = 1; |
Pdpb.RegionHeartbeatRequest.Builder |
setHeader(Pdpb.RequestHeader value)
.pdpb.RequestHeader header = 1; |
Pdpb.RegionHeartbeatRequest.Builder |
setInterval(Pdpb.TimeInterval.Builder builderForValue)
Actually reported time interval
|
Pdpb.RegionHeartbeatRequest.Builder |
setInterval(Pdpb.TimeInterval value)
Actually reported time interval
|
Pdpb.RegionHeartbeatRequest.Builder |
setKeysRead(long value)
uint64 keys_read = 9; |
Pdpb.RegionHeartbeatRequest.Builder |
setKeysWritten(long value)
Keys read/written during this period.
|
Pdpb.RegionHeartbeatRequest.Builder |
setLeader(Metapb.Peer.Builder builderForValue)
Leader Peer sending the heartbeat.
|
Pdpb.RegionHeartbeatRequest.Builder |
setLeader(Metapb.Peer value)
Leader Peer sending the heartbeat.
|
Pdpb.RegionHeartbeatRequest.Builder |
setPendingPeers(int index,
Metapb.Peer.Builder builderForValue)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.RegionHeartbeatRequest.Builder |
setPendingPeers(int index,
Metapb.Peer value)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.RegionHeartbeatRequest.Builder |
setQueryStats(Pdpb.QueryStats.Builder builderForValue)
QueryStats reported write query stats, and there are read query stats in store heartbeat
|
Pdpb.RegionHeartbeatRequest.Builder |
setQueryStats(Pdpb.QueryStats value)
QueryStats reported write query stats, and there are read query stats in store heartbeat
|
Pdpb.RegionHeartbeatRequest.Builder |
setRegion(Metapb.Region.Builder builderForValue)
.metapb.Region region = 2; |
Pdpb.RegionHeartbeatRequest.Builder |
setRegion(Metapb.Region value)
.metapb.Region region = 2; |
Pdpb.RegionHeartbeatRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Pdpb.RegionHeartbeatRequest.Builder |
setReplicationStatus(ReplicationModepb.RegionReplicationStatus.Builder builderForValue)
.replication_modepb.RegionReplicationStatus replication_status = 15; |
Pdpb.RegionHeartbeatRequest.Builder |
setReplicationStatus(ReplicationModepb.RegionReplicationStatus value)
.replication_modepb.RegionReplicationStatus replication_status = 15; |
Pdpb.RegionHeartbeatRequest.Builder |
setTerm(long value)
Term is the term of raft group.
|
Pdpb.RegionHeartbeatRequest.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.RegionHeartbeatRequest.Builder>
public Pdpb.RegionHeartbeatRequest.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.RegionHeartbeatRequest.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.RegionHeartbeatRequest.Builder>
public Pdpb.RegionHeartbeatRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Pdpb.RegionHeartbeatRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Pdpb.RegionHeartbeatRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Pdpb.RegionHeartbeatRequest.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.RegionHeartbeatRequest.Builder>
public Pdpb.RegionHeartbeatRequest.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.RegionHeartbeatRequest.Builder>
public Pdpb.RegionHeartbeatRequest.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.RegionHeartbeatRequest.Builder>
public Pdpb.RegionHeartbeatRequest.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.RegionHeartbeatRequest.Builder>
public Pdpb.RegionHeartbeatRequest.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.RegionHeartbeatRequest.Builder>
public Pdpb.RegionHeartbeatRequest.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.RegionHeartbeatRequest.Builder>
public Pdpb.RegionHeartbeatRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Pdpb.RegionHeartbeatRequest.Builder>
public Pdpb.RegionHeartbeatRequest.Builder mergeFrom(Pdpb.RegionHeartbeatRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.RegionHeartbeatRequest.Builder>
public Pdpb.RegionHeartbeatRequest.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.RegionHeartbeatRequest.Builder>
IOException
public boolean hasHeader()
.pdpb.RequestHeader header = 1;
hasHeader
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.RequestHeader getHeader()
.pdpb.RequestHeader header = 1;
getHeader
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.RegionHeartbeatRequest.Builder setHeader(Pdpb.RequestHeader value)
.pdpb.RequestHeader header = 1;
public Pdpb.RegionHeartbeatRequest.Builder setHeader(Pdpb.RequestHeader.Builder builderForValue)
.pdpb.RequestHeader header = 1;
public Pdpb.RegionHeartbeatRequest.Builder mergeHeader(Pdpb.RequestHeader value)
.pdpb.RequestHeader header = 1;
public Pdpb.RegionHeartbeatRequest.Builder clearHeader()
.pdpb.RequestHeader header = 1;
public Pdpb.RequestHeader.Builder getHeaderBuilder()
.pdpb.RequestHeader header = 1;
public Pdpb.RequestHeaderOrBuilder getHeaderOrBuilder()
.pdpb.RequestHeader header = 1;
getHeaderOrBuilder
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public boolean hasRegion()
.metapb.Region region = 2;
hasRegion
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Metapb.Region getRegion()
.metapb.Region region = 2;
getRegion
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.RegionHeartbeatRequest.Builder setRegion(Metapb.Region value)
.metapb.Region region = 2;
public Pdpb.RegionHeartbeatRequest.Builder setRegion(Metapb.Region.Builder builderForValue)
.metapb.Region region = 2;
public Pdpb.RegionHeartbeatRequest.Builder mergeRegion(Metapb.Region value)
.metapb.Region region = 2;
public Pdpb.RegionHeartbeatRequest.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.RegionHeartbeatRequestOrBuilder
public boolean hasLeader()
Leader Peer sending the heartbeat.
.metapb.Peer leader = 3;
hasLeader
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Metapb.Peer getLeader()
Leader Peer sending the heartbeat.
.metapb.Peer leader = 3;
getLeader
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.RegionHeartbeatRequest.Builder setLeader(Metapb.Peer value)
Leader Peer sending the heartbeat.
.metapb.Peer leader = 3;
public Pdpb.RegionHeartbeatRequest.Builder setLeader(Metapb.Peer.Builder builderForValue)
Leader Peer sending the heartbeat.
.metapb.Peer leader = 3;
public Pdpb.RegionHeartbeatRequest.Builder mergeLeader(Metapb.Peer value)
Leader Peer sending the heartbeat.
.metapb.Peer leader = 3;
public Pdpb.RegionHeartbeatRequest.Builder clearLeader()
Leader Peer sending the heartbeat.
.metapb.Peer leader = 3;
public Metapb.Peer.Builder getLeaderBuilder()
Leader Peer sending the heartbeat.
.metapb.Peer leader = 3;
public Metapb.PeerOrBuilder getLeaderOrBuilder()
Leader Peer sending the heartbeat.
.metapb.Peer leader = 3;
getLeaderOrBuilder
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public List<Pdpb.PeerStats> getDownPeersList()
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
getDownPeersList
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public int getDownPeersCount()
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
getDownPeersCount
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.PeerStats getDownPeers(int index)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
getDownPeers
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.RegionHeartbeatRequest.Builder setDownPeers(int index, Pdpb.PeerStats value)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
public Pdpb.RegionHeartbeatRequest.Builder setDownPeers(int index, Pdpb.PeerStats.Builder builderForValue)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
public Pdpb.RegionHeartbeatRequest.Builder addDownPeers(Pdpb.PeerStats value)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
public Pdpb.RegionHeartbeatRequest.Builder addDownPeers(int index, Pdpb.PeerStats value)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
public Pdpb.RegionHeartbeatRequest.Builder addDownPeers(Pdpb.PeerStats.Builder builderForValue)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
public Pdpb.RegionHeartbeatRequest.Builder addDownPeers(int index, Pdpb.PeerStats.Builder builderForValue)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
public Pdpb.RegionHeartbeatRequest.Builder addAllDownPeers(Iterable<? extends Pdpb.PeerStats> values)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
public Pdpb.RegionHeartbeatRequest.Builder clearDownPeers()
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
public Pdpb.RegionHeartbeatRequest.Builder removeDownPeers(int index)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
public Pdpb.PeerStats.Builder getDownPeersBuilder(int index)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
public Pdpb.PeerStatsOrBuilder getDownPeersOrBuilder(int index)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
getDownPeersOrBuilder
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public List<? extends Pdpb.PeerStatsOrBuilder> getDownPeersOrBuilderList()
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
getDownPeersOrBuilderList
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.PeerStats.Builder addDownPeersBuilder()
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
public Pdpb.PeerStats.Builder addDownPeersBuilder(int index)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
public List<Pdpb.PeerStats.Builder> getDownPeersBuilderList()
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
public List<Metapb.Peer> getPendingPeersList()
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 5;
getPendingPeersList
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public int getPendingPeersCount()
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 5;
getPendingPeersCount
in interface Pdpb.RegionHeartbeatRequestOrBuilder
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 = 5;
getPendingPeers
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.RegionHeartbeatRequest.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 = 5;
public Pdpb.RegionHeartbeatRequest.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 = 5;
public Pdpb.RegionHeartbeatRequest.Builder addPendingPeers(Metapb.Peer value)
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 5;
public Pdpb.RegionHeartbeatRequest.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 = 5;
public Pdpb.RegionHeartbeatRequest.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 = 5;
public Pdpb.RegionHeartbeatRequest.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 = 5;
public Pdpb.RegionHeartbeatRequest.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 = 5;
public Pdpb.RegionHeartbeatRequest.Builder clearPendingPeers()
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 5;
public Pdpb.RegionHeartbeatRequest.Builder removePendingPeers(int index)
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 5;
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 = 5;
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 = 5;
getPendingPeersOrBuilder
in interface Pdpb.RegionHeartbeatRequestOrBuilder
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 = 5;
getPendingPeersOrBuilderList
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Metapb.Peer.Builder addPendingPeersBuilder()
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 5;
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 = 5;
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 = 5;
public long getBytesWritten()
Bytes read/written during this period.
uint64 bytes_written = 6;
getBytesWritten
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.RegionHeartbeatRequest.Builder setBytesWritten(long value)
Bytes read/written during this period.
uint64 bytes_written = 6;
value
- The bytesWritten to set.public Pdpb.RegionHeartbeatRequest.Builder clearBytesWritten()
Bytes read/written during this period.
uint64 bytes_written = 6;
public long getBytesRead()
uint64 bytes_read = 7;
getBytesRead
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.RegionHeartbeatRequest.Builder setBytesRead(long value)
uint64 bytes_read = 7;
value
- The bytesRead to set.public Pdpb.RegionHeartbeatRequest.Builder clearBytesRead()
uint64 bytes_read = 7;
public long getKeysWritten()
Keys read/written during this period.
uint64 keys_written = 8;
getKeysWritten
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.RegionHeartbeatRequest.Builder setKeysWritten(long value)
Keys read/written during this period.
uint64 keys_written = 8;
value
- The keysWritten to set.public Pdpb.RegionHeartbeatRequest.Builder clearKeysWritten()
Keys read/written during this period.
uint64 keys_written = 8;
public long getKeysRead()
uint64 keys_read = 9;
getKeysRead
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.RegionHeartbeatRequest.Builder setKeysRead(long value)
uint64 keys_read = 9;
value
- The keysRead to set.public Pdpb.RegionHeartbeatRequest.Builder clearKeysRead()
uint64 keys_read = 9;
public long getApproximateSize()
Approximate region size.
uint64 approximate_size = 10;
getApproximateSize
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.RegionHeartbeatRequest.Builder setApproximateSize(long value)
Approximate region size.
uint64 approximate_size = 10;
value
- The approximateSize to set.public Pdpb.RegionHeartbeatRequest.Builder clearApproximateSize()
Approximate region size.
uint64 approximate_size = 10;
public boolean hasInterval()
Actually reported time interval
.pdpb.TimeInterval interval = 12;
hasInterval
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.TimeInterval getInterval()
Actually reported time interval
.pdpb.TimeInterval interval = 12;
getInterval
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.RegionHeartbeatRequest.Builder setInterval(Pdpb.TimeInterval value)
Actually reported time interval
.pdpb.TimeInterval interval = 12;
public Pdpb.RegionHeartbeatRequest.Builder setInterval(Pdpb.TimeInterval.Builder builderForValue)
Actually reported time interval
.pdpb.TimeInterval interval = 12;
public Pdpb.RegionHeartbeatRequest.Builder mergeInterval(Pdpb.TimeInterval value)
Actually reported time interval
.pdpb.TimeInterval interval = 12;
public Pdpb.RegionHeartbeatRequest.Builder clearInterval()
Actually reported time interval
.pdpb.TimeInterval interval = 12;
public Pdpb.TimeInterval.Builder getIntervalBuilder()
Actually reported time interval
.pdpb.TimeInterval interval = 12;
public Pdpb.TimeIntervalOrBuilder getIntervalOrBuilder()
Actually reported time interval
.pdpb.TimeInterval interval = 12;
getIntervalOrBuilder
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public long getApproximateKeys()
Approximate number of keys.
uint64 approximate_keys = 13;
getApproximateKeys
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.RegionHeartbeatRequest.Builder setApproximateKeys(long value)
Approximate number of keys.
uint64 approximate_keys = 13;
value
- The approximateKeys to set.public Pdpb.RegionHeartbeatRequest.Builder clearApproximateKeys()
Approximate number of keys.
uint64 approximate_keys = 13;
public long getTerm()
Term is the term of raft group.
uint64 term = 14;
getTerm
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.RegionHeartbeatRequest.Builder setTerm(long value)
Term is the term of raft group.
uint64 term = 14;
value
- The term to set.public Pdpb.RegionHeartbeatRequest.Builder clearTerm()
Term is the term of raft group.
uint64 term = 14;
public boolean hasReplicationStatus()
.replication_modepb.RegionReplicationStatus replication_status = 15;
hasReplicationStatus
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public ReplicationModepb.RegionReplicationStatus getReplicationStatus()
.replication_modepb.RegionReplicationStatus replication_status = 15;
getReplicationStatus
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.RegionHeartbeatRequest.Builder setReplicationStatus(ReplicationModepb.RegionReplicationStatus value)
.replication_modepb.RegionReplicationStatus replication_status = 15;
public Pdpb.RegionHeartbeatRequest.Builder setReplicationStatus(ReplicationModepb.RegionReplicationStatus.Builder builderForValue)
.replication_modepb.RegionReplicationStatus replication_status = 15;
public Pdpb.RegionHeartbeatRequest.Builder mergeReplicationStatus(ReplicationModepb.RegionReplicationStatus value)
.replication_modepb.RegionReplicationStatus replication_status = 15;
public Pdpb.RegionHeartbeatRequest.Builder clearReplicationStatus()
.replication_modepb.RegionReplicationStatus replication_status = 15;
public ReplicationModepb.RegionReplicationStatus.Builder getReplicationStatusBuilder()
.replication_modepb.RegionReplicationStatus replication_status = 15;
public ReplicationModepb.RegionReplicationStatusOrBuilder getReplicationStatusOrBuilder()
.replication_modepb.RegionReplicationStatus replication_status = 15;
getReplicationStatusOrBuilder
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public boolean hasQueryStats()
QueryStats reported write query stats, and there are read query stats in store heartbeat
.pdpb.QueryStats query_stats = 16;
hasQueryStats
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.QueryStats getQueryStats()
QueryStats reported write query stats, and there are read query stats in store heartbeat
.pdpb.QueryStats query_stats = 16;
getQueryStats
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.RegionHeartbeatRequest.Builder setQueryStats(Pdpb.QueryStats value)
QueryStats reported write query stats, and there are read query stats in store heartbeat
.pdpb.QueryStats query_stats = 16;
public Pdpb.RegionHeartbeatRequest.Builder setQueryStats(Pdpb.QueryStats.Builder builderForValue)
QueryStats reported write query stats, and there are read query stats in store heartbeat
.pdpb.QueryStats query_stats = 16;
public Pdpb.RegionHeartbeatRequest.Builder mergeQueryStats(Pdpb.QueryStats value)
QueryStats reported write query stats, and there are read query stats in store heartbeat
.pdpb.QueryStats query_stats = 16;
public Pdpb.RegionHeartbeatRequest.Builder clearQueryStats()
QueryStats reported write query stats, and there are read query stats in store heartbeat
.pdpb.QueryStats query_stats = 16;
public Pdpb.QueryStats.Builder getQueryStatsBuilder()
QueryStats reported write query stats, and there are read query stats in store heartbeat
.pdpb.QueryStats query_stats = 16;
public Pdpb.QueryStatsOrBuilder getQueryStatsOrBuilder()
QueryStats reported write query stats, and there are read query stats in store heartbeat
.pdpb.QueryStats query_stats = 16;
getQueryStatsOrBuilder
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public long getCpuUsage()
cpu_usage is the CPU time usage of the leader region since the last heartbeat, which is calculated by cpu_time_delta/heartbeat_reported_interval.
uint64 cpu_usage = 17;
getCpuUsage
in interface Pdpb.RegionHeartbeatRequestOrBuilder
public Pdpb.RegionHeartbeatRequest.Builder setCpuUsage(long value)
cpu_usage is the CPU time usage of the leader region since the last heartbeat, which is calculated by cpu_time_delta/heartbeat_reported_interval.
uint64 cpu_usage = 17;
value
- The cpuUsage to set.public Pdpb.RegionHeartbeatRequest.Builder clearCpuUsage()
cpu_usage is the CPU time usage of the leader region since the last heartbeat, which is calculated by cpu_time_delta/heartbeat_reported_interval.
uint64 cpu_usage = 17;
public final Pdpb.RegionHeartbeatRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.RegionHeartbeatRequest.Builder>
public final Pdpb.RegionHeartbeatRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.RegionHeartbeatRequest.Builder>
Copyright © 2024 PingCAP. All rights reserved.