public static interface Metapb.StoreOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress()
Address to handle client requests (kv, cop, etc.)
|
com.google.protobuf.ByteString |
getAddressBytes()
Address to handle client requests (kv, cop, etc.)
|
String |
getDeployPath()
string deploy_path = 10; |
com.google.protobuf.ByteString |
getDeployPathBytes()
string deploy_path = 10; |
String |
getGitHash()
string git_hash = 8; |
com.google.protobuf.ByteString |
getGitHashBytes()
string git_hash = 8; |
long |
getId()
uint64 id = 1; |
Metapb.StoreLabel |
getLabels(int index)
repeated .metapb.StoreLabel labels = 4; |
int |
getLabelsCount()
repeated .metapb.StoreLabel labels = 4; |
List<Metapb.StoreLabel> |
getLabelsList()
repeated .metapb.StoreLabel labels = 4; |
Metapb.StoreLabelOrBuilder |
getLabelsOrBuilder(int index)
repeated .metapb.StoreLabel labels = 4; |
List<? extends Metapb.StoreLabelOrBuilder> |
getLabelsOrBuilderList()
repeated .metapb.StoreLabel labels = 4; |
long |
getLastHeartbeat()
The last heartbeat timestamp of the store.
|
Metapb.NodeState |
getNodeState()
NodeState is used to replace StoreState which will be deprecated in the future.
|
int |
getNodeStateValue()
NodeState is used to replace StoreState which will be deprecated in the future.
|
String |
getPeerAddress()
Address to handle peer requests (raft messages from other store).
|
com.google.protobuf.ByteString |
getPeerAddressBytes()
Address to handle peer requests (raft messages from other store).
|
boolean |
getPhysicallyDestroyed()
If the store is physically destroyed, which means it can never up again.
|
long |
getStartTimestamp()
The start timestamp of the current store
|
Metapb.StoreState |
getState()
.metapb.StoreState state = 3; |
int |
getStateValue()
.metapb.StoreState state = 3; |
String |
getStatusAddress()
Status address provides the HTTP service for external components
|
com.google.protobuf.ByteString |
getStatusAddressBytes()
Status address provides the HTTP service for external components
|
String |
getVersion()
string version = 5; |
com.google.protobuf.ByteString |
getVersionBytes()
string version = 5; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoflong getId()
uint64 id = 1;String getAddress()
Address to handle client requests (kv, cop, etc.)
string address = 2;com.google.protobuf.ByteString getAddressBytes()
Address to handle client requests (kv, cop, etc.)
string address = 2;int getStateValue()
.metapb.StoreState state = 3;Metapb.StoreState getState()
.metapb.StoreState state = 3;List<Metapb.StoreLabel> getLabelsList()
repeated .metapb.StoreLabel labels = 4;Metapb.StoreLabel getLabels(int index)
repeated .metapb.StoreLabel labels = 4;int getLabelsCount()
repeated .metapb.StoreLabel labels = 4;List<? extends Metapb.StoreLabelOrBuilder> getLabelsOrBuilderList()
repeated .metapb.StoreLabel labels = 4;Metapb.StoreLabelOrBuilder getLabelsOrBuilder(int index)
repeated .metapb.StoreLabel labels = 4;String getVersion()
string version = 5;com.google.protobuf.ByteString getVersionBytes()
string version = 5;String getPeerAddress()
Address to handle peer requests (raft messages from other store). Empty means same as address.
string peer_address = 6;com.google.protobuf.ByteString getPeerAddressBytes()
Address to handle peer requests (raft messages from other store). Empty means same as address.
string peer_address = 6;String getStatusAddress()
Status address provides the HTTP service for external components
string status_address = 7;com.google.protobuf.ByteString getStatusAddressBytes()
Status address provides the HTTP service for external components
string status_address = 7;String getGitHash()
string git_hash = 8;com.google.protobuf.ByteString getGitHashBytes()
string git_hash = 8;long getStartTimestamp()
The start timestamp of the current store
int64 start_timestamp = 9;String getDeployPath()
string deploy_path = 10;com.google.protobuf.ByteString getDeployPathBytes()
string deploy_path = 10;long getLastHeartbeat()
The last heartbeat timestamp of the store.
int64 last_heartbeat = 11;boolean getPhysicallyDestroyed()
If the store is physically destroyed, which means it can never up again.
bool physically_destroyed = 12;int getNodeStateValue()
NodeState is used to replace StoreState which will be deprecated in the future.
.metapb.NodeState node_state = 13;Metapb.NodeState getNodeState()
NodeState is used to replace StoreState which will be deprecated in the future.
.metapb.NodeState node_state = 13;Copyright © 2025 PingCAP. All rights reserved.