public static final class Metapb.Store extends com.google.protobuf.GeneratedMessageV3 implements Metapb.StoreOrBuilder
metapb.Store| 限定符和类型 | 类和说明 |
|---|---|
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| 限定符和类型 | 字段和说明 |
|---|---|
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 |
| 限定符和类型 | 方法和说明 |
|---|---|
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
int64 start_timestamp = 9; |
Metapb.StoreState |
getState()
.metapb.StoreState state = 3; |
int |
getStateValue()
.metapb.StoreState state = 3; |
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; |
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) |
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, 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 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
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 long getId()
uint64 id = 1;getId 在接口中 Metapb.StoreOrBuilderpublic String getAddress()
Address to handle client requests (kv, cop, etc.)
string address = 2;getAddress 在接口中 Metapb.StoreOrBuilderpublic com.google.protobuf.ByteString getAddressBytes()
Address to handle client requests (kv, cop, etc.)
string address = 2;getAddressBytes 在接口中 Metapb.StoreOrBuilderpublic int getStateValue()
.metapb.StoreState state = 3;getStateValue 在接口中 Metapb.StoreOrBuilderpublic Metapb.StoreState getState()
.metapb.StoreState state = 3;getState 在接口中 Metapb.StoreOrBuilderpublic List<Metapb.StoreLabel> getLabelsList()
repeated .metapb.StoreLabel labels = 4;getLabelsList 在接口中 Metapb.StoreOrBuilderpublic List<? extends Metapb.StoreLabelOrBuilder> getLabelsOrBuilderList()
repeated .metapb.StoreLabel labels = 4;getLabelsOrBuilderList 在接口中 Metapb.StoreOrBuilderpublic int getLabelsCount()
repeated .metapb.StoreLabel labels = 4;getLabelsCount 在接口中 Metapb.StoreOrBuilderpublic Metapb.StoreLabel getLabels(int index)
repeated .metapb.StoreLabel labels = 4;getLabels 在接口中 Metapb.StoreOrBuilderpublic Metapb.StoreLabelOrBuilder getLabelsOrBuilder(int index)
repeated .metapb.StoreLabel labels = 4;getLabelsOrBuilder 在接口中 Metapb.StoreOrBuilderpublic String getVersion()
string version = 5;getVersion 在接口中 Metapb.StoreOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
string version = 5;getVersionBytes 在接口中 Metapb.StoreOrBuilderpublic String getPeerAddress()
Address to handle peer requests (raft messages from other store). Empty means same as address.
string peer_address = 6;getPeerAddress 在接口中 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 在接口中 Metapb.StoreOrBuilderpublic String getStatusAddress()
Status address provides the HTTP service for external components
string status_address = 7;getStatusAddress 在接口中 Metapb.StoreOrBuilderpublic com.google.protobuf.ByteString getStatusAddressBytes()
Status address provides the HTTP service for external components
string status_address = 7;getStatusAddressBytes 在接口中 Metapb.StoreOrBuilderpublic String getGitHash()
string git_hash = 8;getGitHash 在接口中 Metapb.StoreOrBuilderpublic com.google.protobuf.ByteString getGitHashBytes()
string git_hash = 8;getGitHashBytes 在接口中 Metapb.StoreOrBuilderpublic long getStartTimestamp()
The start timestamp of the current store
int64 start_timestamp = 9;getStartTimestamp 在接口中 Metapb.StoreOrBuilderpublic String getDeployPath()
string deploy_path = 10;getDeployPath 在接口中 Metapb.StoreOrBuilderpublic com.google.protobuf.ByteString getDeployPathBytes()
string deploy_path = 10;getDeployPathBytes 在接口中 Metapb.StoreOrBuilderpublic long getLastHeartbeat()
The last heartbeat timestamp of the store.
int64 last_heartbeat = 11;getLastHeartbeat 在接口中 Metapb.StoreOrBuilderpublic boolean getPhysicallyDestroyed()
If the store is physically destroyed, which means it can never up again.
bool physically_destroyed = 12;getPhysicallyDestroyed 在接口中 Metapb.StoreOrBuilderpublic int getNodeStateValue()
NodeState is used to replace StoreState which will be deprecated in the future.
.metapb.NodeState node_state = 13;getNodeStateValue 在接口中 Metapb.StoreOrBuilderpublic Metapb.NodeState getNodeState()
NodeState is used to replace StoreState which will be deprecated in the future.
.metapb.NodeState node_state = 13;getNodeState 在接口中 Metapb.StoreOrBuilderpublic 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 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 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Metapb.Store.Builder newBuilder()
public static Metapb.Store.Builder newBuilder(Metapb.Store prototype)
public Metapb.Store.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Metapb.Store.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 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 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Metapb.Store getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2023 PingCAP. All rights reserved.