public static final class StatusResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StatusResponse.Builder> implements StatusResponseOrBuilder
etcdserverpb.StatusResponse| Modifier and Type | Method and Description |
|---|---|
StatusResponse.Builder |
addAllErrors(Iterable<String> values)
errors contains alarm/health information and status.
|
StatusResponse.Builder |
addErrors(String value)
errors contains alarm/health information and status.
|
StatusResponse.Builder |
addErrorsBytes(com.google.protobuf.ByteString value)
errors contains alarm/health information and status.
|
StatusResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StatusResponse |
build() |
StatusResponse |
buildPartial() |
StatusResponse.Builder |
clear() |
StatusResponse.Builder |
clearDbSize()
dbSize is the size of the backend database physically allocated, in bytes, of the responding member.
|
StatusResponse.Builder |
clearDbSizeInUse()
dbSizeInUse is the size of the backend database logically in use, in bytes, of the responding member.
|
StatusResponse.Builder |
clearErrors()
errors contains alarm/health information and status.
|
StatusResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StatusResponse.Builder |
clearHeader()
.etcdserverpb.ResponseHeader header = 1; |
StatusResponse.Builder |
clearLeader()
leader is the member ID which the responding member believes is the current leader.
|
StatusResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StatusResponse.Builder |
clearRaftAppliedIndex()
raftAppliedIndex is the current raft applied index of the responding member.
|
StatusResponse.Builder |
clearRaftIndex()
raftIndex is the current raft committed index of the responding member.
|
StatusResponse.Builder |
clearRaftTerm()
raftTerm is the current raft term of the responding member.
|
StatusResponse.Builder |
clearVersion()
version is the cluster protocol version used by the responding member.
|
StatusResponse.Builder |
clone() |
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.
|
StatusResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
ResponseHeader.Builder |
getHeaderBuilder()
.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.
|
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.
|
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.
|
boolean |
hasHeader()
.etcdserverpb.ResponseHeader header = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
StatusResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StatusResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
StatusResponse.Builder |
mergeFrom(StatusResponse other) |
StatusResponse.Builder |
mergeHeader(ResponseHeader value)
.etcdserverpb.ResponseHeader header = 1; |
StatusResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StatusResponse.Builder |
setDbSize(long value)
dbSize is the size of the backend database physically allocated, in bytes, of the responding member.
|
StatusResponse.Builder |
setDbSizeInUse(long value)
dbSizeInUse is the size of the backend database logically in use, in bytes, of the responding member.
|
StatusResponse.Builder |
setErrors(int index,
String value)
errors contains alarm/health information and status.
|
StatusResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StatusResponse.Builder |
setHeader(ResponseHeader.Builder builderForValue)
.etcdserverpb.ResponseHeader header = 1; |
StatusResponse.Builder |
setHeader(ResponseHeader value)
.etcdserverpb.ResponseHeader header = 1; |
StatusResponse.Builder |
setLeader(long value)
leader is the member ID which the responding member believes is the current leader.
|
StatusResponse.Builder |
setRaftAppliedIndex(long value)
raftAppliedIndex is the current raft applied index of the responding member.
|
StatusResponse.Builder |
setRaftIndex(long value)
raftIndex is the current raft committed index of the responding member.
|
StatusResponse.Builder |
setRaftTerm(long value)
raftTerm is the current raft term of the responding member.
|
StatusResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StatusResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StatusResponse.Builder |
setVersion(String value)
version is the cluster protocol version used by the responding member.
|
StatusResponse.Builder |
setVersionBytes(com.google.protobuf.ByteString value)
version is the cluster protocol version used by the responding member.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StatusResponse.Builder>public StatusResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<StatusResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StatusResponse.Builder>public StatusResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StatusResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StatusResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StatusResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<StatusResponse.Builder>public StatusResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<StatusResponse.Builder>public StatusResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<StatusResponse.Builder>public StatusResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StatusResponse.Builder>public StatusResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StatusResponse.Builder>public StatusResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StatusResponse.Builder>public StatusResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StatusResponse.Builder>public StatusResponse.Builder mergeFrom(StatusResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StatusResponse.Builder>public StatusResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StatusResponse.Builder>IOExceptionpublic boolean hasHeader()
.etcdserverpb.ResponseHeader header = 1;hasHeader in interface StatusResponseOrBuilderpublic ResponseHeader getHeader()
.etcdserverpb.ResponseHeader header = 1;getHeader in interface StatusResponseOrBuilderpublic StatusResponse.Builder setHeader(ResponseHeader value)
.etcdserverpb.ResponseHeader header = 1;public StatusResponse.Builder setHeader(ResponseHeader.Builder builderForValue)
.etcdserverpb.ResponseHeader header = 1;public StatusResponse.Builder mergeHeader(ResponseHeader value)
.etcdserverpb.ResponseHeader header = 1;public StatusResponse.Builder clearHeader()
.etcdserverpb.ResponseHeader header = 1;public ResponseHeader.Builder getHeaderBuilder()
.etcdserverpb.ResponseHeader header = 1;public 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 StatusResponse.Builder setVersion(String value)
version is the cluster protocol version used by the responding member.
string version = 2;value - The version to set.public StatusResponse.Builder clearVersion()
version is the cluster protocol version used by the responding member.
string version = 2;public StatusResponse.Builder setVersionBytes(com.google.protobuf.ByteString value)
version is the cluster protocol version used by the responding member.
string version = 2;value - The bytes for version to set.public 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 StatusResponse.Builder setDbSize(long value)
dbSize is the size of the backend database physically allocated, in bytes, of the responding member.
int64 dbSize = 3;value - The dbSize to set.public StatusResponse.Builder clearDbSize()
dbSize is the size of the backend database physically allocated, in bytes, of the responding member.
int64 dbSize = 3;public long getLeader()
leader is the member ID which the responding member believes is the current leader.
uint64 leader = 4;getLeader in interface StatusResponseOrBuilderpublic StatusResponse.Builder setLeader(long value)
leader is the member ID which the responding member believes is the current leader.
uint64 leader = 4;value - The leader to set.public StatusResponse.Builder clearLeader()
leader is the member ID which the responding member believes is the current leader.
uint64 leader = 4;public long getRaftIndex()
raftIndex is the current raft committed index of the responding member.
uint64 raftIndex = 5;getRaftIndex in interface StatusResponseOrBuilderpublic StatusResponse.Builder setRaftIndex(long value)
raftIndex is the current raft committed index of the responding member.
uint64 raftIndex = 5;value - The raftIndex to set.public StatusResponse.Builder clearRaftIndex()
raftIndex is the current raft committed index of the responding member.
uint64 raftIndex = 5;public long getRaftTerm()
raftTerm is the current raft term of the responding member.
uint64 raftTerm = 6;getRaftTerm in interface StatusResponseOrBuilderpublic StatusResponse.Builder setRaftTerm(long value)
raftTerm is the current raft term of the responding member.
uint64 raftTerm = 6;value - The raftTerm to set.public StatusResponse.Builder clearRaftTerm()
raftTerm is the current raft term of the responding member.
uint64 raftTerm = 6;public long getRaftAppliedIndex()
raftAppliedIndex is the current raft applied index of the responding member.
uint64 raftAppliedIndex = 7;getRaftAppliedIndex in interface StatusResponseOrBuilderpublic StatusResponse.Builder setRaftAppliedIndex(long value)
raftAppliedIndex is the current raft applied index of the responding member.
uint64 raftAppliedIndex = 7;value - The raftAppliedIndex to set.public StatusResponse.Builder clearRaftAppliedIndex()
raftAppliedIndex is the current raft applied index of the responding member.
uint64 raftAppliedIndex = 7;public 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 StatusResponse.Builder setErrors(int index, String value)
errors contains alarm/health information and status.
repeated string errors = 8;index - The index to set the value at.value - The errors to set.public StatusResponse.Builder addErrors(String value)
errors contains alarm/health information and status.
repeated string errors = 8;value - The errors to add.public StatusResponse.Builder addAllErrors(Iterable<String> values)
errors contains alarm/health information and status.
repeated string errors = 8;values - The errors to add.public StatusResponse.Builder clearErrors()
errors contains alarm/health information and status.
repeated string errors = 8;public StatusResponse.Builder addErrorsBytes(com.google.protobuf.ByteString value)
errors contains alarm/health information and status.
repeated string errors = 8;value - The bytes of the errors to add.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 StatusResponse.Builder setDbSizeInUse(long value)
dbSizeInUse is the size of the backend database logically in use, in bytes, of the responding member.
int64 dbSizeInUse = 9;value - The dbSizeInUse to set.public StatusResponse.Builder clearDbSizeInUse()
dbSizeInUse is the size of the backend database logically in use, in bytes, of the responding member.
int64 dbSizeInUse = 9;public final StatusResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StatusResponse.Builder>public final StatusResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StatusResponse.Builder>Copyright © 2022. All rights reserved.