Class OutlierDetection

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, OutlierDetectionOrBuilder, Serializable

    public final class OutlierDetection
    extends com.google.protobuf.GeneratedMessageV3
    implements OutlierDetectionOrBuilder
     See the :ref:`architecture overview <arch_overview_outlier_detection>` for
     more information on outlier detection.
     [#next-free-field: 23]
     
    Protobuf type envoy.config.cluster.v3.OutlierDetection
    See Also:
    Serialized Form
    • Field Detail

      • CONSECUTIVE_5XX_FIELD_NUMBER

        public static final int CONSECUTIVE_5XX_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BASE_EJECTION_TIME_FIELD_NUMBER

        public static final int BASE_EJECTION_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MAX_EJECTION_PERCENT_FIELD_NUMBER

        public static final int MAX_EJECTION_PERCENT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENFORCING_CONSECUTIVE_5XX_FIELD_NUMBER

        public static final int ENFORCING_CONSECUTIVE_5XX_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENFORCING_SUCCESS_RATE_FIELD_NUMBER

        public static final int ENFORCING_SUCCESS_RATE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SUCCESS_RATE_MINIMUM_HOSTS_FIELD_NUMBER

        public static final int SUCCESS_RATE_MINIMUM_HOSTS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SUCCESS_RATE_REQUEST_VOLUME_FIELD_NUMBER

        public static final int SUCCESS_RATE_REQUEST_VOLUME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SUCCESS_RATE_STDEV_FACTOR_FIELD_NUMBER

        public static final int SUCCESS_RATE_STDEV_FACTOR_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONSECUTIVE_GATEWAY_FAILURE_FIELD_NUMBER

        public static final int CONSECUTIVE_GATEWAY_FAILURE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENFORCING_CONSECUTIVE_GATEWAY_FAILURE_FIELD_NUMBER

        public static final int ENFORCING_CONSECUTIVE_GATEWAY_FAILURE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SPLIT_EXTERNAL_LOCAL_ORIGIN_ERRORS_FIELD_NUMBER

        public static final int SPLIT_EXTERNAL_LOCAL_ORIGIN_ERRORS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONSECUTIVE_LOCAL_ORIGIN_FAILURE_FIELD_NUMBER

        public static final int CONSECUTIVE_LOCAL_ORIGIN_FAILURE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENFORCING_CONSECUTIVE_LOCAL_ORIGIN_FAILURE_FIELD_NUMBER

        public static final int ENFORCING_CONSECUTIVE_LOCAL_ORIGIN_FAILURE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENFORCING_LOCAL_ORIGIN_SUCCESS_RATE_FIELD_NUMBER

        public static final int ENFORCING_LOCAL_ORIGIN_SUCCESS_RATE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FAILURE_PERCENTAGE_THRESHOLD_FIELD_NUMBER

        public static final int FAILURE_PERCENTAGE_THRESHOLD_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENFORCING_FAILURE_PERCENTAGE_FIELD_NUMBER

        public static final int ENFORCING_FAILURE_PERCENTAGE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENFORCING_FAILURE_PERCENTAGE_LOCAL_ORIGIN_FIELD_NUMBER

        public static final int ENFORCING_FAILURE_PERCENTAGE_LOCAL_ORIGIN_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FAILURE_PERCENTAGE_MINIMUM_HOSTS_FIELD_NUMBER

        public static final int FAILURE_PERCENTAGE_MINIMUM_HOSTS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FAILURE_PERCENTAGE_REQUEST_VOLUME_FIELD_NUMBER

        public static final int FAILURE_PERCENTAGE_REQUEST_VOLUME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MAX_EJECTION_TIME_FIELD_NUMBER

        public static final int MAX_EJECTION_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MAX_EJECTION_TIME_JITTER_FIELD_NUMBER

        public static final int MAX_EJECTION_TIME_JITTER_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasConsecutive5Xx

        public boolean hasConsecutive5Xx()
         The number of consecutive 5xx responses or local origin errors that are mapped
         to 5xx error codes before a consecutive 5xx ejection
         occurs. Defaults to 5.
         
        .google.protobuf.UInt32Value consecutive_5xx = 1;
        Specified by:
        hasConsecutive5Xx in interface OutlierDetectionOrBuilder
        Returns:
        Whether the consecutive5xx field is set.
      • getConsecutive5Xx

        public com.google.protobuf.UInt32Value getConsecutive5Xx()
         The number of consecutive 5xx responses or local origin errors that are mapped
         to 5xx error codes before a consecutive 5xx ejection
         occurs. Defaults to 5.
         
        .google.protobuf.UInt32Value consecutive_5xx = 1;
        Specified by:
        getConsecutive5Xx in interface OutlierDetectionOrBuilder
        Returns:
        The consecutive5xx.
      • getConsecutive5XxOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getConsecutive5XxOrBuilder()
         The number of consecutive 5xx responses or local origin errors that are mapped
         to 5xx error codes before a consecutive 5xx ejection
         occurs. Defaults to 5.
         
        .google.protobuf.UInt32Value consecutive_5xx = 1;
        Specified by:
        getConsecutive5XxOrBuilder in interface OutlierDetectionOrBuilder
      • hasInterval

        public boolean hasInterval()
         The time interval between ejection analysis sweeps. This can result in
         both new ejections as well as hosts being returned to service. Defaults
         to 10000ms or 10s.
         
        .google.protobuf.Duration interval = 2 [(.validate.rules) = { ... }
        Specified by:
        hasInterval in interface OutlierDetectionOrBuilder
        Returns:
        Whether the interval field is set.
      • getInterval

        public com.google.protobuf.Duration getInterval()
         The time interval between ejection analysis sweeps. This can result in
         both new ejections as well as hosts being returned to service. Defaults
         to 10000ms or 10s.
         
        .google.protobuf.Duration interval = 2 [(.validate.rules) = { ... }
        Specified by:
        getInterval in interface OutlierDetectionOrBuilder
        Returns:
        The interval.
      • getIntervalOrBuilder

        public com.google.protobuf.DurationOrBuilder getIntervalOrBuilder()
         The time interval between ejection analysis sweeps. This can result in
         both new ejections as well as hosts being returned to service. Defaults
         to 10000ms or 10s.
         
        .google.protobuf.Duration interval = 2 [(.validate.rules) = { ... }
        Specified by:
        getIntervalOrBuilder in interface OutlierDetectionOrBuilder
      • hasBaseEjectionTime

        public boolean hasBaseEjectionTime()
         The base time that a host is ejected for. The real time is equal to the
         base time multiplied by the number of times the host has been ejected and is
         capped by :ref:`max_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.max_ejection_time>`.
         Defaults to 30000ms or 30s.
         
        .google.protobuf.Duration base_ejection_time = 3 [(.validate.rules) = { ... }
        Specified by:
        hasBaseEjectionTime in interface OutlierDetectionOrBuilder
        Returns:
        Whether the baseEjectionTime field is set.
      • getBaseEjectionTime

        public com.google.protobuf.Duration getBaseEjectionTime()
         The base time that a host is ejected for. The real time is equal to the
         base time multiplied by the number of times the host has been ejected and is
         capped by :ref:`max_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.max_ejection_time>`.
         Defaults to 30000ms or 30s.
         
        .google.protobuf.Duration base_ejection_time = 3 [(.validate.rules) = { ... }
        Specified by:
        getBaseEjectionTime in interface OutlierDetectionOrBuilder
        Returns:
        The baseEjectionTime.
      • getBaseEjectionTimeOrBuilder

        public com.google.protobuf.DurationOrBuilder getBaseEjectionTimeOrBuilder()
         The base time that a host is ejected for. The real time is equal to the
         base time multiplied by the number of times the host has been ejected and is
         capped by :ref:`max_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.max_ejection_time>`.
         Defaults to 30000ms or 30s.
         
        .google.protobuf.Duration base_ejection_time = 3 [(.validate.rules) = { ... }
        Specified by:
        getBaseEjectionTimeOrBuilder in interface OutlierDetectionOrBuilder
      • hasMaxEjectionPercent

        public boolean hasMaxEjectionPercent()
         The maximum % of an upstream cluster that can be ejected due to outlier
         detection. Defaults to 10% but will eject at least one host regardless of the value.
         
        .google.protobuf.UInt32Value max_ejection_percent = 4 [(.validate.rules) = { ... }
        Specified by:
        hasMaxEjectionPercent in interface OutlierDetectionOrBuilder
        Returns:
        Whether the maxEjectionPercent field is set.
      • getMaxEjectionPercent

        public com.google.protobuf.UInt32Value getMaxEjectionPercent()
         The maximum % of an upstream cluster that can be ejected due to outlier
         detection. Defaults to 10% but will eject at least one host regardless of the value.
         
        .google.protobuf.UInt32Value max_ejection_percent = 4 [(.validate.rules) = { ... }
        Specified by:
        getMaxEjectionPercent in interface OutlierDetectionOrBuilder
        Returns:
        The maxEjectionPercent.
      • getMaxEjectionPercentOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getMaxEjectionPercentOrBuilder()
         The maximum % of an upstream cluster that can be ejected due to outlier
         detection. Defaults to 10% but will eject at least one host regardless of the value.
         
        .google.protobuf.UInt32Value max_ejection_percent = 4 [(.validate.rules) = { ... }
        Specified by:
        getMaxEjectionPercentOrBuilder in interface OutlierDetectionOrBuilder
      • hasEnforcingConsecutive5Xx

        public boolean hasEnforcingConsecutive5Xx()
         The % chance that a host will be actually ejected when an outlier status
         is detected through consecutive 5xx. This setting can be used to disable
         ejection or to ramp it up slowly. Defaults to 100.
         
        .google.protobuf.UInt32Value enforcing_consecutive_5xx = 5 [(.validate.rules) = { ... }
        Specified by:
        hasEnforcingConsecutive5Xx in interface OutlierDetectionOrBuilder
        Returns:
        Whether the enforcingConsecutive5xx field is set.
      • getEnforcingConsecutive5Xx

        public com.google.protobuf.UInt32Value getEnforcingConsecutive5Xx()
         The % chance that a host will be actually ejected when an outlier status
         is detected through consecutive 5xx. This setting can be used to disable
         ejection or to ramp it up slowly. Defaults to 100.
         
        .google.protobuf.UInt32Value enforcing_consecutive_5xx = 5 [(.validate.rules) = { ... }
        Specified by:
        getEnforcingConsecutive5Xx in interface OutlierDetectionOrBuilder
        Returns:
        The enforcingConsecutive5xx.
      • getEnforcingConsecutive5XxOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getEnforcingConsecutive5XxOrBuilder()
         The % chance that a host will be actually ejected when an outlier status
         is detected through consecutive 5xx. This setting can be used to disable
         ejection or to ramp it up slowly. Defaults to 100.
         
        .google.protobuf.UInt32Value enforcing_consecutive_5xx = 5 [(.validate.rules) = { ... }
        Specified by:
        getEnforcingConsecutive5XxOrBuilder in interface OutlierDetectionOrBuilder
      • hasEnforcingSuccessRate

        public boolean hasEnforcingSuccessRate()
         The % chance that a host will be actually ejected when an outlier status
         is detected through success rate statistics. This setting can be used to
         disable ejection or to ramp it up slowly. Defaults to 100.
         
        .google.protobuf.UInt32Value enforcing_success_rate = 6 [(.validate.rules) = { ... }
        Specified by:
        hasEnforcingSuccessRate in interface OutlierDetectionOrBuilder
        Returns:
        Whether the enforcingSuccessRate field is set.
      • getEnforcingSuccessRate

        public com.google.protobuf.UInt32Value getEnforcingSuccessRate()
         The % chance that a host will be actually ejected when an outlier status
         is detected through success rate statistics. This setting can be used to
         disable ejection or to ramp it up slowly. Defaults to 100.
         
        .google.protobuf.UInt32Value enforcing_success_rate = 6 [(.validate.rules) = { ... }
        Specified by:
        getEnforcingSuccessRate in interface OutlierDetectionOrBuilder
        Returns:
        The enforcingSuccessRate.
      • getEnforcingSuccessRateOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getEnforcingSuccessRateOrBuilder()
         The % chance that a host will be actually ejected when an outlier status
         is detected through success rate statistics. This setting can be used to
         disable ejection or to ramp it up slowly. Defaults to 100.
         
        .google.protobuf.UInt32Value enforcing_success_rate = 6 [(.validate.rules) = { ... }
        Specified by:
        getEnforcingSuccessRateOrBuilder in interface OutlierDetectionOrBuilder
      • hasSuccessRateMinimumHosts

        public boolean hasSuccessRateMinimumHosts()
         The number of hosts in a cluster that must have enough request volume to
         detect success rate outliers. If the number of hosts is less than this
         setting, outlier detection via success rate statistics is not performed
         for any host in the cluster. Defaults to 5.
         
        .google.protobuf.UInt32Value success_rate_minimum_hosts = 7;
        Specified by:
        hasSuccessRateMinimumHosts in interface OutlierDetectionOrBuilder
        Returns:
        Whether the successRateMinimumHosts field is set.
      • getSuccessRateMinimumHosts

        public com.google.protobuf.UInt32Value getSuccessRateMinimumHosts()
         The number of hosts in a cluster that must have enough request volume to
         detect success rate outliers. If the number of hosts is less than this
         setting, outlier detection via success rate statistics is not performed
         for any host in the cluster. Defaults to 5.
         
        .google.protobuf.UInt32Value success_rate_minimum_hosts = 7;
        Specified by:
        getSuccessRateMinimumHosts in interface OutlierDetectionOrBuilder
        Returns:
        The successRateMinimumHosts.
      • getSuccessRateMinimumHostsOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getSuccessRateMinimumHostsOrBuilder()
         The number of hosts in a cluster that must have enough request volume to
         detect success rate outliers. If the number of hosts is less than this
         setting, outlier detection via success rate statistics is not performed
         for any host in the cluster. Defaults to 5.
         
        .google.protobuf.UInt32Value success_rate_minimum_hosts = 7;
        Specified by:
        getSuccessRateMinimumHostsOrBuilder in interface OutlierDetectionOrBuilder
      • hasSuccessRateRequestVolume

        public boolean hasSuccessRateRequestVolume()
         The minimum number of total requests that must be collected in one
         interval (as defined by the interval duration above) to include this host
         in success rate based outlier detection. If the volume is lower than this
         setting, outlier detection via success rate statistics is not performed
         for that host. Defaults to 100.
         
        .google.protobuf.UInt32Value success_rate_request_volume = 8;
        Specified by:
        hasSuccessRateRequestVolume in interface OutlierDetectionOrBuilder
        Returns:
        Whether the successRateRequestVolume field is set.
      • getSuccessRateRequestVolume

        public com.google.protobuf.UInt32Value getSuccessRateRequestVolume()
         The minimum number of total requests that must be collected in one
         interval (as defined by the interval duration above) to include this host
         in success rate based outlier detection. If the volume is lower than this
         setting, outlier detection via success rate statistics is not performed
         for that host. Defaults to 100.
         
        .google.protobuf.UInt32Value success_rate_request_volume = 8;
        Specified by:
        getSuccessRateRequestVolume in interface OutlierDetectionOrBuilder
        Returns:
        The successRateRequestVolume.
      • getSuccessRateRequestVolumeOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getSuccessRateRequestVolumeOrBuilder()
         The minimum number of total requests that must be collected in one
         interval (as defined by the interval duration above) to include this host
         in success rate based outlier detection. If the volume is lower than this
         setting, outlier detection via success rate statistics is not performed
         for that host. Defaults to 100.
         
        .google.protobuf.UInt32Value success_rate_request_volume = 8;
        Specified by:
        getSuccessRateRequestVolumeOrBuilder in interface OutlierDetectionOrBuilder
      • hasSuccessRateStdevFactor

        public boolean hasSuccessRateStdevFactor()
         This factor is used to determine the ejection threshold for success rate
         outlier ejection. The ejection threshold is the difference between the
         mean success rate, and the product of this factor and the standard
         deviation of the mean success rate: mean - (stdev *
         success_rate_stdev_factor). This factor is divided by a thousand to get a
         double. That is, if the desired factor is 1.9, the runtime value should
         be 1900. Defaults to 1900.
         
        .google.protobuf.UInt32Value success_rate_stdev_factor = 9;
        Specified by:
        hasSuccessRateStdevFactor in interface OutlierDetectionOrBuilder
        Returns:
        Whether the successRateStdevFactor field is set.
      • getSuccessRateStdevFactor

        public com.google.protobuf.UInt32Value getSuccessRateStdevFactor()
         This factor is used to determine the ejection threshold for success rate
         outlier ejection. The ejection threshold is the difference between the
         mean success rate, and the product of this factor and the standard
         deviation of the mean success rate: mean - (stdev *
         success_rate_stdev_factor). This factor is divided by a thousand to get a
         double. That is, if the desired factor is 1.9, the runtime value should
         be 1900. Defaults to 1900.
         
        .google.protobuf.UInt32Value success_rate_stdev_factor = 9;
        Specified by:
        getSuccessRateStdevFactor in interface OutlierDetectionOrBuilder
        Returns:
        The successRateStdevFactor.
      • getSuccessRateStdevFactorOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getSuccessRateStdevFactorOrBuilder()
         This factor is used to determine the ejection threshold for success rate
         outlier ejection. The ejection threshold is the difference between the
         mean success rate, and the product of this factor and the standard
         deviation of the mean success rate: mean - (stdev *
         success_rate_stdev_factor). This factor is divided by a thousand to get a
         double. That is, if the desired factor is 1.9, the runtime value should
         be 1900. Defaults to 1900.
         
        .google.protobuf.UInt32Value success_rate_stdev_factor = 9;
        Specified by:
        getSuccessRateStdevFactorOrBuilder in interface OutlierDetectionOrBuilder
      • hasConsecutiveGatewayFailure

        public boolean hasConsecutiveGatewayFailure()
         The number of consecutive gateway failures (502, 503, 504 status codes)
         before a consecutive gateway failure ejection occurs. Defaults to 5.
         
        .google.protobuf.UInt32Value consecutive_gateway_failure = 10;
        Specified by:
        hasConsecutiveGatewayFailure in interface OutlierDetectionOrBuilder
        Returns:
        Whether the consecutiveGatewayFailure field is set.
      • getConsecutiveGatewayFailure

        public com.google.protobuf.UInt32Value getConsecutiveGatewayFailure()
         The number of consecutive gateway failures (502, 503, 504 status codes)
         before a consecutive gateway failure ejection occurs. Defaults to 5.
         
        .google.protobuf.UInt32Value consecutive_gateway_failure = 10;
        Specified by:
        getConsecutiveGatewayFailure in interface OutlierDetectionOrBuilder
        Returns:
        The consecutiveGatewayFailure.
      • getConsecutiveGatewayFailureOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getConsecutiveGatewayFailureOrBuilder()
         The number of consecutive gateway failures (502, 503, 504 status codes)
         before a consecutive gateway failure ejection occurs. Defaults to 5.
         
        .google.protobuf.UInt32Value consecutive_gateway_failure = 10;
        Specified by:
        getConsecutiveGatewayFailureOrBuilder in interface OutlierDetectionOrBuilder
      • hasEnforcingConsecutiveGatewayFailure

        public boolean hasEnforcingConsecutiveGatewayFailure()
         The % chance that a host will be actually ejected when an outlier status
         is detected through consecutive gateway failures. This setting can be
         used to disable ejection or to ramp it up slowly. Defaults to 0.
         
        .google.protobuf.UInt32Value enforcing_consecutive_gateway_failure = 11 [(.validate.rules) = { ... }
        Specified by:
        hasEnforcingConsecutiveGatewayFailure in interface OutlierDetectionOrBuilder
        Returns:
        Whether the enforcingConsecutiveGatewayFailure field is set.
      • getEnforcingConsecutiveGatewayFailure

        public com.google.protobuf.UInt32Value getEnforcingConsecutiveGatewayFailure()
         The % chance that a host will be actually ejected when an outlier status
         is detected through consecutive gateway failures. This setting can be
         used to disable ejection or to ramp it up slowly. Defaults to 0.
         
        .google.protobuf.UInt32Value enforcing_consecutive_gateway_failure = 11 [(.validate.rules) = { ... }
        Specified by:
        getEnforcingConsecutiveGatewayFailure in interface OutlierDetectionOrBuilder
        Returns:
        The enforcingConsecutiveGatewayFailure.
      • getEnforcingConsecutiveGatewayFailureOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getEnforcingConsecutiveGatewayFailureOrBuilder()
         The % chance that a host will be actually ejected when an outlier status
         is detected through consecutive gateway failures. This setting can be
         used to disable ejection or to ramp it up slowly. Defaults to 0.
         
        .google.protobuf.UInt32Value enforcing_consecutive_gateway_failure = 11 [(.validate.rules) = { ... }
        Specified by:
        getEnforcingConsecutiveGatewayFailureOrBuilder in interface OutlierDetectionOrBuilder
      • getSplitExternalLocalOriginErrors

        public boolean getSplitExternalLocalOriginErrors()
         Determines whether to distinguish local origin failures from external errors. If set to true
         the following configuration parameters are taken into account:
         :ref:`consecutive_local_origin_failure<envoy_v3_api_field_config.cluster.v3.OutlierDetection.consecutive_local_origin_failure>`,
         :ref:`enforcing_consecutive_local_origin_failure<envoy_v3_api_field_config.cluster.v3.OutlierDetection.enforcing_consecutive_local_origin_failure>`
         and
         :ref:`enforcing_local_origin_success_rate<envoy_v3_api_field_config.cluster.v3.OutlierDetection.enforcing_local_origin_success_rate>`.
         Defaults to false.
         
        bool split_external_local_origin_errors = 12;
        Specified by:
        getSplitExternalLocalOriginErrors in interface OutlierDetectionOrBuilder
        Returns:
        The splitExternalLocalOriginErrors.
      • hasConsecutiveLocalOriginFailure

        public boolean hasConsecutiveLocalOriginFailure()
         The number of consecutive locally originated failures before ejection
         occurs. Defaults to 5. Parameter takes effect only when
         :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
         is set to true.
         
        .google.protobuf.UInt32Value consecutive_local_origin_failure = 13;
        Specified by:
        hasConsecutiveLocalOriginFailure in interface OutlierDetectionOrBuilder
        Returns:
        Whether the consecutiveLocalOriginFailure field is set.
      • getConsecutiveLocalOriginFailure

        public com.google.protobuf.UInt32Value getConsecutiveLocalOriginFailure()
         The number of consecutive locally originated failures before ejection
         occurs. Defaults to 5. Parameter takes effect only when
         :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
         is set to true.
         
        .google.protobuf.UInt32Value consecutive_local_origin_failure = 13;
        Specified by:
        getConsecutiveLocalOriginFailure in interface OutlierDetectionOrBuilder
        Returns:
        The consecutiveLocalOriginFailure.
      • getConsecutiveLocalOriginFailureOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getConsecutiveLocalOriginFailureOrBuilder()
         The number of consecutive locally originated failures before ejection
         occurs. Defaults to 5. Parameter takes effect only when
         :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
         is set to true.
         
        .google.protobuf.UInt32Value consecutive_local_origin_failure = 13;
        Specified by:
        getConsecutiveLocalOriginFailureOrBuilder in interface OutlierDetectionOrBuilder
      • hasEnforcingConsecutiveLocalOriginFailure

        public boolean hasEnforcingConsecutiveLocalOriginFailure()
         The % chance that a host will be actually ejected when an outlier status
         is detected through consecutive locally originated failures. This setting can be
         used to disable ejection or to ramp it up slowly. Defaults to 100.
         Parameter takes effect only when
         :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
         is set to true.
         
        .google.protobuf.UInt32Value enforcing_consecutive_local_origin_failure = 14 [(.validate.rules) = { ... }
        Specified by:
        hasEnforcingConsecutiveLocalOriginFailure in interface OutlierDetectionOrBuilder
        Returns:
        Whether the enforcingConsecutiveLocalOriginFailure field is set.
      • getEnforcingConsecutiveLocalOriginFailure

        public com.google.protobuf.UInt32Value getEnforcingConsecutiveLocalOriginFailure()
         The % chance that a host will be actually ejected when an outlier status
         is detected through consecutive locally originated failures. This setting can be
         used to disable ejection or to ramp it up slowly. Defaults to 100.
         Parameter takes effect only when
         :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
         is set to true.
         
        .google.protobuf.UInt32Value enforcing_consecutive_local_origin_failure = 14 [(.validate.rules) = { ... }
        Specified by:
        getEnforcingConsecutiveLocalOriginFailure in interface OutlierDetectionOrBuilder
        Returns:
        The enforcingConsecutiveLocalOriginFailure.
      • getEnforcingConsecutiveLocalOriginFailureOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getEnforcingConsecutiveLocalOriginFailureOrBuilder()
         The % chance that a host will be actually ejected when an outlier status
         is detected through consecutive locally originated failures. This setting can be
         used to disable ejection or to ramp it up slowly. Defaults to 100.
         Parameter takes effect only when
         :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
         is set to true.
         
        .google.protobuf.UInt32Value enforcing_consecutive_local_origin_failure = 14 [(.validate.rules) = { ... }
        Specified by:
        getEnforcingConsecutiveLocalOriginFailureOrBuilder in interface OutlierDetectionOrBuilder
      • hasEnforcingLocalOriginSuccessRate

        public boolean hasEnforcingLocalOriginSuccessRate()
         The % chance that a host will be actually ejected when an outlier status
         is detected through success rate statistics for locally originated errors.
         This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100.
         Parameter takes effect only when
         :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
         is set to true.
         
        .google.protobuf.UInt32Value enforcing_local_origin_success_rate = 15 [(.validate.rules) = { ... }
        Specified by:
        hasEnforcingLocalOriginSuccessRate in interface OutlierDetectionOrBuilder
        Returns:
        Whether the enforcingLocalOriginSuccessRate field is set.
      • getEnforcingLocalOriginSuccessRate

        public com.google.protobuf.UInt32Value getEnforcingLocalOriginSuccessRate()
         The % chance that a host will be actually ejected when an outlier status
         is detected through success rate statistics for locally originated errors.
         This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100.
         Parameter takes effect only when
         :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
         is set to true.
         
        .google.protobuf.UInt32Value enforcing_local_origin_success_rate = 15 [(.validate.rules) = { ... }
        Specified by:
        getEnforcingLocalOriginSuccessRate in interface OutlierDetectionOrBuilder
        Returns:
        The enforcingLocalOriginSuccessRate.
      • getEnforcingLocalOriginSuccessRateOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getEnforcingLocalOriginSuccessRateOrBuilder()
         The % chance that a host will be actually ejected when an outlier status
         is detected through success rate statistics for locally originated errors.
         This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100.
         Parameter takes effect only when
         :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
         is set to true.
         
        .google.protobuf.UInt32Value enforcing_local_origin_success_rate = 15 [(.validate.rules) = { ... }
        Specified by:
        getEnforcingLocalOriginSuccessRateOrBuilder in interface OutlierDetectionOrBuilder
      • hasFailurePercentageThreshold

        public boolean hasFailurePercentageThreshold()
         The failure percentage to use when determining failure percentage-based outlier detection. If
         the failure percentage of a given host is greater than or equal to this value, it will be
         ejected. Defaults to 85.
         
        .google.protobuf.UInt32Value failure_percentage_threshold = 16 [(.validate.rules) = { ... }
        Specified by:
        hasFailurePercentageThreshold in interface OutlierDetectionOrBuilder
        Returns:
        Whether the failurePercentageThreshold field is set.
      • getFailurePercentageThreshold

        public com.google.protobuf.UInt32Value getFailurePercentageThreshold()
         The failure percentage to use when determining failure percentage-based outlier detection. If
         the failure percentage of a given host is greater than or equal to this value, it will be
         ejected. Defaults to 85.
         
        .google.protobuf.UInt32Value failure_percentage_threshold = 16 [(.validate.rules) = { ... }
        Specified by:
        getFailurePercentageThreshold in interface OutlierDetectionOrBuilder
        Returns:
        The failurePercentageThreshold.
      • getFailurePercentageThresholdOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getFailurePercentageThresholdOrBuilder()
         The failure percentage to use when determining failure percentage-based outlier detection. If
         the failure percentage of a given host is greater than or equal to this value, it will be
         ejected. Defaults to 85.
         
        .google.protobuf.UInt32Value failure_percentage_threshold = 16 [(.validate.rules) = { ... }
        Specified by:
        getFailurePercentageThresholdOrBuilder in interface OutlierDetectionOrBuilder
      • hasEnforcingFailurePercentage

        public boolean hasEnforcingFailurePercentage()
         The % chance that a host will be actually ejected when an outlier status is detected through
         failure percentage statistics. This setting can be used to disable ejection or to ramp it up
         slowly. Defaults to 0.
         [#next-major-version: setting this without setting failure_percentage_threshold should be
         invalid in v4.]
         
        .google.protobuf.UInt32Value enforcing_failure_percentage = 17 [(.validate.rules) = { ... }
        Specified by:
        hasEnforcingFailurePercentage in interface OutlierDetectionOrBuilder
        Returns:
        Whether the enforcingFailurePercentage field is set.
      • getEnforcingFailurePercentage

        public com.google.protobuf.UInt32Value getEnforcingFailurePercentage()
         The % chance that a host will be actually ejected when an outlier status is detected through
         failure percentage statistics. This setting can be used to disable ejection or to ramp it up
         slowly. Defaults to 0.
         [#next-major-version: setting this without setting failure_percentage_threshold should be
         invalid in v4.]
         
        .google.protobuf.UInt32Value enforcing_failure_percentage = 17 [(.validate.rules) = { ... }
        Specified by:
        getEnforcingFailurePercentage in interface OutlierDetectionOrBuilder
        Returns:
        The enforcingFailurePercentage.
      • getEnforcingFailurePercentageOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getEnforcingFailurePercentageOrBuilder()
         The % chance that a host will be actually ejected when an outlier status is detected through
         failure percentage statistics. This setting can be used to disable ejection or to ramp it up
         slowly. Defaults to 0.
         [#next-major-version: setting this without setting failure_percentage_threshold should be
         invalid in v4.]
         
        .google.protobuf.UInt32Value enforcing_failure_percentage = 17 [(.validate.rules) = { ... }
        Specified by:
        getEnforcingFailurePercentageOrBuilder in interface OutlierDetectionOrBuilder
      • hasEnforcingFailurePercentageLocalOrigin

        public boolean hasEnforcingFailurePercentageLocalOrigin()
         The % chance that a host will be actually ejected when an outlier status is detected through
         local-origin failure percentage statistics. This setting can be used to disable ejection or to
         ramp it up slowly. Defaults to 0.
         
        .google.protobuf.UInt32Value enforcing_failure_percentage_local_origin = 18 [(.validate.rules) = { ... }
        Specified by:
        hasEnforcingFailurePercentageLocalOrigin in interface OutlierDetectionOrBuilder
        Returns:
        Whether the enforcingFailurePercentageLocalOrigin field is set.
      • getEnforcingFailurePercentageLocalOrigin

        public com.google.protobuf.UInt32Value getEnforcingFailurePercentageLocalOrigin()
         The % chance that a host will be actually ejected when an outlier status is detected through
         local-origin failure percentage statistics. This setting can be used to disable ejection or to
         ramp it up slowly. Defaults to 0.
         
        .google.protobuf.UInt32Value enforcing_failure_percentage_local_origin = 18 [(.validate.rules) = { ... }
        Specified by:
        getEnforcingFailurePercentageLocalOrigin in interface OutlierDetectionOrBuilder
        Returns:
        The enforcingFailurePercentageLocalOrigin.
      • getEnforcingFailurePercentageLocalOriginOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getEnforcingFailurePercentageLocalOriginOrBuilder()
         The % chance that a host will be actually ejected when an outlier status is detected through
         local-origin failure percentage statistics. This setting can be used to disable ejection or to
         ramp it up slowly. Defaults to 0.
         
        .google.protobuf.UInt32Value enforcing_failure_percentage_local_origin = 18 [(.validate.rules) = { ... }
        Specified by:
        getEnforcingFailurePercentageLocalOriginOrBuilder in interface OutlierDetectionOrBuilder
      • hasFailurePercentageMinimumHosts

        public boolean hasFailurePercentageMinimumHosts()
         The minimum number of hosts in a cluster in order to perform failure percentage-based ejection.
         If the total number of hosts in the cluster is less than this value, failure percentage-based
         ejection will not be performed. Defaults to 5.
         
        .google.protobuf.UInt32Value failure_percentage_minimum_hosts = 19;
        Specified by:
        hasFailurePercentageMinimumHosts in interface OutlierDetectionOrBuilder
        Returns:
        Whether the failurePercentageMinimumHosts field is set.
      • getFailurePercentageMinimumHosts

        public com.google.protobuf.UInt32Value getFailurePercentageMinimumHosts()
         The minimum number of hosts in a cluster in order to perform failure percentage-based ejection.
         If the total number of hosts in the cluster is less than this value, failure percentage-based
         ejection will not be performed. Defaults to 5.
         
        .google.protobuf.UInt32Value failure_percentage_minimum_hosts = 19;
        Specified by:
        getFailurePercentageMinimumHosts in interface OutlierDetectionOrBuilder
        Returns:
        The failurePercentageMinimumHosts.
      • getFailurePercentageMinimumHostsOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getFailurePercentageMinimumHostsOrBuilder()
         The minimum number of hosts in a cluster in order to perform failure percentage-based ejection.
         If the total number of hosts in the cluster is less than this value, failure percentage-based
         ejection will not be performed. Defaults to 5.
         
        .google.protobuf.UInt32Value failure_percentage_minimum_hosts = 19;
        Specified by:
        getFailurePercentageMinimumHostsOrBuilder in interface OutlierDetectionOrBuilder
      • hasFailurePercentageRequestVolume

        public boolean hasFailurePercentageRequestVolume()
         The minimum number of total requests that must be collected in one interval (as defined by the
         interval duration above) to perform failure percentage-based ejection for this host. If the
         volume is lower than this setting, failure percentage-based ejection will not be performed for
         this host. Defaults to 50.
         
        .google.protobuf.UInt32Value failure_percentage_request_volume = 20;
        Specified by:
        hasFailurePercentageRequestVolume in interface OutlierDetectionOrBuilder
        Returns:
        Whether the failurePercentageRequestVolume field is set.
      • getFailurePercentageRequestVolume

        public com.google.protobuf.UInt32Value getFailurePercentageRequestVolume()
         The minimum number of total requests that must be collected in one interval (as defined by the
         interval duration above) to perform failure percentage-based ejection for this host. If the
         volume is lower than this setting, failure percentage-based ejection will not be performed for
         this host. Defaults to 50.
         
        .google.protobuf.UInt32Value failure_percentage_request_volume = 20;
        Specified by:
        getFailurePercentageRequestVolume in interface OutlierDetectionOrBuilder
        Returns:
        The failurePercentageRequestVolume.
      • getFailurePercentageRequestVolumeOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getFailurePercentageRequestVolumeOrBuilder()
         The minimum number of total requests that must be collected in one interval (as defined by the
         interval duration above) to perform failure percentage-based ejection for this host. If the
         volume is lower than this setting, failure percentage-based ejection will not be performed for
         this host. Defaults to 50.
         
        .google.protobuf.UInt32Value failure_percentage_request_volume = 20;
        Specified by:
        getFailurePercentageRequestVolumeOrBuilder in interface OutlierDetectionOrBuilder
      • hasMaxEjectionTime

        public boolean hasMaxEjectionTime()
         The maximum time that a host is ejected for. See :ref:`base_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>`
         for more information. If not specified, the default value (300000ms or 300s) or
         :ref:`base_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>` value is applied, whatever is larger.
         
        .google.protobuf.Duration max_ejection_time = 21 [(.validate.rules) = { ... }
        Specified by:
        hasMaxEjectionTime in interface OutlierDetectionOrBuilder
        Returns:
        Whether the maxEjectionTime field is set.
      • getMaxEjectionTime

        public com.google.protobuf.Duration getMaxEjectionTime()
         The maximum time that a host is ejected for. See :ref:`base_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>`
         for more information. If not specified, the default value (300000ms or 300s) or
         :ref:`base_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>` value is applied, whatever is larger.
         
        .google.protobuf.Duration max_ejection_time = 21 [(.validate.rules) = { ... }
        Specified by:
        getMaxEjectionTime in interface OutlierDetectionOrBuilder
        Returns:
        The maxEjectionTime.
      • getMaxEjectionTimeOrBuilder

        public com.google.protobuf.DurationOrBuilder getMaxEjectionTimeOrBuilder()
         The maximum time that a host is ejected for. See :ref:`base_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>`
         for more information. If not specified, the default value (300000ms or 300s) or
         :ref:`base_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>` value is applied, whatever is larger.
         
        .google.protobuf.Duration max_ejection_time = 21 [(.validate.rules) = { ... }
        Specified by:
        getMaxEjectionTimeOrBuilder in interface OutlierDetectionOrBuilder
      • hasMaxEjectionTimeJitter

        public boolean hasMaxEjectionTimeJitter()
         The maximum amount of jitter to add to the ejection time, in order to prevent
         a 'thundering herd' effect where all proxies try to reconnect to host at the same time.
         See :ref:`max_ejection_time_jitter<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>`
         Defaults to 0s.
         
        .google.protobuf.Duration max_ejection_time_jitter = 22;
        Specified by:
        hasMaxEjectionTimeJitter in interface OutlierDetectionOrBuilder
        Returns:
        Whether the maxEjectionTimeJitter field is set.
      • getMaxEjectionTimeJitter

        public com.google.protobuf.Duration getMaxEjectionTimeJitter()
         The maximum amount of jitter to add to the ejection time, in order to prevent
         a 'thundering herd' effect where all proxies try to reconnect to host at the same time.
         See :ref:`max_ejection_time_jitter<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>`
         Defaults to 0s.
         
        .google.protobuf.Duration max_ejection_time_jitter = 22;
        Specified by:
        getMaxEjectionTimeJitter in interface OutlierDetectionOrBuilder
        Returns:
        The maxEjectionTimeJitter.
      • getMaxEjectionTimeJitterOrBuilder

        public com.google.protobuf.DurationOrBuilder getMaxEjectionTimeJitterOrBuilder()
         The maximum amount of jitter to add to the ejection time, in order to prevent
         a 'thundering herd' effect where all proxies try to reconnect to host at the same time.
         See :ref:`max_ejection_time_jitter<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>`
         Defaults to 0s.
         
        .google.protobuf.Duration max_ejection_time_jitter = 22;
        Specified by:
        getMaxEjectionTimeJitterOrBuilder in interface OutlierDetectionOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static OutlierDetection parseFrom​(ByteBuffer data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OutlierDetection parseFrom​(ByteBuffer data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OutlierDetection parseFrom​(com.google.protobuf.ByteString data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OutlierDetection parseFrom​(com.google.protobuf.ByteString data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OutlierDetection parseFrom​(byte[] data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OutlierDetection parseFrom​(byte[] data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OutlierDetection parseFrom​(com.google.protobuf.CodedInputStream input,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws IOException
        Throws:
        IOException
      • newBuilderForType

        public OutlierDetection.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public OutlierDetection.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected OutlierDetection.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<OutlierDetection> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public OutlierDetection getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder