public static final class Pdpb.RegionHeartbeatRequest extends com.google.protobuf.GeneratedMessageV3 implements Pdpb.RegionHeartbeatRequestOrBuilder
pdpb.RegionHeartbeatRequest| 限定符和类型 | 类和说明 |
|---|---|
static class |
Pdpb.RegionHeartbeatRequest.Builder
Protobuf type
pdpb.RegionHeartbeatRequest |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 限定符和类型 | 字段和说明 |
|---|---|
static int |
APPROXIMATE_KEYS_FIELD_NUMBER |
static int |
APPROXIMATE_SIZE_FIELD_NUMBER |
static int |
BYTES_READ_FIELD_NUMBER |
static int |
BYTES_WRITTEN_FIELD_NUMBER |
static int |
CPU_USAGE_FIELD_NUMBER |
static int |
DOWN_PEERS_FIELD_NUMBER |
static int |
HEADER_FIELD_NUMBER |
static int |
INTERVAL_FIELD_NUMBER |
static int |
KEYS_READ_FIELD_NUMBER |
static int |
KEYS_WRITTEN_FIELD_NUMBER |
static int |
LEADER_FIELD_NUMBER |
static int |
PENDING_PEERS_FIELD_NUMBER |
static int |
QUERY_STATS_FIELD_NUMBER |
static int |
REGION_FIELD_NUMBER |
static int |
REPLICATION_STATUS_FIELD_NUMBER |
static int |
TERM_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
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.
|
static Pdpb.RegionHeartbeatRequest |
getDefaultInstance() |
Pdpb.RegionHeartbeatRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Pdpb.PeerStats |
getDownPeers(int index)
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.RequestHeaderOrBuilder |
getHeaderOrBuilder()
.pdpb.RequestHeader header = 1; |
Pdpb.TimeInterval |
getInterval()
Actually reported time interval
.pdpb.TimeInterval interval = 12; |
Pdpb.TimeIntervalOrBuilder |
getIntervalOrBuilder()
Actually reported time interval
.pdpb.TimeInterval interval = 12; |
long |
getKeysRead()
uint64 keys_read = 9; |
long |
getKeysWritten()
Keys read/written during this period.
|
Metapb.Peer |
getLeader()
Leader Peer sending the heartbeat.
|
Metapb.PeerOrBuilder |
getLeaderOrBuilder()
Leader Peer sending the heartbeat.
|
com.google.protobuf.Parser<Pdpb.RegionHeartbeatRequest> |
getParserForType() |
Metapb.Peer |
getPendingPeers(int index)
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 query_stats = 16; |
Pdpb.QueryStatsOrBuilder |
getQueryStatsOrBuilder()
QueryStats reported write query stats, and there are read query stats in store heartbeat
.pdpb.QueryStats query_stats = 16; |
Metapb.Region |
getRegion()
.metapb.Region region = 2; |
Metapb.RegionOrBuilder |
getRegionOrBuilder()
.metapb.Region region = 2; |
ReplicationModepb.RegionReplicationStatus |
getReplicationStatus()
.replication_modepb.RegionReplicationStatus replication_status = 15; |
ReplicationModepb.RegionReplicationStatusOrBuilder |
getReplicationStatusOrBuilder()
.replication_modepb.RegionReplicationStatus replication_status = 15; |
int |
getSerializedSize() |
long |
getTerm()
Term is the term of raft group.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasHeader()
.pdpb.RequestHeader header = 1; |
boolean |
hasInterval()
Actually reported time interval
.pdpb.TimeInterval interval = 12; |
boolean |
hasLeader()
Leader Peer sending the heartbeat.
|
boolean |
hasQueryStats()
QueryStats reported write query stats, and there are read query stats in store heartbeat
.pdpb.QueryStats query_stats = 16; |
boolean |
hasRegion()
.metapb.Region region = 2; |
boolean |
hasReplicationStatus()
.replication_modepb.RegionReplicationStatus replication_status = 15; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Pdpb.RegionHeartbeatRequest.Builder |
newBuilder() |
static Pdpb.RegionHeartbeatRequest.Builder |
newBuilder(Pdpb.RegionHeartbeatRequest prototype) |
Pdpb.RegionHeartbeatRequest.Builder |
newBuilderForType() |
protected Pdpb.RegionHeartbeatRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Pdpb.RegionHeartbeatRequest |
parseDelimitedFrom(InputStream input) |
static Pdpb.RegionHeartbeatRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Pdpb.RegionHeartbeatRequest |
parseFrom(byte[] data) |
static Pdpb.RegionHeartbeatRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Pdpb.RegionHeartbeatRequest |
parseFrom(ByteBuffer data) |
static Pdpb.RegionHeartbeatRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Pdpb.RegionHeartbeatRequest |
parseFrom(com.google.protobuf.ByteString data) |
static Pdpb.RegionHeartbeatRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Pdpb.RegionHeartbeatRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Pdpb.RegionHeartbeatRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Pdpb.RegionHeartbeatRequest |
parseFrom(InputStream input) |
static Pdpb.RegionHeartbeatRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Pdpb.RegionHeartbeatRequest> |
parser() |
Pdpb.RegionHeartbeatRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int HEADER_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
public static final int LEADER_FIELD_NUMBER
public static final int DOWN_PEERS_FIELD_NUMBER
public static final int PENDING_PEERS_FIELD_NUMBER
public static final int BYTES_WRITTEN_FIELD_NUMBER
public static final int BYTES_READ_FIELD_NUMBER
public static final int KEYS_WRITTEN_FIELD_NUMBER
public static final int KEYS_READ_FIELD_NUMBER
public static final int APPROXIMATE_SIZE_FIELD_NUMBER
public static final int INTERVAL_FIELD_NUMBER
public static final int APPROXIMATE_KEYS_FIELD_NUMBER
public static final int TERM_FIELD_NUMBER
public static final int REPLICATION_STATUS_FIELD_NUMBER
public static final int QUERY_STATS_FIELD_NUMBER
public static final int CPU_USAGE_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public boolean hasHeader()
.pdpb.RequestHeader header = 1;public Pdpb.RequestHeader getHeader()
.pdpb.RequestHeader header = 1;public Pdpb.RequestHeaderOrBuilder getHeaderOrBuilder()
.pdpb.RequestHeader header = 1;public boolean hasRegion()
.metapb.Region region = 2;public Metapb.Region getRegion()
.metapb.Region region = 2;public Metapb.RegionOrBuilder getRegionOrBuilder()
.metapb.Region region = 2;public boolean hasLeader()
Leader Peer sending the heartbeat.
.metapb.Peer leader = 3;public Metapb.Peer getLeader()
Leader Peer sending the heartbeat.
.metapb.Peer leader = 3;public Metapb.PeerOrBuilder getLeaderOrBuilder()
Leader Peer sending the heartbeat.
.metapb.Peer leader = 3;public List<Pdpb.PeerStats> getDownPeersList()
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;public List<? extends Pdpb.PeerStatsOrBuilder> getDownPeersOrBuilderList()
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;public int getDownPeersCount()
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;public Pdpb.PeerStats getDownPeers(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;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;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;public int getPendingPeersCount()
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 5;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;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;public long getBytesWritten()
Bytes read/written during this period.
uint64 bytes_written = 6;public long getBytesRead()
uint64 bytes_read = 7;public long getKeysWritten()
Keys read/written during this period.
uint64 keys_written = 8;public long getKeysRead()
uint64 keys_read = 9;public long getApproximateSize()
Approximate region size.
uint64 approximate_size = 10;public boolean hasInterval()
Actually reported time interval
.pdpb.TimeInterval interval = 12;public Pdpb.TimeInterval getInterval()
Actually reported time interval
.pdpb.TimeInterval interval = 12;public Pdpb.TimeIntervalOrBuilder getIntervalOrBuilder()
Actually reported time interval
.pdpb.TimeInterval interval = 12;public long getApproximateKeys()
Approximate number of keys.
uint64 approximate_keys = 13;public long getTerm()
Term is the term of raft group.
uint64 term = 14;getTerm 在接口中 Pdpb.RegionHeartbeatRequestOrBuilderpublic boolean hasReplicationStatus()
.replication_modepb.RegionReplicationStatus replication_status = 15;public ReplicationModepb.RegionReplicationStatus getReplicationStatus()
.replication_modepb.RegionReplicationStatus replication_status = 15;public ReplicationModepb.RegionReplicationStatusOrBuilder getReplicationStatusOrBuilder()
.replication_modepb.RegionReplicationStatus replication_status = 15;public boolean hasQueryStats()
QueryStats reported write query stats, and there are read query stats in store heartbeat
.pdpb.QueryStats query_stats = 16;public Pdpb.QueryStats getQueryStats()
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;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;public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static Pdpb.RegionHeartbeatRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Pdpb.RegionHeartbeatRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Pdpb.RegionHeartbeatRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Pdpb.RegionHeartbeatRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Pdpb.RegionHeartbeatRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Pdpb.RegionHeartbeatRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Pdpb.RegionHeartbeatRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static Pdpb.RegionHeartbeatRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Pdpb.RegionHeartbeatRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Pdpb.RegionHeartbeatRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Pdpb.RegionHeartbeatRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Pdpb.RegionHeartbeatRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Pdpb.RegionHeartbeatRequest.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Pdpb.RegionHeartbeatRequest.Builder newBuilder()
public static Pdpb.RegionHeartbeatRequest.Builder newBuilder(Pdpb.RegionHeartbeatRequest prototype)
public Pdpb.RegionHeartbeatRequest.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Pdpb.RegionHeartbeatRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static Pdpb.RegionHeartbeatRequest getDefaultInstance()
public static com.google.protobuf.Parser<Pdpb.RegionHeartbeatRequest> parser()
public com.google.protobuf.Parser<Pdpb.RegionHeartbeatRequest> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Pdpb.RegionHeartbeatRequest getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2023 PingCAP. All rights reserved.