public static final class Metapb.Store extends com.google.protobuf.GeneratedMessageV3 implements Metapb.StoreOrBuilder
metapb.Store| Modifier and Type | Class and Description |
|---|---|
static class |
Metapb.Store.Builder
Protobuf type
metapb.Store |
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| Modifier and Type | Field and Description |
|---|---|
static int |
ADDRESS_FIELD_NUMBER |
static int |
DEPLOY_PATH_FIELD_NUMBER |
static int |
GIT_HASH_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
LAST_HEARTBEAT_FIELD_NUMBER |
static int |
NODE_STATE_FIELD_NUMBER |
static int |
PEER_ADDRESS_FIELD_NUMBER |
static int |
PHYSICALLY_DESTROYED_FIELD_NUMBER |
static int |
START_TIMESTAMP_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
STATUS_ADDRESS_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAddress()
Address to handle client requests (kv, cop, etc.)
|
com.google.protobuf.ByteString |
getAddressBytes()
Address to handle client requests (kv, cop, etc.)
|
static Metapb.Store |
getDefaultInstance() |
Metapb.Store |
getDefaultInstanceForType() |
String |
getDeployPath()
string deploy_path = 10; |
com.google.protobuf.ByteString |
getDeployPathBytes()
string deploy_path = 10; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<Metapb.Store> |
getParserForType() |
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.
|
int |
getSerializedSize() |
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
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getVersion()
string version = 5; |
com.google.protobuf.ByteString |
getVersionBytes()
string version = 5; |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Metapb.Store.Builder |
newBuilder() |
static Metapb.Store.Builder |
newBuilder(Metapb.Store prototype) |
Metapb.Store.Builder |
newBuilderForType() |
protected Metapb.Store.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Metapb.Store |
parseDelimitedFrom(InputStream input) |
static Metapb.Store |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Metapb.Store |
parseFrom(byte[] data) |
static Metapb.Store |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Metapb.Store |
parseFrom(ByteBuffer data) |
static Metapb.Store |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Metapb.Store |
parseFrom(com.google.protobuf.ByteString data) |
static Metapb.Store |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Metapb.Store |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Metapb.Store |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Metapb.Store |
parseFrom(InputStream input) |
static Metapb.Store |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Metapb.Store> |
parser() |
Metapb.Store.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, 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, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ID_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public static final int PEER_ADDRESS_FIELD_NUMBER
public static final int STATUS_ADDRESS_FIELD_NUMBER
public static final int GIT_HASH_FIELD_NUMBER
public static final int START_TIMESTAMP_FIELD_NUMBER
public static final int DEPLOY_PATH_FIELD_NUMBER
public static final int LAST_HEARTBEAT_FIELD_NUMBER
public static final int PHYSICALLY_DESTROYED_FIELD_NUMBER
public static final int NODE_STATE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public long getId()
uint64 id = 1;getId in interface Metapb.StoreOrBuilderpublic String getAddress()
Address to handle client requests (kv, cop, etc.)
string address = 2;getAddress in interface Metapb.StoreOrBuilderpublic com.google.protobuf.ByteString getAddressBytes()
Address to handle client requests (kv, cop, etc.)
string address = 2;getAddressBytes in interface Metapb.StoreOrBuilderpublic int getStateValue()
.metapb.StoreState state = 3;getStateValue in interface Metapb.StoreOrBuilderpublic Metapb.StoreState getState()
.metapb.StoreState state = 3;getState in interface Metapb.StoreOrBuilderpublic List<Metapb.StoreLabel> getLabelsList()
repeated .metapb.StoreLabel labels = 4;getLabelsList in interface Metapb.StoreOrBuilderpublic List<? extends Metapb.StoreLabelOrBuilder> getLabelsOrBuilderList()
repeated .metapb.StoreLabel labels = 4;getLabelsOrBuilderList in interface Metapb.StoreOrBuilderpublic int getLabelsCount()
repeated .metapb.StoreLabel labels = 4;getLabelsCount in interface Metapb.StoreOrBuilderpublic Metapb.StoreLabel getLabels(int index)
repeated .metapb.StoreLabel labels = 4;getLabels in interface Metapb.StoreOrBuilderpublic Metapb.StoreLabelOrBuilder getLabelsOrBuilder(int index)
repeated .metapb.StoreLabel labels = 4;getLabelsOrBuilder in interface Metapb.StoreOrBuilderpublic String getVersion()
string version = 5;getVersion in interface Metapb.StoreOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
string version = 5;getVersionBytes in interface Metapb.StoreOrBuilderpublic String getPeerAddress()
Address to handle peer requests (raft messages from other store). Empty means same as address.
string peer_address = 6;getPeerAddress in interface Metapb.StoreOrBuilderpublic com.google.protobuf.ByteString getPeerAddressBytes()
Address to handle peer requests (raft messages from other store). Empty means same as address.
string peer_address = 6;getPeerAddressBytes in interface Metapb.StoreOrBuilderpublic String getStatusAddress()
Status address provides the HTTP service for external components
string status_address = 7;getStatusAddress in interface Metapb.StoreOrBuilderpublic com.google.protobuf.ByteString getStatusAddressBytes()
Status address provides the HTTP service for external components
string status_address = 7;getStatusAddressBytes in interface Metapb.StoreOrBuilderpublic String getGitHash()
string git_hash = 8;getGitHash in interface Metapb.StoreOrBuilderpublic com.google.protobuf.ByteString getGitHashBytes()
string git_hash = 8;getGitHashBytes in interface Metapb.StoreOrBuilderpublic long getStartTimestamp()
The start timestamp of the current store
int64 start_timestamp = 9;getStartTimestamp in interface Metapb.StoreOrBuilderpublic String getDeployPath()
string deploy_path = 10;getDeployPath in interface Metapb.StoreOrBuilderpublic com.google.protobuf.ByteString getDeployPathBytes()
string deploy_path = 10;getDeployPathBytes in interface Metapb.StoreOrBuilderpublic long getLastHeartbeat()
The last heartbeat timestamp of the store.
int64 last_heartbeat = 11;getLastHeartbeat in interface Metapb.StoreOrBuilderpublic boolean getPhysicallyDestroyed()
If the store is physically destroyed, which means it can never up again.
bool physically_destroyed = 12;getPhysicallyDestroyed in interface Metapb.StoreOrBuilderpublic int getNodeStateValue()
NodeState is used to replace StoreState which will be deprecated in the future.
.metapb.NodeState node_state = 13;getNodeStateValue in interface Metapb.StoreOrBuilderpublic Metapb.NodeState getNodeState()
NodeState is used to replace StoreState which will be deprecated in the future.
.metapb.NodeState node_state = 13;getNodeState in interface Metapb.StoreOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Metapb.Store parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Metapb.Store parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Metapb.Store parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Metapb.Store parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Metapb.Store parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Metapb.Store parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Metapb.Store parseFrom(InputStream input) throws IOException
IOExceptionpublic static Metapb.Store parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Metapb.Store parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Metapb.Store parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Metapb.Store parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Metapb.Store parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Metapb.Store.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Metapb.Store.Builder newBuilder()
public static Metapb.Store.Builder newBuilder(Metapb.Store prototype)
public Metapb.Store.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Metapb.Store.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Metapb.Store getDefaultInstance()
public static com.google.protobuf.Parser<Metapb.Store> parser()
public com.google.protobuf.Parser<Metapb.Store> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Metapb.Store getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 PingCAP. All rights reserved.