Class AdmissionControl.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>
io.envoyproxy.envoy.extensions.filters.http.admission_control.v3.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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()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.If set to false, the admission control filter will operate as a pass-through filter.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The probability of rejection will never exceed this value, even if the failure rate is rising.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) 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.The sliding time window over which the success rate is calculated.Dictates the success rate at which the rejection probability is non-zero..envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;clone()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.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.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.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIf set to false, the admission control filter will operate as a pass-through filter.If set to false, the admission control filter will operate as a pass-through filter.If set to false, the admission control filter will operate as a pass-through filter.The probability of rejection will never exceed this value, even if the failure rate is rising.The probability of rejection will never exceed this value, even if the failure rate is rising.The probability of rejection will never exceed this value, even if the failure rate is rising.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.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.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.com.google.protobuf.DurationThe sliding time window over which the success rate is calculated.com.google.protobuf.Duration.BuilderThe sliding time window over which the success rate is calculated.com.google.protobuf.DurationOrBuilderThe sliding time window over which the success rate is calculated.Dictates the success rate at which the rejection probability is non-zero.Dictates the success rate at which the rejection probability is non-zero.Dictates the success rate at which the rejection probability is non-zero..envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;.envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;.envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;booleanRejection 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.booleanIf set to false, the admission control filter will operate as a pass-through filter.booleanThe probability of rejection will never exceed this value, even if the failure rate is rising.booleanIf 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.booleanThe sliding time window over which the success rate is calculated.booleanDictates the success rate at which the rejection probability is non-zero.boolean.envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeAggression(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.mergeEnabled(RuntimeFeatureFlag value) If set to false, the admission control filter will operate as a pass-through filter.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(AdmissionControl other) The probability of rejection will never exceed this value, even if the failure rate is rising.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.mergeSamplingWindow(com.google.protobuf.Duration value) The sliding time window over which the success rate is calculated.mergeSrThreshold(RuntimePercent value) Dictates the success rate at which the rejection probability is non-zero..envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;final AdmissionControl.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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.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.setEnabled(RuntimeFeatureFlag value) If set to false, the admission control filter will operate as a pass-through filter.setEnabled(RuntimeFeatureFlag.Builder builderForValue) If set to false, the admission control filter will operate as a pass-through filter.The probability of rejection will never exceed this value, even if the failure rate is rising.setMaxRejectionProbability(RuntimePercent.Builder builderForValue) The probability of rejection will never exceed this value, even if the failure rate is rising.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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.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.setSamplingWindow(com.google.protobuf.Duration value) The sliding time window over which the success rate is calculated.setSamplingWindow(com.google.protobuf.Duration.Builder builderForValue) The sliding time window over which the success rate is calculated.setSrThreshold(RuntimePercent value) Dictates the success rate at which the rejection probability is non-zero.setSrThreshold(RuntimePercent.Builder builderForValue) Dictates the success rate at which the rejection probability is non-zero..envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;setSuccessCriteria(AdmissionControl.SuccessCriteria.Builder builderForValue) .envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;final AdmissionControl.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.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<AdmissionControl.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<AdmissionControl.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>
-
setField
public AdmissionControl.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<AdmissionControl.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>
-
setRepeatedField
public AdmissionControl.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<AdmissionControl.Builder>
-
addRepeatedField
public AdmissionControl.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<AdmissionControl.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AdmissionControl.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AdmissionControl.Builder>- Throws:
IOException
-
getEvaluationCriteriaCase
- Specified by:
getEvaluationCriteriaCasein interfaceAdmissionControlOrBuilder
-
clearEvaluationCriteria
-
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:
hasEnabledin interfaceAdmissionControlOrBuilder- Returns:
- Whether the enabled field is set.
-
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:
getEnabledin interfaceAdmissionControlOrBuilder- Returns:
- The enabled.
-
setEnabled
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
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
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
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
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; -
getEnabledOrBuilder
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:
getEnabledOrBuilderin interfaceAdmissionControlOrBuilder
-
hasSuccessCriteria
public boolean hasSuccessCriteria().envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;- Specified by:
hasSuccessCriteriain interfaceAdmissionControlOrBuilder- Returns:
- Whether the successCriteria field is set.
-
getSuccessCriteria
.envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;- Specified by:
getSuccessCriteriain interfaceAdmissionControlOrBuilder- Returns:
- The successCriteria.
-
setSuccessCriteria
.envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2; -
setSuccessCriteria
public AdmissionControl.Builder setSuccessCriteria(AdmissionControl.SuccessCriteria.Builder builderForValue) .envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2; -
mergeSuccessCriteria
.envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2; -
clearSuccessCriteria
.envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2; -
getSuccessCriteriaBuilder
.envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2; -
getSuccessCriteriaOrBuilder
.envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;- Specified by:
getSuccessCriteriaOrBuilderin interfaceAdmissionControlOrBuilder
-
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:
hasSamplingWindowin interfaceAdmissionControlOrBuilder- 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:
getSamplingWindowin interfaceAdmissionControlOrBuilder- Returns:
- The samplingWindow.
-
setSamplingWindow
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
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
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:
getSamplingWindowOrBuilderin interfaceAdmissionControlOrBuilder
-
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:
hasAggressionin interfaceAdmissionControlOrBuilder- Returns:
- Whether the aggression field is set.
-
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:
getAggressionin interfaceAdmissionControlOrBuilder- Returns:
- The aggression.
-
setAggression
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
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
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
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
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
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:
getAggressionOrBuilderin interfaceAdmissionControlOrBuilder
-
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:
hasSrThresholdin interfaceAdmissionControlOrBuilder- Returns:
- Whether the srThreshold field is set.
-
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:
getSrThresholdin interfaceAdmissionControlOrBuilder- Returns:
- The srThreshold.
-
setSrThreshold
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
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
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
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
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
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:
getSrThresholdOrBuilderin interfaceAdmissionControlOrBuilder
-
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:
hasRpsThresholdin interfaceAdmissionControlOrBuilder- Returns:
- Whether the rpsThreshold field is set.
-
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:
getRpsThresholdin interfaceAdmissionControlOrBuilder- Returns:
- The rpsThreshold.
-
setRpsThreshold
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
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
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
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
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
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:
getRpsThresholdOrBuilderin interfaceAdmissionControlOrBuilder
-
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:
hasMaxRejectionProbabilityin interfaceAdmissionControlOrBuilder- Returns:
- Whether the maxRejectionProbability field is set.
-
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:
getMaxRejectionProbabilityin interfaceAdmissionControlOrBuilder- Returns:
- The maxRejectionProbability.
-
setMaxRejectionProbability
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
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
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
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
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; -
getMaxRejectionProbabilityOrBuilder
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:
getMaxRejectionProbabilityOrBuilderin interfaceAdmissionControlOrBuilder
-
setUnknownFields
public final AdmissionControl.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>
-
mergeUnknownFields
public final AdmissionControl.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>
-