Package io.envoyproxy.envoy.admin.v3
Class HostHealthStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<HostHealthStatus.Builder>
io.envoyproxy.envoy.admin.v3.HostHealthStatus.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,HostHealthStatusOrBuilder,Cloneable
- Enclosing class:
- HostHealthStatus
public static final class HostHealthStatus.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<HostHealthStatus.Builder>
implements HostHealthStatusOrBuilder
Health status for a host. [#next-free-field: 9]Protobuf type
envoy.admin.v3.HostHealthStatus-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The host failed active health check due to timeout.Health status as reported by EDS. .. note:: Currently, only ``HEALTHY`` and ``UNHEALTHY`` are supported.The host should be excluded from panic, spillover, etc. calculations because it was explicitly taken out of rotation via protocol signal and is not meant to be routed to.The host is currently being marked as degraded through active health checking.The host is currently failing active health checks.The host is currently considered an outlier and has been ejected.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The host is awaiting first health check.The host has been removed from service discovery, but is being stabilized due to active health checking.clone()booleanThe host failed active health check due to timeout.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorHealth status as reported by EDS. .. note:: Currently, only ``HEALTHY`` and ``UNHEALTHY`` are supported.intHealth status as reported by EDS. .. note:: Currently, only ``HEALTHY`` and ``UNHEALTHY`` are supported.booleanThe host should be excluded from panic, spillover, etc. calculations because it was explicitly taken out of rotation via protocol signal and is not meant to be routed to.booleanThe host is currently being marked as degraded through active health checking.booleanThe host is currently failing active health checks.booleanThe host is currently considered an outlier and has been ejected.booleanThe host is awaiting first health check.booleanThe host has been removed from service discovery, but is being stabilized due to active health checking.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(HostHealthStatus other) final HostHealthStatus.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setActiveHcTimeout(boolean value) The host failed active health check due to timeout.setEdsHealthStatus(HealthStatus value) Health status as reported by EDS. .. note:: Currently, only ``HEALTHY`` and ``UNHEALTHY`` are supported.setEdsHealthStatusValue(int value) Health status as reported by EDS. .. note:: Currently, only ``HEALTHY`` and ``UNHEALTHY`` are supported.setExcludedViaImmediateHcFail(boolean value) The host should be excluded from panic, spillover, etc. calculations because it was explicitly taken out of rotation via protocol signal and is not meant to be routed to.setFailedActiveDegradedCheck(boolean value) The host is currently being marked as degraded through active health checking.setFailedActiveHealthCheck(boolean value) The host is currently failing active health checks.setFailedOutlierCheck(boolean value) The host is currently considered an outlier and has been ejected.setPendingActiveHc(boolean value) The host is awaiting first health check.setPendingDynamicRemoval(boolean value) The host has been removed from service discovery, but is being stabilized due to active health checking.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final HostHealthStatus.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<HostHealthStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<HostHealthStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<HostHealthStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<HostHealthStatus.Builder>
-
setField
public HostHealthStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HostHealthStatus.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HostHealthStatus.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HostHealthStatus.Builder>
-
setRepeatedField
public HostHealthStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HostHealthStatus.Builder>
-
addRepeatedField
public HostHealthStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HostHealthStatus.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HostHealthStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<HostHealthStatus.Builder>
-
mergeFrom
public HostHealthStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HostHealthStatus.Builder>- Throws:
IOException
-
getFailedActiveHealthCheck
public boolean getFailedActiveHealthCheck()The host is currently failing active health checks.
bool failed_active_health_check = 1;- Specified by:
getFailedActiveHealthCheckin interfaceHostHealthStatusOrBuilder- Returns:
- The failedActiveHealthCheck.
-
setFailedActiveHealthCheck
The host is currently failing active health checks.
bool failed_active_health_check = 1;- Parameters:
value- The failedActiveHealthCheck to set.- Returns:
- This builder for chaining.
-
clearFailedActiveHealthCheck
The host is currently failing active health checks.
bool failed_active_health_check = 1;- Returns:
- This builder for chaining.
-
getFailedOutlierCheck
public boolean getFailedOutlierCheck()The host is currently considered an outlier and has been ejected.
bool failed_outlier_check = 2;- Specified by:
getFailedOutlierCheckin interfaceHostHealthStatusOrBuilder- Returns:
- The failedOutlierCheck.
-
setFailedOutlierCheck
The host is currently considered an outlier and has been ejected.
bool failed_outlier_check = 2;- Parameters:
value- The failedOutlierCheck to set.- Returns:
- This builder for chaining.
-
clearFailedOutlierCheck
The host is currently considered an outlier and has been ejected.
bool failed_outlier_check = 2;- Returns:
- This builder for chaining.
-
getFailedActiveDegradedCheck
public boolean getFailedActiveDegradedCheck()The host is currently being marked as degraded through active health checking.
bool failed_active_degraded_check = 4;- Specified by:
getFailedActiveDegradedCheckin interfaceHostHealthStatusOrBuilder- Returns:
- The failedActiveDegradedCheck.
-
setFailedActiveDegradedCheck
The host is currently being marked as degraded through active health checking.
bool failed_active_degraded_check = 4;- Parameters:
value- The failedActiveDegradedCheck to set.- Returns:
- This builder for chaining.
-
clearFailedActiveDegradedCheck
The host is currently being marked as degraded through active health checking.
bool failed_active_degraded_check = 4;- Returns:
- This builder for chaining.
-
getPendingDynamicRemoval
public boolean getPendingDynamicRemoval()The host has been removed from service discovery, but is being stabilized due to active health checking.
bool pending_dynamic_removal = 5;- Specified by:
getPendingDynamicRemovalin interfaceHostHealthStatusOrBuilder- Returns:
- The pendingDynamicRemoval.
-
setPendingDynamicRemoval
The host has been removed from service discovery, but is being stabilized due to active health checking.
bool pending_dynamic_removal = 5;- Parameters:
value- The pendingDynamicRemoval to set.- Returns:
- This builder for chaining.
-
clearPendingDynamicRemoval
The host has been removed from service discovery, but is being stabilized due to active health checking.
bool pending_dynamic_removal = 5;- Returns:
- This builder for chaining.
-
getPendingActiveHc
public boolean getPendingActiveHc()The host is awaiting first health check.
bool pending_active_hc = 6;- Specified by:
getPendingActiveHcin interfaceHostHealthStatusOrBuilder- Returns:
- The pendingActiveHc.
-
setPendingActiveHc
The host is awaiting first health check.
bool pending_active_hc = 6;- Parameters:
value- The pendingActiveHc to set.- Returns:
- This builder for chaining.
-
clearPendingActiveHc
The host is awaiting first health check.
bool pending_active_hc = 6;- Returns:
- This builder for chaining.
-
getExcludedViaImmediateHcFail
public boolean getExcludedViaImmediateHcFail()The host should be excluded from panic, spillover, etc. calculations because it was explicitly taken out of rotation via protocol signal and is not meant to be routed to.
bool excluded_via_immediate_hc_fail = 7;- Specified by:
getExcludedViaImmediateHcFailin interfaceHostHealthStatusOrBuilder- Returns:
- The excludedViaImmediateHcFail.
-
setExcludedViaImmediateHcFail
The host should be excluded from panic, spillover, etc. calculations because it was explicitly taken out of rotation via protocol signal and is not meant to be routed to.
bool excluded_via_immediate_hc_fail = 7;- Parameters:
value- The excludedViaImmediateHcFail to set.- Returns:
- This builder for chaining.
-
clearExcludedViaImmediateHcFail
The host should be excluded from panic, spillover, etc. calculations because it was explicitly taken out of rotation via protocol signal and is not meant to be routed to.
bool excluded_via_immediate_hc_fail = 7;- Returns:
- This builder for chaining.
-
getActiveHcTimeout
public boolean getActiveHcTimeout()The host failed active health check due to timeout.
bool active_hc_timeout = 8;- Specified by:
getActiveHcTimeoutin interfaceHostHealthStatusOrBuilder- Returns:
- The activeHcTimeout.
-
setActiveHcTimeout
The host failed active health check due to timeout.
bool active_hc_timeout = 8;- Parameters:
value- The activeHcTimeout to set.- Returns:
- This builder for chaining.
-
clearActiveHcTimeout
The host failed active health check due to timeout.
bool active_hc_timeout = 8;- Returns:
- This builder for chaining.
-
getEdsHealthStatusValue
public int getEdsHealthStatusValue()Health status as reported by EDS. .. note:: Currently, only ``HEALTHY`` and ``UNHEALTHY`` are supported. [#comment:TODO(mrice32): pipe through remaining EDS health status possibilities.]
.envoy.config.core.v3.HealthStatus eds_health_status = 3;- Specified by:
getEdsHealthStatusValuein interfaceHostHealthStatusOrBuilder- Returns:
- The enum numeric value on the wire for edsHealthStatus.
-
setEdsHealthStatusValue
Health status as reported by EDS. .. note:: Currently, only ``HEALTHY`` and ``UNHEALTHY`` are supported. [#comment:TODO(mrice32): pipe through remaining EDS health status possibilities.]
.envoy.config.core.v3.HealthStatus eds_health_status = 3;- Parameters:
value- The enum numeric value on the wire for edsHealthStatus to set.- Returns:
- This builder for chaining.
-
getEdsHealthStatus
Health status as reported by EDS. .. note:: Currently, only ``HEALTHY`` and ``UNHEALTHY`` are supported. [#comment:TODO(mrice32): pipe through remaining EDS health status possibilities.]
.envoy.config.core.v3.HealthStatus eds_health_status = 3;- Specified by:
getEdsHealthStatusin interfaceHostHealthStatusOrBuilder- Returns:
- The edsHealthStatus.
-
setEdsHealthStatus
Health status as reported by EDS. .. note:: Currently, only ``HEALTHY`` and ``UNHEALTHY`` are supported. [#comment:TODO(mrice32): pipe through remaining EDS health status possibilities.]
.envoy.config.core.v3.HealthStatus eds_health_status = 3;- Parameters:
value- The edsHealthStatus to set.- Returns:
- This builder for chaining.
-
clearEdsHealthStatus
Health status as reported by EDS. .. note:: Currently, only ``HEALTHY`` and ``UNHEALTHY`` are supported. [#comment:TODO(mrice32): pipe through remaining EDS health status possibilities.]
.envoy.config.core.v3.HealthStatus eds_health_status = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final HostHealthStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HostHealthStatus.Builder>
-
mergeUnknownFields
public final HostHealthStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HostHealthStatus.Builder>
-