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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public long getId()
uint64 id = 1;
getId
in interface Metapb.StoreOrBuilder
public String getAddress()
Address to handle client requests (kv, cop, etc.)
string address = 2;
getAddress
in interface Metapb.StoreOrBuilder
public com.google.protobuf.ByteString getAddressBytes()
Address to handle client requests (kv, cop, etc.)
string address = 2;
getAddressBytes
in interface Metapb.StoreOrBuilder
public int getStateValue()
.metapb.StoreState state = 3;
getStateValue
in interface Metapb.StoreOrBuilder
public Metapb.StoreState getState()
.metapb.StoreState state = 3;
getState
in interface Metapb.StoreOrBuilder
public List<Metapb.StoreLabel> getLabelsList()
repeated .metapb.StoreLabel labels = 4;
getLabelsList
in interface Metapb.StoreOrBuilder
public List<? extends Metapb.StoreLabelOrBuilder> getLabelsOrBuilderList()
repeated .metapb.StoreLabel labels = 4;
getLabelsOrBuilderList
in interface Metapb.StoreOrBuilder
public int getLabelsCount()
repeated .metapb.StoreLabel labels = 4;
getLabelsCount
in interface Metapb.StoreOrBuilder
public Metapb.StoreLabel getLabels(int index)
repeated .metapb.StoreLabel labels = 4;
getLabels
in interface Metapb.StoreOrBuilder
public Metapb.StoreLabelOrBuilder getLabelsOrBuilder(int index)
repeated .metapb.StoreLabel labels = 4;
getLabelsOrBuilder
in interface Metapb.StoreOrBuilder
public String getVersion()
string version = 5;
getVersion
in interface Metapb.StoreOrBuilder
public com.google.protobuf.ByteString getVersionBytes()
string version = 5;
getVersionBytes
in interface Metapb.StoreOrBuilder
public 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.StoreOrBuilder
public 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.StoreOrBuilder
public String getStatusAddress()
Status address provides the HTTP service for external components
string status_address = 7;
getStatusAddress
in interface Metapb.StoreOrBuilder
public com.google.protobuf.ByteString getStatusAddressBytes()
Status address provides the HTTP service for external components
string status_address = 7;
getStatusAddressBytes
in interface Metapb.StoreOrBuilder
public String getGitHash()
string git_hash = 8;
getGitHash
in interface Metapb.StoreOrBuilder
public com.google.protobuf.ByteString getGitHashBytes()
string git_hash = 8;
getGitHashBytes
in interface Metapb.StoreOrBuilder
public long getStartTimestamp()
The start timestamp of the current store
int64 start_timestamp = 9;
getStartTimestamp
in interface Metapb.StoreOrBuilder
public String getDeployPath()
string deploy_path = 10;
getDeployPath
in interface Metapb.StoreOrBuilder
public com.google.protobuf.ByteString getDeployPathBytes()
string deploy_path = 10;
getDeployPathBytes
in interface Metapb.StoreOrBuilder
public long getLastHeartbeat()
The last heartbeat timestamp of the store.
int64 last_heartbeat = 11;
getLastHeartbeat
in interface Metapb.StoreOrBuilder
public boolean getPhysicallyDestroyed()
If the store is physically destroyed, which means it can never up again.
bool physically_destroyed = 12;
getPhysicallyDestroyed
in interface Metapb.StoreOrBuilder
public int getNodeStateValue()
NodeState is used to replace StoreState which will be deprecated in the future.
.metapb.NodeState node_state = 13;
getNodeStateValue
in interface Metapb.StoreOrBuilder
public 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.StoreOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Metapb.Store parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metapb.Store parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metapb.Store parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metapb.Store parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metapb.Store parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metapb.Store parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metapb.Store parseFrom(InputStream input) throws IOException
IOException
public static Metapb.Store parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Metapb.Store parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Metapb.Store parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Metapb.Store parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Metapb.Store parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Metapb.Store.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Metapb.Store.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Metapb.Store getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.