Class OutlierDetectionEvent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<OutlierDetectionEvent.Builder>
io.envoyproxy.envoy.data.cluster.v3.OutlierDetectionEvent.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OutlierDetectionEventOrBuilder,Cloneable
- Enclosing class:
- OutlierDetectionEvent
public static final class OutlierDetectionEvent.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<OutlierDetectionEvent.Builder>
implements OutlierDetectionEventOrBuilder
[#next-free-field: 12]Protobuf type
envoy.data.cluster.v3.OutlierDetectionEvent-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The action that took place.The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host..envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;If ``action`` is ``eject``, specifies if the ejection was enforced.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) If ``action`` is ``eject``, specifies the number of times the host has been ejected (local to that Envoy and gets reset if the host gets removed from the upstream cluster for any reason and then re-added).clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The time in seconds since the last action (either an ejection or unejection) took place.Timestamp for event.In case of eject represents type of ejection that took place.The URL of the ejected host.clone()The action that took place.intThe action that took place.The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.com.google.protobuf.ByteStringThe :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;booleanIf ``action`` is ``eject``, specifies if the ejection was enforced.intIf ``action`` is ``eject``, specifies the number of times the host has been ejected (local to that Envoy and gets reset if the host gets removed from the upstream cluster for any reason and then re-added).com.google.protobuf.UInt64ValueThe time in seconds since the last action (either an ejection or unejection) took place.com.google.protobuf.UInt64Value.BuilderThe time in seconds since the last action (either an ejection or unejection) took place.com.google.protobuf.UInt64ValueOrBuilderThe time in seconds since the last action (either an ejection or unejection) took place.com.google.protobuf.TimestampTimestamp for event.com.google.protobuf.Timestamp.BuilderTimestamp for event.com.google.protobuf.TimestampOrBuilderTimestamp for event.getType()In case of eject represents type of ejection that took place.intIn case of eject represents type of ejection that took place.The URL of the ejected host.com.google.protobuf.ByteStringThe URL of the ejected host.boolean.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;boolean.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;boolean.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;booleanThe time in seconds since the last action (either an ejection or unejection) took place.booleanTimestamp for event.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal boolean.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(OutlierDetectionEvent other) mergeSecsSinceLastAction(com.google.protobuf.UInt64Value value) The time in seconds since the last action (either an ejection or unejection) took place.mergeTimestamp(com.google.protobuf.Timestamp value) Timestamp for event.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) The action that took place.setActionValue(int value) The action that took place.setClusterName(String value) The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.setClusterNameBytes(com.google.protobuf.ByteString value) The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host..envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;setEjectConsecutiveEvent(OutlierEjectConsecutive.Builder builderForValue) .envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;setEjectFailurePercentageEvent(OutlierEjectFailurePercentage.Builder builderForValue) .envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;setEjectSuccessRateEvent(OutlierEjectSuccessRate.Builder builderForValue) .envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;setEnforced(boolean value) If ``action`` is ``eject``, specifies if the ejection was enforced.setNumEjections(int value) If ``action`` is ``eject``, specifies the number of times the host has been ejected (local to that Envoy and gets reset if the host gets removed from the upstream cluster for any reason and then re-added).setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSecsSinceLastAction(com.google.protobuf.UInt64Value value) The time in seconds since the last action (either an ejection or unejection) took place.setSecsSinceLastAction(com.google.protobuf.UInt64Value.Builder builderForValue) The time in seconds since the last action (either an ejection or unejection) took place.setTimestamp(com.google.protobuf.Timestamp value) Timestamp for event.setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp for event.setType(OutlierEjectionType value) In case of eject represents type of ejection that took place.setTypeValue(int value) In case of eject represents type of ejection that took place.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUpstreamUrl(String value) The URL of the ejected host.setUpstreamUrlBytes(com.google.protobuf.ByteString value) The URL of the ejected host.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<OutlierDetectionEvent.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<OutlierDetectionEvent.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<OutlierDetectionEvent.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<OutlierDetectionEvent.Builder>
-
setField
public OutlierDetectionEvent.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<OutlierDetectionEvent.Builder>
-
clearField
public OutlierDetectionEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OutlierDetectionEvent.Builder>
-
clearOneof
public OutlierDetectionEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<OutlierDetectionEvent.Builder>
-
setRepeatedField
public OutlierDetectionEvent.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<OutlierDetectionEvent.Builder>
-
addRepeatedField
public OutlierDetectionEvent.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<OutlierDetectionEvent.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OutlierDetectionEvent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<OutlierDetectionEvent.Builder>
-
mergeFrom
public OutlierDetectionEvent.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<OutlierDetectionEvent.Builder>- Throws:
IOException
-
getEventCase
- Specified by:
getEventCasein interfaceOutlierDetectionEventOrBuilder
-
clearEvent
-
getTypeValue
public int getTypeValue()In case of eject represents type of ejection that took place.
.envoy.data.cluster.v3.OutlierEjectionType type = 1 [(.validate.rules) = { ... }- Specified by:
getTypeValuein interfaceOutlierDetectionEventOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
In case of eject represents type of ejection that took place.
.envoy.data.cluster.v3.OutlierEjectionType type = 1 [(.validate.rules) = { ... }- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
In case of eject represents type of ejection that took place.
.envoy.data.cluster.v3.OutlierEjectionType type = 1 [(.validate.rules) = { ... }- Specified by:
getTypein interfaceOutlierDetectionEventOrBuilder- Returns:
- The type.
-
setType
In case of eject represents type of ejection that took place.
.envoy.data.cluster.v3.OutlierEjectionType type = 1 [(.validate.rules) = { ... }- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
In case of eject represents type of ejection that took place.
.envoy.data.cluster.v3.OutlierEjectionType type = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
hasTimestamp
public boolean hasTimestamp()Timestamp for event.
.google.protobuf.Timestamp timestamp = 2;- Specified by:
hasTimestampin interfaceOutlierDetectionEventOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public com.google.protobuf.Timestamp getTimestamp()Timestamp for event.
.google.protobuf.Timestamp timestamp = 2;- Specified by:
getTimestampin interfaceOutlierDetectionEventOrBuilder- Returns:
- The timestamp.
-
setTimestamp
Timestamp for event.
.google.protobuf.Timestamp timestamp = 2; -
setTimestamp
public OutlierDetectionEvent.Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp for event.
.google.protobuf.Timestamp timestamp = 2; -
mergeTimestamp
Timestamp for event.
.google.protobuf.Timestamp timestamp = 2; -
clearTimestamp
Timestamp for event.
.google.protobuf.Timestamp timestamp = 2; -
getTimestampBuilder
public com.google.protobuf.Timestamp.Builder getTimestampBuilder()Timestamp for event.
.google.protobuf.Timestamp timestamp = 2; -
getTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()Timestamp for event.
.google.protobuf.Timestamp timestamp = 2;- Specified by:
getTimestampOrBuilderin interfaceOutlierDetectionEventOrBuilder
-
hasSecsSinceLastAction
public boolean hasSecsSinceLastAction()The time in seconds since the last action (either an ejection or unejection) took place.
.google.protobuf.UInt64Value secs_since_last_action = 3;- Specified by:
hasSecsSinceLastActionin interfaceOutlierDetectionEventOrBuilder- Returns:
- Whether the secsSinceLastAction field is set.
-
getSecsSinceLastAction
public com.google.protobuf.UInt64Value getSecsSinceLastAction()The time in seconds since the last action (either an ejection or unejection) took place.
.google.protobuf.UInt64Value secs_since_last_action = 3;- Specified by:
getSecsSinceLastActionin interfaceOutlierDetectionEventOrBuilder- Returns:
- The secsSinceLastAction.
-
setSecsSinceLastAction
The time in seconds since the last action (either an ejection or unejection) took place.
.google.protobuf.UInt64Value secs_since_last_action = 3; -
setSecsSinceLastAction
public OutlierDetectionEvent.Builder setSecsSinceLastAction(com.google.protobuf.UInt64Value.Builder builderForValue) The time in seconds since the last action (either an ejection or unejection) took place.
.google.protobuf.UInt64Value secs_since_last_action = 3; -
mergeSecsSinceLastAction
public OutlierDetectionEvent.Builder mergeSecsSinceLastAction(com.google.protobuf.UInt64Value value) The time in seconds since the last action (either an ejection or unejection) took place.
.google.protobuf.UInt64Value secs_since_last_action = 3; -
clearSecsSinceLastAction
The time in seconds since the last action (either an ejection or unejection) took place.
.google.protobuf.UInt64Value secs_since_last_action = 3; -
getSecsSinceLastActionBuilder
public com.google.protobuf.UInt64Value.Builder getSecsSinceLastActionBuilder()The time in seconds since the last action (either an ejection or unejection) took place.
.google.protobuf.UInt64Value secs_since_last_action = 3; -
getSecsSinceLastActionOrBuilder
public com.google.protobuf.UInt64ValueOrBuilder getSecsSinceLastActionOrBuilder()The time in seconds since the last action (either an ejection or unejection) took place.
.google.protobuf.UInt64Value secs_since_last_action = 3;- Specified by:
getSecsSinceLastActionOrBuilderin interfaceOutlierDetectionEventOrBuilder
-
getClusterName
The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.
string cluster_name = 4 [(.validate.rules) = { ... }- Specified by:
getClusterNamein interfaceOutlierDetectionEventOrBuilder- Returns:
- The clusterName.
-
getClusterNameBytes
public com.google.protobuf.ByteString getClusterNameBytes()The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.
string cluster_name = 4 [(.validate.rules) = { ... }- Specified by:
getClusterNameBytesin interfaceOutlierDetectionEventOrBuilder- Returns:
- The bytes for clusterName.
-
setClusterName
The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.
string cluster_name = 4 [(.validate.rules) = { ... }- Parameters:
value- The clusterName to set.- Returns:
- This builder for chaining.
-
clearClusterName
The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.
string cluster_name = 4 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setClusterNameBytes
The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.
string cluster_name = 4 [(.validate.rules) = { ... }- Parameters:
value- The bytes for clusterName to set.- Returns:
- This builder for chaining.
-
getUpstreamUrl
The URL of the ejected host. E.g., ``tcp://1.2.3.4:80``.
string upstream_url = 5 [(.validate.rules) = { ... }- Specified by:
getUpstreamUrlin interfaceOutlierDetectionEventOrBuilder- Returns:
- The upstreamUrl.
-
getUpstreamUrlBytes
public com.google.protobuf.ByteString getUpstreamUrlBytes()The URL of the ejected host. E.g., ``tcp://1.2.3.4:80``.
string upstream_url = 5 [(.validate.rules) = { ... }- Specified by:
getUpstreamUrlBytesin interfaceOutlierDetectionEventOrBuilder- Returns:
- The bytes for upstreamUrl.
-
setUpstreamUrl
The URL of the ejected host. E.g., ``tcp://1.2.3.4:80``.
string upstream_url = 5 [(.validate.rules) = { ... }- Parameters:
value- The upstreamUrl to set.- Returns:
- This builder for chaining.
-
clearUpstreamUrl
The URL of the ejected host. E.g., ``tcp://1.2.3.4:80``.
string upstream_url = 5 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setUpstreamUrlBytes
The URL of the ejected host. E.g., ``tcp://1.2.3.4:80``.
string upstream_url = 5 [(.validate.rules) = { ... }- Parameters:
value- The bytes for upstreamUrl to set.- Returns:
- This builder for chaining.
-
getActionValue
public int getActionValue()The action that took place.
.envoy.data.cluster.v3.Action action = 6 [(.validate.rules) = { ... }- Specified by:
getActionValuein interfaceOutlierDetectionEventOrBuilder- Returns:
- The enum numeric value on the wire for action.
-
setActionValue
The action that took place.
.envoy.data.cluster.v3.Action action = 6 [(.validate.rules) = { ... }- Parameters:
value- The enum numeric value on the wire for action to set.- Returns:
- This builder for chaining.
-
getAction
The action that took place.
.envoy.data.cluster.v3.Action action = 6 [(.validate.rules) = { ... }- Specified by:
getActionin interfaceOutlierDetectionEventOrBuilder- Returns:
- The action.
-
setAction
The action that took place.
.envoy.data.cluster.v3.Action action = 6 [(.validate.rules) = { ... }- Parameters:
value- The action to set.- Returns:
- This builder for chaining.
-
clearAction
The action that took place.
.envoy.data.cluster.v3.Action action = 6 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
getNumEjections
public int getNumEjections()If ``action`` is ``eject``, specifies the number of times the host has been ejected (local to that Envoy and gets reset if the host gets removed from the upstream cluster for any reason and then re-added).
uint32 num_ejections = 7;- Specified by:
getNumEjectionsin interfaceOutlierDetectionEventOrBuilder- Returns:
- The numEjections.
-
setNumEjections
If ``action`` is ``eject``, specifies the number of times the host has been ejected (local to that Envoy and gets reset if the host gets removed from the upstream cluster for any reason and then re-added).
uint32 num_ejections = 7;- Parameters:
value- The numEjections to set.- Returns:
- This builder for chaining.
-
clearNumEjections
If ``action`` is ``eject``, specifies the number of times the host has been ejected (local to that Envoy and gets reset if the host gets removed from the upstream cluster for any reason and then re-added).
uint32 num_ejections = 7;- Returns:
- This builder for chaining.
-
getEnforced
public boolean getEnforced()If ``action`` is ``eject``, specifies if the ejection was enforced. ``true`` means the host was ejected. ``false`` means the event was logged but the host was not actually ejected.
bool enforced = 8;- Specified by:
getEnforcedin interfaceOutlierDetectionEventOrBuilder- Returns:
- The enforced.
-
setEnforced
If ``action`` is ``eject``, specifies if the ejection was enforced. ``true`` means the host was ejected. ``false`` means the event was logged but the host was not actually ejected.
bool enforced = 8;- Parameters:
value- The enforced to set.- Returns:
- This builder for chaining.
-
clearEnforced
If ``action`` is ``eject``, specifies if the ejection was enforced. ``true`` means the host was ejected. ``false`` means the event was logged but the host was not actually ejected.
bool enforced = 8;- Returns:
- This builder for chaining.
-
hasEjectSuccessRateEvent
public boolean hasEjectSuccessRateEvent().envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;- Specified by:
hasEjectSuccessRateEventin interfaceOutlierDetectionEventOrBuilder- Returns:
- Whether the ejectSuccessRateEvent field is set.
-
getEjectSuccessRateEvent
.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;- Specified by:
getEjectSuccessRateEventin interfaceOutlierDetectionEventOrBuilder- Returns:
- The ejectSuccessRateEvent.
-
setEjectSuccessRateEvent
.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9; -
setEjectSuccessRateEvent
public OutlierDetectionEvent.Builder setEjectSuccessRateEvent(OutlierEjectSuccessRate.Builder builderForValue) .envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9; -
mergeEjectSuccessRateEvent
.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9; -
clearEjectSuccessRateEvent
.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9; -
getEjectSuccessRateEventBuilder
.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9; -
getEjectSuccessRateEventOrBuilder
.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;- Specified by:
getEjectSuccessRateEventOrBuilderin interfaceOutlierDetectionEventOrBuilder
-
hasEjectConsecutiveEvent
public boolean hasEjectConsecutiveEvent().envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;- Specified by:
hasEjectConsecutiveEventin interfaceOutlierDetectionEventOrBuilder- Returns:
- Whether the ejectConsecutiveEvent field is set.
-
getEjectConsecutiveEvent
.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;- Specified by:
getEjectConsecutiveEventin interfaceOutlierDetectionEventOrBuilder- Returns:
- The ejectConsecutiveEvent.
-
setEjectConsecutiveEvent
.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10; -
setEjectConsecutiveEvent
public OutlierDetectionEvent.Builder setEjectConsecutiveEvent(OutlierEjectConsecutive.Builder builderForValue) .envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10; -
mergeEjectConsecutiveEvent
.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10; -
clearEjectConsecutiveEvent
.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10; -
getEjectConsecutiveEventBuilder
.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10; -
getEjectConsecutiveEventOrBuilder
.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;- Specified by:
getEjectConsecutiveEventOrBuilderin interfaceOutlierDetectionEventOrBuilder
-
hasEjectFailurePercentageEvent
public boolean hasEjectFailurePercentageEvent().envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;- Specified by:
hasEjectFailurePercentageEventin interfaceOutlierDetectionEventOrBuilder- Returns:
- Whether the ejectFailurePercentageEvent field is set.
-
getEjectFailurePercentageEvent
.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;- Specified by:
getEjectFailurePercentageEventin interfaceOutlierDetectionEventOrBuilder- Returns:
- The ejectFailurePercentageEvent.
-
setEjectFailurePercentageEvent
public OutlierDetectionEvent.Builder setEjectFailurePercentageEvent(OutlierEjectFailurePercentage value) .envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11; -
setEjectFailurePercentageEvent
public OutlierDetectionEvent.Builder setEjectFailurePercentageEvent(OutlierEjectFailurePercentage.Builder builderForValue) .envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11; -
mergeEjectFailurePercentageEvent
public OutlierDetectionEvent.Builder mergeEjectFailurePercentageEvent(OutlierEjectFailurePercentage value) .envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11; -
clearEjectFailurePercentageEvent
.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11; -
getEjectFailurePercentageEventBuilder
.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11; -
getEjectFailurePercentageEventOrBuilder
.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;- Specified by:
getEjectFailurePercentageEventOrBuilderin interfaceOutlierDetectionEventOrBuilder
-
setUnknownFields
public final OutlierDetectionEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OutlierDetectionEvent.Builder>
-
mergeUnknownFields
public final OutlierDetectionEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OutlierDetectionEvent.Builder>
-