Class AdmissionControl.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AdmissionControlOrBuilder, Cloneable
    Enclosing class:
    AdmissionControl

    public static final class AdmissionControl.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>
    implements AdmissionControlOrBuilder
     [#next-free-field: 8]
     
    Protobuf type envoy.extensions.filters.http.admission_control.v3.AdmissionControl
    • Method Detail

      • 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.Builder<AdmissionControl.Builder>
      • clear

        public AdmissionControl.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>
      • getDefaultInstanceForType

        public AdmissionControl getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public AdmissionControl build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public AdmissionControl buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public AdmissionControl.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>
      • setField

        public AdmissionControl.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>
      • clearField

        public AdmissionControl.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>
      • clearOneof

        public AdmissionControl.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>
      • setRepeatedField

        public AdmissionControl.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         int index,
                                                         Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>
      • addRepeatedField

        public AdmissionControl.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>
      • mergeFrom

        public AdmissionControl.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdmissionControl.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>
      • mergeFrom

        public AdmissionControl.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdmissionControl.Builder>
        Throws:
        IOException
      • hasEnabled

        public boolean hasEnabled()
         If set to false, the admission control filter will operate as a pass-through filter. If the
         message is unspecified, the filter will be enabled.
         
        .envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;
        Specified by:
        hasEnabled in interface AdmissionControlOrBuilder
        Returns:
        Whether the enabled field is set.
      • getEnabled

        public RuntimeFeatureFlag getEnabled()
         If set to false, the admission control filter will operate as a pass-through filter. If the
         message is unspecified, the filter will be enabled.
         
        .envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;
        Specified by:
        getEnabled in interface AdmissionControlOrBuilder
        Returns:
        The enabled.
      • setEnabled

        public AdmissionControl.Builder setEnabled​(RuntimeFeatureFlag value)
         If set to false, the admission control filter will operate as a pass-through filter. If the
         message is unspecified, the filter will be enabled.
         
        .envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;
      • setEnabled

        public AdmissionControl.Builder setEnabled​(RuntimeFeatureFlag.Builder builderForValue)
         If set to false, the admission control filter will operate as a pass-through filter. If the
         message is unspecified, the filter will be enabled.
         
        .envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;
      • mergeEnabled

        public AdmissionControl.Builder mergeEnabled​(RuntimeFeatureFlag value)
         If set to false, the admission control filter will operate as a pass-through filter. If the
         message is unspecified, the filter will be enabled.
         
        .envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;
      • clearEnabled

        public AdmissionControl.Builder clearEnabled()
         If set to false, the admission control filter will operate as a pass-through filter. If the
         message is unspecified, the filter will be enabled.
         
        .envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;
      • getEnabledBuilder

        public RuntimeFeatureFlag.Builder getEnabledBuilder()
         If set to false, the admission control filter will operate as a pass-through filter. If the
         message is unspecified, the filter will be enabled.
         
        .envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;
      • hasSuccessCriteria

        public boolean hasSuccessCriteria()
        .envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;
        Specified by:
        hasSuccessCriteria in interface AdmissionControlOrBuilder
        Returns:
        Whether the successCriteria field is set.
      • clearSuccessCriteria

        public AdmissionControl.Builder clearSuccessCriteria()
        .envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;
      • getSuccessCriteriaBuilder

        public AdmissionControl.SuccessCriteria.Builder getSuccessCriteriaBuilder()
        .envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;
      • hasSamplingWindow

        public boolean hasSamplingWindow()
         The sliding time window over which the success rate is calculated. The window is rounded to the
         nearest second. Defaults to 30s.
         
        .google.protobuf.Duration sampling_window = 3;
        Specified by:
        hasSamplingWindow in interface AdmissionControlOrBuilder
        Returns:
        Whether the samplingWindow field is set.
      • getSamplingWindow

        public com.google.protobuf.Duration getSamplingWindow()
         The sliding time window over which the success rate is calculated. The window is rounded to the
         nearest second. Defaults to 30s.
         
        .google.protobuf.Duration sampling_window = 3;
        Specified by:
        getSamplingWindow in interface AdmissionControlOrBuilder
        Returns:
        The samplingWindow.
      • setSamplingWindow

        public AdmissionControl.Builder setSamplingWindow​(com.google.protobuf.Duration value)
         The sliding time window over which the success rate is calculated. The window is rounded to the
         nearest second. Defaults to 30s.
         
        .google.protobuf.Duration sampling_window = 3;
      • setSamplingWindow

        public AdmissionControl.Builder setSamplingWindow​(com.google.protobuf.Duration.Builder builderForValue)
         The sliding time window over which the success rate is calculated. The window is rounded to the
         nearest second. Defaults to 30s.
         
        .google.protobuf.Duration sampling_window = 3;
      • mergeSamplingWindow

        public AdmissionControl.Builder mergeSamplingWindow​(com.google.protobuf.Duration value)
         The sliding time window over which the success rate is calculated. The window is rounded to the
         nearest second. Defaults to 30s.
         
        .google.protobuf.Duration sampling_window = 3;
      • clearSamplingWindow

        public AdmissionControl.Builder clearSamplingWindow()
         The sliding time window over which the success rate is calculated. The window is rounded to the
         nearest second. Defaults to 30s.
         
        .google.protobuf.Duration sampling_window = 3;
      • getSamplingWindowBuilder

        public com.google.protobuf.Duration.Builder getSamplingWindowBuilder()
         The sliding time window over which the success rate is calculated. The window is rounded to the
         nearest second. Defaults to 30s.
         
        .google.protobuf.Duration sampling_window = 3;
      • getSamplingWindowOrBuilder

        public com.google.protobuf.DurationOrBuilder getSamplingWindowOrBuilder()
         The sliding time window over which the success rate is calculated. The window is rounded to the
         nearest second. Defaults to 30s.
         
        .google.protobuf.Duration sampling_window = 3;
        Specified by:
        getSamplingWindowOrBuilder in interface AdmissionControlOrBuilder
      • hasAggression

        public boolean hasAggression()
         Rejection probability is defined by the formula::
             max(0, (rq_count -  rq_success_count / sr_threshold) / (rq_count + 1)) ^ (1 / aggression)
         The aggression dictates how heavily the admission controller will throttle requests upon SR
         dropping at or below the threshold. A value of 1 will result in a linear increase in
         rejection probability as SR drops. Any values less than 1.0, will be set to 1.0. If the
         message is unspecified, the aggression is 1.0. See `the admission control documentation
         <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/admission_control_filter.html>`_
         for a diagram illustrating this.
         
        .envoy.config.core.v3.RuntimeDouble aggression = 4;
        Specified by:
        hasAggression in interface AdmissionControlOrBuilder
        Returns:
        Whether the aggression field is set.
      • getAggression

        public RuntimeDouble getAggression()
         Rejection probability is defined by the formula::
             max(0, (rq_count -  rq_success_count / sr_threshold) / (rq_count + 1)) ^ (1 / aggression)
         The aggression dictates how heavily the admission controller will throttle requests upon SR
         dropping at or below the threshold. A value of 1 will result in a linear increase in
         rejection probability as SR drops. Any values less than 1.0, will be set to 1.0. If the
         message is unspecified, the aggression is 1.0. See `the admission control documentation
         <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/admission_control_filter.html>`_
         for a diagram illustrating this.
         
        .envoy.config.core.v3.RuntimeDouble aggression = 4;
        Specified by:
        getAggression in interface AdmissionControlOrBuilder
        Returns:
        The aggression.
      • setAggression

        public AdmissionControl.Builder setAggression​(RuntimeDouble value)
         Rejection probability is defined by the formula::
             max(0, (rq_count -  rq_success_count / sr_threshold) / (rq_count + 1)) ^ (1 / aggression)
         The aggression dictates how heavily the admission controller will throttle requests upon SR
         dropping at or below the threshold. A value of 1 will result in a linear increase in
         rejection probability as SR drops. Any values less than 1.0, will be set to 1.0. If the
         message is unspecified, the aggression is 1.0. See `the admission control documentation
         <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/admission_control_filter.html>`_
         for a diagram illustrating this.
         
        .envoy.config.core.v3.RuntimeDouble aggression = 4;
      • setAggression

        public AdmissionControl.Builder setAggression​(RuntimeDouble.Builder builderForValue)
         Rejection probability is defined by the formula::
             max(0, (rq_count -  rq_success_count / sr_threshold) / (rq_count + 1)) ^ (1 / aggression)
         The aggression dictates how heavily the admission controller will throttle requests upon SR
         dropping at or below the threshold. A value of 1 will result in a linear increase in
         rejection probability as SR drops. Any values less than 1.0, will be set to 1.0. If the
         message is unspecified, the aggression is 1.0. See `the admission control documentation
         <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/admission_control_filter.html>`_
         for a diagram illustrating this.
         
        .envoy.config.core.v3.RuntimeDouble aggression = 4;
      • mergeAggression

        public AdmissionControl.Builder mergeAggression​(RuntimeDouble value)
         Rejection probability is defined by the formula::
             max(0, (rq_count -  rq_success_count / sr_threshold) / (rq_count + 1)) ^ (1 / aggression)
         The aggression dictates how heavily the admission controller will throttle requests upon SR
         dropping at or below the threshold. A value of 1 will result in a linear increase in
         rejection probability as SR drops. Any values less than 1.0, will be set to 1.0. If the
         message is unspecified, the aggression is 1.0. See `the admission control documentation
         <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/admission_control_filter.html>`_
         for a diagram illustrating this.
         
        .envoy.config.core.v3.RuntimeDouble aggression = 4;
      • clearAggression

        public AdmissionControl.Builder clearAggression()
         Rejection probability is defined by the formula::
             max(0, (rq_count -  rq_success_count / sr_threshold) / (rq_count + 1)) ^ (1 / aggression)
         The aggression dictates how heavily the admission controller will throttle requests upon SR
         dropping at or below the threshold. A value of 1 will result in a linear increase in
         rejection probability as SR drops. Any values less than 1.0, will be set to 1.0. If the
         message is unspecified, the aggression is 1.0. See `the admission control documentation
         <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/admission_control_filter.html>`_
         for a diagram illustrating this.
         
        .envoy.config.core.v3.RuntimeDouble aggression = 4;
      • getAggressionBuilder

        public RuntimeDouble.Builder getAggressionBuilder()
         Rejection probability is defined by the formula::
             max(0, (rq_count -  rq_success_count / sr_threshold) / (rq_count + 1)) ^ (1 / aggression)
         The aggression dictates how heavily the admission controller will throttle requests upon SR
         dropping at or below the threshold. A value of 1 will result in a linear increase in
         rejection probability as SR drops. Any values less than 1.0, will be set to 1.0. If the
         message is unspecified, the aggression is 1.0. See `the admission control documentation
         <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/admission_control_filter.html>`_
         for a diagram illustrating this.
         
        .envoy.config.core.v3.RuntimeDouble aggression = 4;
      • getAggressionOrBuilder

        public RuntimeDoubleOrBuilder getAggressionOrBuilder()
         Rejection probability is defined by the formula::
             max(0, (rq_count -  rq_success_count / sr_threshold) / (rq_count + 1)) ^ (1 / aggression)
         The aggression dictates how heavily the admission controller will throttle requests upon SR
         dropping at or below the threshold. A value of 1 will result in a linear increase in
         rejection probability as SR drops. Any values less than 1.0, will be set to 1.0. If the
         message is unspecified, the aggression is 1.0. See `the admission control documentation
         <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/admission_control_filter.html>`_
         for a diagram illustrating this.
         
        .envoy.config.core.v3.RuntimeDouble aggression = 4;
        Specified by:
        getAggressionOrBuilder in interface AdmissionControlOrBuilder
      • hasSrThreshold

        public boolean hasSrThreshold()
         Dictates the success rate at which the rejection probability is non-zero. As success rate drops
         below this threshold, rejection probability will increase. Any success rate above the threshold
         results in a rejection probability of 0. Defaults to 95%.
         
        .envoy.config.core.v3.RuntimePercent sr_threshold = 5;
        Specified by:
        hasSrThreshold in interface AdmissionControlOrBuilder
        Returns:
        Whether the srThreshold field is set.
      • getSrThreshold

        public RuntimePercent getSrThreshold()
         Dictates the success rate at which the rejection probability is non-zero. As success rate drops
         below this threshold, rejection probability will increase. Any success rate above the threshold
         results in a rejection probability of 0. Defaults to 95%.
         
        .envoy.config.core.v3.RuntimePercent sr_threshold = 5;
        Specified by:
        getSrThreshold in interface AdmissionControlOrBuilder
        Returns:
        The srThreshold.
      • setSrThreshold

        public AdmissionControl.Builder setSrThreshold​(RuntimePercent value)
         Dictates the success rate at which the rejection probability is non-zero. As success rate drops
         below this threshold, rejection probability will increase. Any success rate above the threshold
         results in a rejection probability of 0. Defaults to 95%.
         
        .envoy.config.core.v3.RuntimePercent sr_threshold = 5;
      • setSrThreshold

        public AdmissionControl.Builder setSrThreshold​(RuntimePercent.Builder builderForValue)
         Dictates the success rate at which the rejection probability is non-zero. As success rate drops
         below this threshold, rejection probability will increase. Any success rate above the threshold
         results in a rejection probability of 0. Defaults to 95%.
         
        .envoy.config.core.v3.RuntimePercent sr_threshold = 5;
      • mergeSrThreshold

        public AdmissionControl.Builder mergeSrThreshold​(RuntimePercent value)
         Dictates the success rate at which the rejection probability is non-zero. As success rate drops
         below this threshold, rejection probability will increase. Any success rate above the threshold
         results in a rejection probability of 0. Defaults to 95%.
         
        .envoy.config.core.v3.RuntimePercent sr_threshold = 5;
      • clearSrThreshold

        public AdmissionControl.Builder clearSrThreshold()
         Dictates the success rate at which the rejection probability is non-zero. As success rate drops
         below this threshold, rejection probability will increase. Any success rate above the threshold
         results in a rejection probability of 0. Defaults to 95%.
         
        .envoy.config.core.v3.RuntimePercent sr_threshold = 5;
      • getSrThresholdBuilder

        public RuntimePercent.Builder getSrThresholdBuilder()
         Dictates the success rate at which the rejection probability is non-zero. As success rate drops
         below this threshold, rejection probability will increase. Any success rate above the threshold
         results in a rejection probability of 0. Defaults to 95%.
         
        .envoy.config.core.v3.RuntimePercent sr_threshold = 5;
      • getSrThresholdOrBuilder

        public RuntimePercentOrBuilder getSrThresholdOrBuilder()
         Dictates the success rate at which the rejection probability is non-zero. As success rate drops
         below this threshold, rejection probability will increase. Any success rate above the threshold
         results in a rejection probability of 0. Defaults to 95%.
         
        .envoy.config.core.v3.RuntimePercent sr_threshold = 5;
        Specified by:
        getSrThresholdOrBuilder in interface AdmissionControlOrBuilder
      • hasRpsThreshold

        public boolean hasRpsThreshold()
         If the average RPS of the sampling window is below this threshold, the request
         will not be rejected, even if the success rate is lower than sr_threshold.
         Defaults to 0.
         
        .envoy.config.core.v3.RuntimeUInt32 rps_threshold = 6;
        Specified by:
        hasRpsThreshold in interface AdmissionControlOrBuilder
        Returns:
        Whether the rpsThreshold field is set.
      • getRpsThreshold

        public RuntimeUInt32 getRpsThreshold()
         If the average RPS of the sampling window is below this threshold, the request
         will not be rejected, even if the success rate is lower than sr_threshold.
         Defaults to 0.
         
        .envoy.config.core.v3.RuntimeUInt32 rps_threshold = 6;
        Specified by:
        getRpsThreshold in interface AdmissionControlOrBuilder
        Returns:
        The rpsThreshold.
      • setRpsThreshold

        public AdmissionControl.Builder setRpsThreshold​(RuntimeUInt32 value)
         If the average RPS of the sampling window is below this threshold, the request
         will not be rejected, even if the success rate is lower than sr_threshold.
         Defaults to 0.
         
        .envoy.config.core.v3.RuntimeUInt32 rps_threshold = 6;
      • setRpsThreshold

        public AdmissionControl.Builder setRpsThreshold​(RuntimeUInt32.Builder builderForValue)
         If the average RPS of the sampling window is below this threshold, the request
         will not be rejected, even if the success rate is lower than sr_threshold.
         Defaults to 0.
         
        .envoy.config.core.v3.RuntimeUInt32 rps_threshold = 6;
      • mergeRpsThreshold

        public AdmissionControl.Builder mergeRpsThreshold​(RuntimeUInt32 value)
         If the average RPS of the sampling window is below this threshold, the request
         will not be rejected, even if the success rate is lower than sr_threshold.
         Defaults to 0.
         
        .envoy.config.core.v3.RuntimeUInt32 rps_threshold = 6;
      • clearRpsThreshold

        public AdmissionControl.Builder clearRpsThreshold()
         If the average RPS of the sampling window is below this threshold, the request
         will not be rejected, even if the success rate is lower than sr_threshold.
         Defaults to 0.
         
        .envoy.config.core.v3.RuntimeUInt32 rps_threshold = 6;
      • getRpsThresholdBuilder

        public RuntimeUInt32.Builder getRpsThresholdBuilder()
         If the average RPS of the sampling window is below this threshold, the request
         will not be rejected, even if the success rate is lower than sr_threshold.
         Defaults to 0.
         
        .envoy.config.core.v3.RuntimeUInt32 rps_threshold = 6;
      • getRpsThresholdOrBuilder

        public RuntimeUInt32OrBuilder getRpsThresholdOrBuilder()
         If the average RPS of the sampling window is below this threshold, the request
         will not be rejected, even if the success rate is lower than sr_threshold.
         Defaults to 0.
         
        .envoy.config.core.v3.RuntimeUInt32 rps_threshold = 6;
        Specified by:
        getRpsThresholdOrBuilder in interface AdmissionControlOrBuilder
      • hasMaxRejectionProbability

        public boolean hasMaxRejectionProbability()
         The probability of rejection will never exceed this value, even if the failure rate is rising.
         Defaults to 80%.
         
        .envoy.config.core.v3.RuntimePercent max_rejection_probability = 7;
        Specified by:
        hasMaxRejectionProbability in interface AdmissionControlOrBuilder
        Returns:
        Whether the maxRejectionProbability field is set.
      • getMaxRejectionProbability

        public RuntimePercent getMaxRejectionProbability()
         The probability of rejection will never exceed this value, even if the failure rate is rising.
         Defaults to 80%.
         
        .envoy.config.core.v3.RuntimePercent max_rejection_probability = 7;
        Specified by:
        getMaxRejectionProbability in interface AdmissionControlOrBuilder
        Returns:
        The maxRejectionProbability.
      • setMaxRejectionProbability

        public AdmissionControl.Builder setMaxRejectionProbability​(RuntimePercent value)
         The probability of rejection will never exceed this value, even if the failure rate is rising.
         Defaults to 80%.
         
        .envoy.config.core.v3.RuntimePercent max_rejection_probability = 7;
      • setMaxRejectionProbability

        public AdmissionControl.Builder setMaxRejectionProbability​(RuntimePercent.Builder builderForValue)
         The probability of rejection will never exceed this value, even if the failure rate is rising.
         Defaults to 80%.
         
        .envoy.config.core.v3.RuntimePercent max_rejection_probability = 7;
      • mergeMaxRejectionProbability

        public AdmissionControl.Builder mergeMaxRejectionProbability​(RuntimePercent value)
         The probability of rejection will never exceed this value, even if the failure rate is rising.
         Defaults to 80%.
         
        .envoy.config.core.v3.RuntimePercent max_rejection_probability = 7;
      • clearMaxRejectionProbability

        public AdmissionControl.Builder clearMaxRejectionProbability()
         The probability of rejection will never exceed this value, even if the failure rate is rising.
         Defaults to 80%.
         
        .envoy.config.core.v3.RuntimePercent max_rejection_probability = 7;
      • getMaxRejectionProbabilityBuilder

        public RuntimePercent.Builder getMaxRejectionProbabilityBuilder()
         The probability of rejection will never exceed this value, even if the failure rate is rising.
         Defaults to 80%.
         
        .envoy.config.core.v3.RuntimePercent max_rejection_probability = 7;
      • setUnknownFields

        public final AdmissionControl.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>
      • mergeUnknownFields

        public final AdmissionControl.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>