Class OutlierDetectionEvent.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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 typeenvoy.data.cluster.v3.OutlierDetectionEvent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OutlierDetectionEvent.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)OutlierDetectionEventbuild()OutlierDetectionEventbuildPartial()OutlierDetectionEvent.Builderclear()OutlierDetectionEvent.BuilderclearAction()The action that took place.OutlierDetectionEvent.BuilderclearClusterName()The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.OutlierDetectionEvent.BuilderclearEjectConsecutiveEvent().envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;OutlierDetectionEvent.BuilderclearEjectFailurePercentageEvent().envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;OutlierDetectionEvent.BuilderclearEjectSuccessRateEvent().envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;OutlierDetectionEvent.BuilderclearEnforced()If ``action`` is ``eject``, specifies if the ejection was enforced.OutlierDetectionEvent.BuilderclearEvent()OutlierDetectionEvent.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)OutlierDetectionEvent.BuilderclearNumEjections()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).OutlierDetectionEvent.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)OutlierDetectionEvent.BuilderclearSecsSinceLastAction()The time in seconds since the last action (either an ejection or unejection) took place.OutlierDetectionEvent.BuilderclearTimestamp()Timestamp for event.OutlierDetectionEvent.BuilderclearType()In case of eject represents type of ejection that took place.OutlierDetectionEvent.BuilderclearUpstreamUrl()The URL of the ejected host.OutlierDetectionEvent.Builderclone()ActiongetAction()The action that took place.intgetActionValue()The action that took place.StringgetClusterName()The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.com.google.protobuf.ByteStringgetClusterNameBytes()The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.OutlierDetectionEventgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()OutlierEjectConsecutivegetEjectConsecutiveEvent().envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;OutlierEjectConsecutive.BuildergetEjectConsecutiveEventBuilder().envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;OutlierEjectConsecutiveOrBuildergetEjectConsecutiveEventOrBuilder().envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;OutlierEjectFailurePercentagegetEjectFailurePercentageEvent().envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;OutlierEjectFailurePercentage.BuildergetEjectFailurePercentageEventBuilder().envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;OutlierEjectFailurePercentageOrBuildergetEjectFailurePercentageEventOrBuilder().envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;OutlierEjectSuccessRategetEjectSuccessRateEvent().envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;OutlierEjectSuccessRate.BuildergetEjectSuccessRateEventBuilder().envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;OutlierEjectSuccessRateOrBuildergetEjectSuccessRateEventOrBuilder().envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;booleangetEnforced()If ``action`` is ``eject``, specifies if the ejection was enforced.OutlierDetectionEvent.EventCasegetEventCase()intgetNumEjections()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).com.google.protobuf.UInt64ValuegetSecsSinceLastAction()The time in seconds since the last action (either an ejection or unejection) took place.com.google.protobuf.UInt64Value.BuildergetSecsSinceLastActionBuilder()The time in seconds since the last action (either an ejection or unejection) took place.com.google.protobuf.UInt64ValueOrBuildergetSecsSinceLastActionOrBuilder()The time in seconds since the last action (either an ejection or unejection) took place.com.google.protobuf.TimestampgetTimestamp()Timestamp for event.com.google.protobuf.Timestamp.BuildergetTimestampBuilder()Timestamp for event.com.google.protobuf.TimestampOrBuildergetTimestampOrBuilder()Timestamp for event.OutlierEjectionTypegetType()In case of eject represents type of ejection that took place.intgetTypeValue()In case of eject represents type of ejection that took place.StringgetUpstreamUrl()The URL of the ejected host.com.google.protobuf.ByteStringgetUpstreamUrlBytes()The URL of the ejected host.booleanhasEjectConsecutiveEvent().envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;booleanhasEjectFailurePercentageEvent().envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;booleanhasEjectSuccessRateEvent().envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;booleanhasSecsSinceLastAction()The time in seconds since the last action (either an ejection or unejection) took place.booleanhasTimestamp()Timestamp for event.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()OutlierDetectionEvent.BuildermergeEjectConsecutiveEvent(OutlierEjectConsecutive value).envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;OutlierDetectionEvent.BuildermergeEjectFailurePercentageEvent(OutlierEjectFailurePercentage value).envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;OutlierDetectionEvent.BuildermergeEjectSuccessRateEvent(OutlierEjectSuccessRate value).envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;OutlierDetectionEvent.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)OutlierDetectionEvent.BuildermergeFrom(com.google.protobuf.Message other)OutlierDetectionEvent.BuildermergeFrom(OutlierDetectionEvent other)OutlierDetectionEvent.BuildermergeSecsSinceLastAction(com.google.protobuf.UInt64Value value)The time in seconds since the last action (either an ejection or unejection) took place.OutlierDetectionEvent.BuildermergeTimestamp(com.google.protobuf.Timestamp value)Timestamp for event.OutlierDetectionEvent.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)OutlierDetectionEvent.BuildersetAction(Action value)The action that took place.OutlierDetectionEvent.BuildersetActionValue(int value)The action that took place.OutlierDetectionEvent.BuildersetClusterName(String value)The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.OutlierDetectionEvent.BuildersetClusterNameBytes(com.google.protobuf.ByteString value)The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.OutlierDetectionEvent.BuildersetEjectConsecutiveEvent(OutlierEjectConsecutive value).envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;OutlierDetectionEvent.BuildersetEjectConsecutiveEvent(OutlierEjectConsecutive.Builder builderForValue).envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;OutlierDetectionEvent.BuildersetEjectFailurePercentageEvent(OutlierEjectFailurePercentage value).envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;OutlierDetectionEvent.BuildersetEjectFailurePercentageEvent(OutlierEjectFailurePercentage.Builder builderForValue).envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;OutlierDetectionEvent.BuildersetEjectSuccessRateEvent(OutlierEjectSuccessRate value).envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;OutlierDetectionEvent.BuildersetEjectSuccessRateEvent(OutlierEjectSuccessRate.Builder builderForValue).envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;OutlierDetectionEvent.BuildersetEnforced(boolean value)If ``action`` is ``eject``, specifies if the ejection was enforced.OutlierDetectionEvent.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)OutlierDetectionEvent.BuildersetNumEjections(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).OutlierDetectionEvent.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)OutlierDetectionEvent.BuildersetSecsSinceLastAction(com.google.protobuf.UInt64Value value)The time in seconds since the last action (either an ejection or unejection) took place.OutlierDetectionEvent.BuildersetSecsSinceLastAction(com.google.protobuf.UInt64Value.Builder builderForValue)The time in seconds since the last action (either an ejection or unejection) took place.OutlierDetectionEvent.BuildersetTimestamp(com.google.protobuf.Timestamp value)Timestamp for event.OutlierDetectionEvent.BuildersetTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)Timestamp for event.OutlierDetectionEvent.BuildersetType(OutlierEjectionType value)In case of eject represents type of ejection that took place.OutlierDetectionEvent.BuildersetTypeValue(int value)In case of eject represents type of ejection that took place.OutlierDetectionEvent.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)OutlierDetectionEvent.BuildersetUpstreamUrl(String value)The URL of the ejected host.OutlierDetectionEvent.BuildersetUpstreamUrlBytes(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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public OutlierDetectionEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public OutlierDetectionEvent build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OutlierDetectionEvent buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OutlierDetectionEvent.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
public OutlierDetectionEvent.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OutlierDetectionEvent.Builder>
-
mergeFrom
public OutlierDetectionEvent.Builder mergeFrom(OutlierDetectionEvent other)
-
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
public OutlierDetectionEvent.EventCase getEventCase()
- Specified by:
getEventCasein interfaceOutlierDetectionEventOrBuilder
-
clearEvent
public OutlierDetectionEvent.Builder 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
public OutlierDetectionEvent.Builder setTypeValue(int value)
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
public OutlierEjectionType 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
public OutlierDetectionEvent.Builder setType(OutlierEjectionType value)
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
public OutlierDetectionEvent.Builder 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
public OutlierDetectionEvent.Builder setTimestamp(com.google.protobuf.Timestamp value)
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
public OutlierDetectionEvent.Builder mergeTimestamp(com.google.protobuf.Timestamp value)
Timestamp for event.
.google.protobuf.Timestamp timestamp = 2;
-
clearTimestamp
public OutlierDetectionEvent.Builder 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
public OutlierDetectionEvent.Builder setSecsSinceLastAction(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;
-
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
public OutlierDetectionEvent.Builder 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
public String 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
public OutlierDetectionEvent.Builder setClusterName(String value)
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
public OutlierDetectionEvent.Builder 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
public OutlierDetectionEvent.Builder setClusterNameBytes(com.google.protobuf.ByteString value)
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
public String 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
public OutlierDetectionEvent.Builder setUpstreamUrl(String value)
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
public OutlierDetectionEvent.Builder 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
public OutlierDetectionEvent.Builder setUpstreamUrlBytes(com.google.protobuf.ByteString value)
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
public OutlierDetectionEvent.Builder setActionValue(int value)
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
public Action getAction()
The action that took place.
.envoy.data.cluster.v3.Action action = 6 [(.validate.rules) = { ... }- Specified by:
getActionin interfaceOutlierDetectionEventOrBuilder- Returns:
- The action.
-
setAction
public OutlierDetectionEvent.Builder setAction(Action value)
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
public OutlierDetectionEvent.Builder 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
public OutlierDetectionEvent.Builder 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).
uint32 num_ejections = 7;- Parameters:
value- The numEjections to set.- Returns:
- This builder for chaining.
-
clearNumEjections
public OutlierDetectionEvent.Builder 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
public OutlierDetectionEvent.Builder setEnforced(boolean value)
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
public OutlierDetectionEvent.Builder 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
public OutlierEjectSuccessRate getEjectSuccessRateEvent()
.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;- Specified by:
getEjectSuccessRateEventin interfaceOutlierDetectionEventOrBuilder- Returns:
- The ejectSuccessRateEvent.
-
setEjectSuccessRateEvent
public OutlierDetectionEvent.Builder setEjectSuccessRateEvent(OutlierEjectSuccessRate value)
.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
public OutlierDetectionEvent.Builder mergeEjectSuccessRateEvent(OutlierEjectSuccessRate value)
.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;
-
clearEjectSuccessRateEvent
public OutlierDetectionEvent.Builder clearEjectSuccessRateEvent()
.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;
-
getEjectSuccessRateEventBuilder
public OutlierEjectSuccessRate.Builder getEjectSuccessRateEventBuilder()
.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;
-
getEjectSuccessRateEventOrBuilder
public OutlierEjectSuccessRateOrBuilder 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
public OutlierEjectConsecutive getEjectConsecutiveEvent()
.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;- Specified by:
getEjectConsecutiveEventin interfaceOutlierDetectionEventOrBuilder- Returns:
- The ejectConsecutiveEvent.
-
setEjectConsecutiveEvent
public OutlierDetectionEvent.Builder setEjectConsecutiveEvent(OutlierEjectConsecutive value)
.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
public OutlierDetectionEvent.Builder mergeEjectConsecutiveEvent(OutlierEjectConsecutive value)
.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;
-
clearEjectConsecutiveEvent
public OutlierDetectionEvent.Builder clearEjectConsecutiveEvent()
.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;
-
getEjectConsecutiveEventBuilder
public OutlierEjectConsecutive.Builder getEjectConsecutiveEventBuilder()
.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;
-
getEjectConsecutiveEventOrBuilder
public OutlierEjectConsecutiveOrBuilder 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
public OutlierEjectFailurePercentage 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
public OutlierDetectionEvent.Builder clearEjectFailurePercentageEvent()
.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;
-
getEjectFailurePercentageEventBuilder
public OutlierEjectFailurePercentage.Builder getEjectFailurePercentageEventBuilder()
.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;
-
getEjectFailurePercentageEventOrBuilder
public OutlierEjectFailurePercentageOrBuilder 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>
-
-