public static final class AdmissionControl.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder> implements AdmissionControlOrBuilder
[#next-free-field: 6]Protobuf type
envoy.extensions.filters.http.admission_control.v3alpha.AdmissionControl| Modifier and Type | Method and Description |
|---|---|
AdmissionControl.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AdmissionControl |
build() |
AdmissionControl |
buildPartial() |
AdmissionControl.Builder |
clear() |
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.
|
AdmissionControl.Builder |
clearEnabled()
If set to false, the admission control filter will operate as a pass-through filter.
|
AdmissionControl.Builder |
clearEvaluationCriteria() |
AdmissionControl.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AdmissionControl.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AdmissionControl.Builder |
clearSamplingWindow()
The sliding time window over which the success rate is calculated.
|
AdmissionControl.Builder |
clearSrThreshold()
Dictates the success rate at which the rejection probability is non-zero.
|
AdmissionControl.Builder |
clearSuccessCriteria()
.envoy.extensions.filters.http.admission_control.v3alpha.AdmissionControl.SuccessCriteria success_criteria = 2; |
AdmissionControl.Builder |
clone() |
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.
|
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.
|
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.
|
AdmissionControl |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RuntimeFeatureFlag |
getEnabled()
If set to false, the admission control filter will operate as a pass-through filter.
|
RuntimeFeatureFlag.Builder |
getEnabledBuilder()
If set to false, the admission control filter will operate as a pass-through filter.
|
RuntimeFeatureFlagOrBuilder |
getEnabledOrBuilder()
If set to false, the admission control filter will operate as a pass-through filter.
|
AdmissionControl.EvaluationCriteriaCase |
getEvaluationCriteriaCase() |
com.google.protobuf.Duration |
getSamplingWindow()
The sliding time window over which the success rate is calculated.
|
com.google.protobuf.Duration.Builder |
getSamplingWindowBuilder()
The sliding time window over which the success rate is calculated.
|
com.google.protobuf.DurationOrBuilder |
getSamplingWindowOrBuilder()
The sliding time window over which the success rate is calculated.
|
RuntimePercent |
getSrThreshold()
Dictates the success rate at which the rejection probability is non-zero.
|
RuntimePercent.Builder |
getSrThresholdBuilder()
Dictates the success rate at which the rejection probability is non-zero.
|
RuntimePercentOrBuilder |
getSrThresholdOrBuilder()
Dictates the success rate at which the rejection probability is non-zero.
|
AdmissionControl.SuccessCriteria |
getSuccessCriteria()
.envoy.extensions.filters.http.admission_control.v3alpha.AdmissionControl.SuccessCriteria success_criteria = 2; |
AdmissionControl.SuccessCriteria.Builder |
getSuccessCriteriaBuilder()
.envoy.extensions.filters.http.admission_control.v3alpha.AdmissionControl.SuccessCriteria success_criteria = 2; |
AdmissionControl.SuccessCriteriaOrBuilder |
getSuccessCriteriaOrBuilder()
.envoy.extensions.filters.http.admission_control.v3alpha.AdmissionControl.SuccessCriteria success_criteria = 2; |
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.
|
boolean |
hasEnabled()
If set to false, the admission control filter will operate as a pass-through filter.
|
boolean |
hasSamplingWindow()
The sliding time window over which the success rate is calculated.
|
boolean |
hasSrThreshold()
Dictates the success rate at which the rejection probability is non-zero.
|
boolean |
hasSuccessCriteria()
.envoy.extensions.filters.http.admission_control.v3alpha.AdmissionControl.SuccessCriteria success_criteria = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
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.
|
AdmissionControl.Builder |
mergeEnabled(RuntimeFeatureFlag value)
If set to false, the admission control filter will operate as a pass-through filter.
|
AdmissionControl.Builder |
mergeFrom(AdmissionControl other) |
AdmissionControl.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AdmissionControl.Builder |
mergeFrom(com.google.protobuf.Message other) |
AdmissionControl.Builder |
mergeSamplingWindow(com.google.protobuf.Duration value)
The sliding time window over which the success rate is calculated.
|
AdmissionControl.Builder |
mergeSrThreshold(RuntimePercent value)
Dictates the success rate at which the rejection probability is non-zero.
|
AdmissionControl.Builder |
mergeSuccessCriteria(AdmissionControl.SuccessCriteria value)
.envoy.extensions.filters.http.admission_control.v3alpha.AdmissionControl.SuccessCriteria success_criteria = 2; |
AdmissionControl.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.
|
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.
|
AdmissionControl.Builder |
setEnabled(RuntimeFeatureFlag.Builder builderForValue)
If set to false, the admission control filter will operate as a pass-through filter.
|
AdmissionControl.Builder |
setEnabled(RuntimeFeatureFlag value)
If set to false, the admission control filter will operate as a pass-through filter.
|
AdmissionControl.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AdmissionControl.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AdmissionControl.Builder |
setSamplingWindow(com.google.protobuf.Duration.Builder builderForValue)
The sliding time window over which the success rate is calculated.
|
AdmissionControl.Builder |
setSamplingWindow(com.google.protobuf.Duration value)
The sliding time window over which the success rate is calculated.
|
AdmissionControl.Builder |
setSrThreshold(RuntimePercent.Builder builderForValue)
Dictates the success rate at which the rejection probability is non-zero.
|
AdmissionControl.Builder |
setSrThreshold(RuntimePercent value)
Dictates the success rate at which the rejection probability is non-zero.
|
AdmissionControl.Builder |
setSuccessCriteria(AdmissionControl.SuccessCriteria.Builder builderForValue)
.envoy.extensions.filters.http.admission_control.v3alpha.AdmissionControl.SuccessCriteria success_criteria = 2; |
AdmissionControl.Builder |
setSuccessCriteria(AdmissionControl.SuccessCriteria value)
.envoy.extensions.filters.http.admission_control.v3alpha.AdmissionControl.SuccessCriteria success_criteria = 2; |
AdmissionControl.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>public AdmissionControl.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>public AdmissionControl getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AdmissionControl build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AdmissionControl buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AdmissionControl.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>public AdmissionControl.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>public AdmissionControl.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>public AdmissionControl.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>public AdmissionControl.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>public AdmissionControl.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>public AdmissionControl.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdmissionControl.Builder>public AdmissionControl.Builder mergeFrom(AdmissionControl other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>public AdmissionControl.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdmissionControl.Builder>IOExceptionpublic AdmissionControl.EvaluationCriteriaCase getEvaluationCriteriaCase()
getEvaluationCriteriaCase in interface AdmissionControlOrBuilderpublic AdmissionControl.Builder clearEvaluationCriteria()
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;hasEnabled in interface AdmissionControlOrBuilderpublic 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;getEnabled in interface AdmissionControlOrBuilderpublic 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;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;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;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;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;public RuntimeFeatureFlagOrBuilder 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;getEnabledOrBuilder in interface AdmissionControlOrBuilderpublic boolean hasSuccessCriteria()
.envoy.extensions.filters.http.admission_control.v3alpha.AdmissionControl.SuccessCriteria success_criteria = 2;hasSuccessCriteria in interface AdmissionControlOrBuilderpublic AdmissionControl.SuccessCriteria getSuccessCriteria()
.envoy.extensions.filters.http.admission_control.v3alpha.AdmissionControl.SuccessCriteria success_criteria = 2;getSuccessCriteria in interface AdmissionControlOrBuilderpublic AdmissionControl.Builder setSuccessCriteria(AdmissionControl.SuccessCriteria value)
.envoy.extensions.filters.http.admission_control.v3alpha.AdmissionControl.SuccessCriteria success_criteria = 2;public AdmissionControl.Builder setSuccessCriteria(AdmissionControl.SuccessCriteria.Builder builderForValue)
.envoy.extensions.filters.http.admission_control.v3alpha.AdmissionControl.SuccessCriteria success_criteria = 2;public AdmissionControl.Builder mergeSuccessCriteria(AdmissionControl.SuccessCriteria value)
.envoy.extensions.filters.http.admission_control.v3alpha.AdmissionControl.SuccessCriteria success_criteria = 2;public AdmissionControl.Builder clearSuccessCriteria()
.envoy.extensions.filters.http.admission_control.v3alpha.AdmissionControl.SuccessCriteria success_criteria = 2;public AdmissionControl.SuccessCriteria.Builder getSuccessCriteriaBuilder()
.envoy.extensions.filters.http.admission_control.v3alpha.AdmissionControl.SuccessCriteria success_criteria = 2;public AdmissionControl.SuccessCriteriaOrBuilder getSuccessCriteriaOrBuilder()
.envoy.extensions.filters.http.admission_control.v3alpha.AdmissionControl.SuccessCriteria success_criteria = 2;getSuccessCriteriaOrBuilder in interface AdmissionControlOrBuilderpublic 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;hasSamplingWindow in interface AdmissionControlOrBuilderpublic 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;getSamplingWindow in interface AdmissionControlOrBuilderpublic 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;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;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;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;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;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;getSamplingWindowOrBuilder in interface AdmissionControlOrBuilderpublic 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;hasAggression in interface AdmissionControlOrBuilderpublic 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;getAggression in interface AdmissionControlOrBuilderpublic 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;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;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;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;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;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;getAggressionOrBuilder in interface AdmissionControlOrBuilderpublic 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;hasSrThreshold in interface AdmissionControlOrBuilderpublic 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;getSrThreshold in interface AdmissionControlOrBuilderpublic 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;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;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;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;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;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;getSrThresholdOrBuilder in interface AdmissionControlOrBuilderpublic final AdmissionControl.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>public final AdmissionControl.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.