public static final class HostStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder> implements HostStatusOrBuilder
Current state of a particular host.Protobuf type
envoy.admin.v2alpha.HostStatus| Modifier and Type | Method and Description |
|---|---|
HostStatus.Builder |
addAllStats(Iterable<? extends SimpleMetric> values)
List of stats specific to this host.
|
HostStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HostStatus.Builder |
addStats(int index,
SimpleMetric.Builder builderForValue)
List of stats specific to this host.
|
HostStatus.Builder |
addStats(int index,
SimpleMetric value)
List of stats specific to this host.
|
HostStatus.Builder |
addStats(SimpleMetric.Builder builderForValue)
List of stats specific to this host.
|
HostStatus.Builder |
addStats(SimpleMetric value)
List of stats specific to this host.
|
SimpleMetric.Builder |
addStatsBuilder()
List of stats specific to this host.
|
SimpleMetric.Builder |
addStatsBuilder(int index)
List of stats specific to this host.
|
HostStatus |
build() |
HostStatus |
buildPartial() |
HostStatus.Builder |
clear() |
HostStatus.Builder |
clearAddress()
Address of this host.
|
HostStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HostStatus.Builder |
clearHealthStatus()
The host's current health status.
|
HostStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HostStatus.Builder |
clearStats()
List of stats specific to this host.
|
HostStatus.Builder |
clearSuccessRate()
Request success rate for this host over the last calculated interval.
|
HostStatus.Builder |
clearWeight()
The host's weight.
|
HostStatus.Builder |
clone() |
Address |
getAddress()
Address of this host.
|
Address.Builder |
getAddressBuilder()
Address of this host.
|
AddressOrBuilder |
getAddressOrBuilder()
Address of this host.
|
HostStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
HostHealthStatus |
getHealthStatus()
The host's current health status.
|
HostHealthStatus.Builder |
getHealthStatusBuilder()
The host's current health status.
|
HostHealthStatusOrBuilder |
getHealthStatusOrBuilder()
The host's current health status.
|
SimpleMetric |
getStats(int index)
List of stats specific to this host.
|
SimpleMetric.Builder |
getStatsBuilder(int index)
List of stats specific to this host.
|
List<SimpleMetric.Builder> |
getStatsBuilderList()
List of stats specific to this host.
|
int |
getStatsCount()
List of stats specific to this host.
|
List<SimpleMetric> |
getStatsList()
List of stats specific to this host.
|
SimpleMetricOrBuilder |
getStatsOrBuilder(int index)
List of stats specific to this host.
|
List<? extends SimpleMetricOrBuilder> |
getStatsOrBuilderList()
List of stats specific to this host.
|
Percent |
getSuccessRate()
Request success rate for this host over the last calculated interval.
|
Percent.Builder |
getSuccessRateBuilder()
Request success rate for this host over the last calculated interval.
|
PercentOrBuilder |
getSuccessRateOrBuilder()
Request success rate for this host over the last calculated interval.
|
int |
getWeight()
The host's weight.
|
boolean |
hasAddress()
Address of this host.
|
boolean |
hasHealthStatus()
The host's current health status.
|
boolean |
hasSuccessRate()
Request success rate for this host over the last calculated interval.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HostStatus.Builder |
mergeAddress(Address value)
Address of this host.
|
HostStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HostStatus.Builder |
mergeFrom(HostStatus other) |
HostStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
HostStatus.Builder |
mergeHealthStatus(HostHealthStatus value)
The host's current health status.
|
HostStatus.Builder |
mergeSuccessRate(Percent value)
Request success rate for this host over the last calculated interval.
|
HostStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HostStatus.Builder |
removeStats(int index)
List of stats specific to this host.
|
HostStatus.Builder |
setAddress(Address.Builder builderForValue)
Address of this host.
|
HostStatus.Builder |
setAddress(Address value)
Address of this host.
|
HostStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HostStatus.Builder |
setHealthStatus(HostHealthStatus.Builder builderForValue)
The host's current health status.
|
HostStatus.Builder |
setHealthStatus(HostHealthStatus value)
The host's current health status.
|
HostStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HostStatus.Builder |
setStats(int index,
SimpleMetric.Builder builderForValue)
List of stats specific to this host.
|
HostStatus.Builder |
setStats(int index,
SimpleMetric value)
List of stats specific to this host.
|
HostStatus.Builder |
setSuccessRate(Percent.Builder builderForValue)
Request success rate for this host over the last calculated interval.
|
HostStatus.Builder |
setSuccessRate(Percent value)
Request success rate for this host over the last calculated interval.
|
HostStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HostStatus.Builder |
setWeight(int value)
The host's weight.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>public HostStatus.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.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<HostStatus.Builder>public HostStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HostStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HostStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HostStatus.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>public HostStatus.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<HostStatus.Builder>public HostStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>public HostStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>public HostStatus.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<HostStatus.Builder>public HostStatus.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<HostStatus.Builder>public HostStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HostStatus.Builder>public HostStatus.Builder mergeFrom(HostStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>public HostStatus.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<HostStatus.Builder>IOExceptionpublic boolean hasAddress()
Address of this host.
.envoy.api.v2.core.Address address = 1;hasAddress in interface HostStatusOrBuilderpublic Address getAddress()
Address of this host.
.envoy.api.v2.core.Address address = 1;getAddress in interface HostStatusOrBuilderpublic HostStatus.Builder setAddress(Address value)
Address of this host.
.envoy.api.v2.core.Address address = 1;public HostStatus.Builder setAddress(Address.Builder builderForValue)
Address of this host.
.envoy.api.v2.core.Address address = 1;public HostStatus.Builder mergeAddress(Address value)
Address of this host.
.envoy.api.v2.core.Address address = 1;public HostStatus.Builder clearAddress()
Address of this host.
.envoy.api.v2.core.Address address = 1;public Address.Builder getAddressBuilder()
Address of this host.
.envoy.api.v2.core.Address address = 1;public AddressOrBuilder getAddressOrBuilder()
Address of this host.
.envoy.api.v2.core.Address address = 1;getAddressOrBuilder in interface HostStatusOrBuilderpublic List<SimpleMetric> getStatsList()
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;getStatsList in interface HostStatusOrBuilderpublic int getStatsCount()
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;getStatsCount in interface HostStatusOrBuilderpublic SimpleMetric getStats(int index)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;getStats in interface HostStatusOrBuilderpublic HostStatus.Builder setStats(int index, SimpleMetric value)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;public HostStatus.Builder setStats(int index, SimpleMetric.Builder builderForValue)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;public HostStatus.Builder addStats(SimpleMetric value)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;public HostStatus.Builder addStats(int index, SimpleMetric value)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;public HostStatus.Builder addStats(SimpleMetric.Builder builderForValue)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;public HostStatus.Builder addStats(int index, SimpleMetric.Builder builderForValue)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;public HostStatus.Builder addAllStats(Iterable<? extends SimpleMetric> values)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;public HostStatus.Builder clearStats()
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;public HostStatus.Builder removeStats(int index)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;public SimpleMetric.Builder getStatsBuilder(int index)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;public SimpleMetricOrBuilder getStatsOrBuilder(int index)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;getStatsOrBuilder in interface HostStatusOrBuilderpublic List<? extends SimpleMetricOrBuilder> getStatsOrBuilderList()
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;getStatsOrBuilderList in interface HostStatusOrBuilderpublic SimpleMetric.Builder addStatsBuilder()
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;public SimpleMetric.Builder addStatsBuilder(int index)
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;public List<SimpleMetric.Builder> getStatsBuilderList()
List of stats specific to this host.
repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;public boolean hasHealthStatus()
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;hasHealthStatus in interface HostStatusOrBuilderpublic HostHealthStatus getHealthStatus()
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;getHealthStatus in interface HostStatusOrBuilderpublic HostStatus.Builder setHealthStatus(HostHealthStatus value)
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;public HostStatus.Builder setHealthStatus(HostHealthStatus.Builder builderForValue)
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;public HostStatus.Builder mergeHealthStatus(HostHealthStatus value)
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;public HostStatus.Builder clearHealthStatus()
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;public HostHealthStatus.Builder getHealthStatusBuilder()
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;public HostHealthStatusOrBuilder getHealthStatusOrBuilder()
The host's current health status.
.envoy.admin.v2alpha.HostHealthStatus health_status = 3;getHealthStatusOrBuilder in interface HostStatusOrBuilderpublic boolean hasSuccessRate()
Request success rate for this host over the last calculated interval. Note: the message will not be present if host did not have enough request volume to calculate success rate or the cluster did not have enough hosts to run through success rate outlier ejection.
.envoy.type.Percent success_rate = 4;hasSuccessRate in interface HostStatusOrBuilderpublic Percent getSuccessRate()
Request success rate for this host over the last calculated interval. Note: the message will not be present if host did not have enough request volume to calculate success rate or the cluster did not have enough hosts to run through success rate outlier ejection.
.envoy.type.Percent success_rate = 4;getSuccessRate in interface HostStatusOrBuilderpublic HostStatus.Builder setSuccessRate(Percent value)
Request success rate for this host over the last calculated interval. Note: the message will not be present if host did not have enough request volume to calculate success rate or the cluster did not have enough hosts to run through success rate outlier ejection.
.envoy.type.Percent success_rate = 4;public HostStatus.Builder setSuccessRate(Percent.Builder builderForValue)
Request success rate for this host over the last calculated interval. Note: the message will not be present if host did not have enough request volume to calculate success rate or the cluster did not have enough hosts to run through success rate outlier ejection.
.envoy.type.Percent success_rate = 4;public HostStatus.Builder mergeSuccessRate(Percent value)
Request success rate for this host over the last calculated interval. Note: the message will not be present if host did not have enough request volume to calculate success rate or the cluster did not have enough hosts to run through success rate outlier ejection.
.envoy.type.Percent success_rate = 4;public HostStatus.Builder clearSuccessRate()
Request success rate for this host over the last calculated interval. Note: the message will not be present if host did not have enough request volume to calculate success rate or the cluster did not have enough hosts to run through success rate outlier ejection.
.envoy.type.Percent success_rate = 4;public Percent.Builder getSuccessRateBuilder()
Request success rate for this host over the last calculated interval. Note: the message will not be present if host did not have enough request volume to calculate success rate or the cluster did not have enough hosts to run through success rate outlier ejection.
.envoy.type.Percent success_rate = 4;public PercentOrBuilder getSuccessRateOrBuilder()
Request success rate for this host over the last calculated interval. Note: the message will not be present if host did not have enough request volume to calculate success rate or the cluster did not have enough hosts to run through success rate outlier ejection.
.envoy.type.Percent success_rate = 4;getSuccessRateOrBuilder in interface HostStatusOrBuilderpublic int getWeight()
The host's weight. If not configured, the value defaults to 1.
uint32 weight = 5;getWeight in interface HostStatusOrBuilderpublic HostStatus.Builder setWeight(int value)
The host's weight. If not configured, the value defaults to 1.
uint32 weight = 5;public HostStatus.Builder clearWeight()
The host's weight. If not configured, the value defaults to 1.
uint32 weight = 5;public final HostStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>public final HostStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>Copyright © 2018–2019 The Envoy Project. All rights reserved.