public final class StatusResponse extends com.google.protobuf.GeneratedMessageV3 implements StatusResponseOrBuilder
etcdserverpb.StatusResponse| Modifier and Type | Class and Description |
|---|---|
static class |
StatusResponse.Builder
Protobuf type
etcdserverpb.StatusResponse |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DBSIZE_FIELD_NUMBER |
static int |
DBSIZEINUSE_FIELD_NUMBER |
static int |
ERRORS_FIELD_NUMBER |
static int |
HEADER_FIELD_NUMBER |
static int |
LEADER_FIELD_NUMBER |
static int |
RAFTAPPLIEDINDEX_FIELD_NUMBER |
static int |
RAFTINDEX_FIELD_NUMBER |
static int |
RAFTTERM_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getDbSize()
dbSize is the size of the backend database physically allocated, in bytes, of the responding member.
|
long |
getDbSizeInUse()
dbSizeInUse is the size of the backend database logically in use, in bytes, of the responding member.
|
static StatusResponse |
getDefaultInstance() |
StatusResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getErrors(int index)
errors contains alarm/health information and status.
|
com.google.protobuf.ByteString |
getErrorsBytes(int index)
errors contains alarm/health information and status.
|
int |
getErrorsCount()
errors contains alarm/health information and status.
|
com.google.protobuf.ProtocolStringList |
getErrorsList()
errors contains alarm/health information and status.
|
ResponseHeader |
getHeader()
.etcdserverpb.ResponseHeader header = 1; |
ResponseHeaderOrBuilder |
getHeaderOrBuilder()
.etcdserverpb.ResponseHeader header = 1; |
long |
getLeader()
leader is the member ID which the responding member believes is the current leader.
|
com.google.protobuf.Parser<StatusResponse> |
getParserForType() |
long |
getRaftAppliedIndex()
raftAppliedIndex is the current raft applied index of the responding member.
|
long |
getRaftIndex()
raftIndex is the current raft committed index of the responding member.
|
long |
getRaftTerm()
raftTerm is the current raft term of the responding member.
|
int |
getSerializedSize() |
String |
getVersion()
version is the cluster protocol version used by the responding member.
|
com.google.protobuf.ByteString |
getVersionBytes()
version is the cluster protocol version used by the responding member.
|
int |
hashCode() |
boolean |
hasHeader()
.etcdserverpb.ResponseHeader header = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static StatusResponse.Builder |
newBuilder() |
static StatusResponse.Builder |
newBuilder(StatusResponse prototype) |
StatusResponse.Builder |
newBuilderForType() |
protected StatusResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static StatusResponse |
parseDelimitedFrom(InputStream input) |
static StatusResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StatusResponse |
parseFrom(byte[] data) |
static StatusResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StatusResponse |
parseFrom(ByteBuffer data) |
static StatusResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StatusResponse |
parseFrom(com.google.protobuf.ByteString data) |
static StatusResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StatusResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static StatusResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StatusResponse |
parseFrom(InputStream input) |
static StatusResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<StatusResponse> |
parser() |
StatusResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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 HEADER_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public static final int DBSIZE_FIELD_NUMBER
public static final int LEADER_FIELD_NUMBER
public static final int RAFTINDEX_FIELD_NUMBER
public static final int RAFTTERM_FIELD_NUMBER
public static final int RAFTAPPLIEDINDEX_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER
public static final int DBSIZEINUSE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 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 boolean hasHeader()
.etcdserverpb.ResponseHeader header = 1;hasHeader in interface StatusResponseOrBuilderpublic ResponseHeader getHeader()
.etcdserverpb.ResponseHeader header = 1;getHeader in interface StatusResponseOrBuilderpublic ResponseHeaderOrBuilder getHeaderOrBuilder()
.etcdserverpb.ResponseHeader header = 1;getHeaderOrBuilder in interface StatusResponseOrBuilderpublic String getVersion()
version is the cluster protocol version used by the responding member.
string version = 2;getVersion in interface StatusResponseOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
version is the cluster protocol version used by the responding member.
string version = 2;getVersionBytes in interface StatusResponseOrBuilderpublic long getDbSize()
dbSize is the size of the backend database physically allocated, in bytes, of the responding member.
int64 dbSize = 3;getDbSize in interface StatusResponseOrBuilderpublic long getLeader()
leader is the member ID which the responding member believes is the current leader.
uint64 leader = 4;getLeader in interface StatusResponseOrBuilderpublic long getRaftIndex()
raftIndex is the current raft committed index of the responding member.
uint64 raftIndex = 5;getRaftIndex in interface StatusResponseOrBuilderpublic long getRaftTerm()
raftTerm is the current raft term of the responding member.
uint64 raftTerm = 6;getRaftTerm in interface StatusResponseOrBuilderpublic long getRaftAppliedIndex()
raftAppliedIndex is the current raft applied index of the responding member.
uint64 raftAppliedIndex = 7;getRaftAppliedIndex in interface StatusResponseOrBuilderpublic com.google.protobuf.ProtocolStringList getErrorsList()
errors contains alarm/health information and status.
repeated string errors = 8;getErrorsList in interface StatusResponseOrBuilderpublic int getErrorsCount()
errors contains alarm/health information and status.
repeated string errors = 8;getErrorsCount in interface StatusResponseOrBuilderpublic String getErrors(int index)
errors contains alarm/health information and status.
repeated string errors = 8;getErrors in interface StatusResponseOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getErrorsBytes(int index)
errors contains alarm/health information and status.
repeated string errors = 8;getErrorsBytes in interface StatusResponseOrBuilderindex - The index of the value to return.public long getDbSizeInUse()
dbSizeInUse is the size of the backend database logically in use, in bytes, of the responding member.
int64 dbSizeInUse = 9;getDbSizeInUse in interface StatusResponseOrBuilderpublic 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 StatusResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StatusResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StatusResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StatusResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StatusResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StatusResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StatusResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static StatusResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static StatusResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static StatusResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static StatusResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static StatusResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic StatusResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static StatusResponse.Builder newBuilder()
public static StatusResponse.Builder newBuilder(StatusResponse prototype)
public StatusResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected StatusResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static StatusResponse getDefaultInstance()
public static com.google.protobuf.Parser<StatusResponse> parser()
public com.google.protobuf.Parser<StatusResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public StatusResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.