Class AdmissionControl.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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 typeenvoy.extensions.filters.http.admission_control.v3.AdmissionControl
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdmissionControl.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AdmissionControlbuild()AdmissionControlbuildPartial()AdmissionControl.Builderclear()AdmissionControl.BuilderclearAggression()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.BuilderclearEnabled()If set to false, the admission control filter will operate as a pass-through filter.AdmissionControl.BuilderclearEvaluationCriteria()AdmissionControl.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AdmissionControl.BuilderclearMaxRejectionProbability()The probability of rejection will never exceed this value, even if the failure rate is rising.AdmissionControl.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AdmissionControl.BuilderclearRpsThreshold()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.AdmissionControl.BuilderclearSamplingWindow()The sliding time window over which the success rate is calculated.AdmissionControl.BuilderclearSrThreshold()Dictates the success rate at which the rejection probability is non-zero.AdmissionControl.BuilderclearSuccessCriteria().envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;AdmissionControl.Builderclone()RuntimeDoublegetAggression()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.BuildergetAggressionBuilder()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.RuntimeDoubleOrBuildergetAggressionOrBuilder()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.AdmissionControlgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()RuntimeFeatureFlaggetEnabled()If set to false, the admission control filter will operate as a pass-through filter.RuntimeFeatureFlag.BuildergetEnabledBuilder()If set to false, the admission control filter will operate as a pass-through filter.RuntimeFeatureFlagOrBuildergetEnabledOrBuilder()If set to false, the admission control filter will operate as a pass-through filter.AdmissionControl.EvaluationCriteriaCasegetEvaluationCriteriaCase()RuntimePercentgetMaxRejectionProbability()The probability of rejection will never exceed this value, even if the failure rate is rising.RuntimePercent.BuildergetMaxRejectionProbabilityBuilder()The probability of rejection will never exceed this value, even if the failure rate is rising.RuntimePercentOrBuildergetMaxRejectionProbabilityOrBuilder()The probability of rejection will never exceed this value, even if the failure rate is rising.RuntimeUInt32getRpsThreshold()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.RuntimeUInt32.BuildergetRpsThresholdBuilder()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.RuntimeUInt32OrBuildergetRpsThresholdOrBuilder()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.DurationgetSamplingWindow()The sliding time window over which the success rate is calculated.com.google.protobuf.Duration.BuildergetSamplingWindowBuilder()The sliding time window over which the success rate is calculated.com.google.protobuf.DurationOrBuildergetSamplingWindowOrBuilder()The sliding time window over which the success rate is calculated.RuntimePercentgetSrThreshold()Dictates the success rate at which the rejection probability is non-zero.RuntimePercent.BuildergetSrThresholdBuilder()Dictates the success rate at which the rejection probability is non-zero.RuntimePercentOrBuildergetSrThresholdOrBuilder()Dictates the success rate at which the rejection probability is non-zero.AdmissionControl.SuccessCriteriagetSuccessCriteria().envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;AdmissionControl.SuccessCriteria.BuildergetSuccessCriteriaBuilder().envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;AdmissionControl.SuccessCriteriaOrBuildergetSuccessCriteriaOrBuilder().envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;booleanhasAggression()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.booleanhasEnabled()If set to false, the admission control filter will operate as a pass-through filter.booleanhasMaxRejectionProbability()The probability of rejection will never exceed this value, even if the failure rate is rising.booleanhasRpsThreshold()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.booleanhasSamplingWindow()The sliding time window over which the success rate is calculated.booleanhasSrThreshold()Dictates the success rate at which the rejection probability is non-zero.booleanhasSuccessCriteria().envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AdmissionControl.BuildermergeAggression(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.BuildermergeEnabled(RuntimeFeatureFlag value)If set to false, the admission control filter will operate as a pass-through filter.AdmissionControl.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AdmissionControl.BuildermergeFrom(com.google.protobuf.Message other)AdmissionControl.BuildermergeFrom(AdmissionControl other)AdmissionControl.BuildermergeMaxRejectionProbability(RuntimePercent value)The probability of rejection will never exceed this value, even if the failure rate is rising.AdmissionControl.BuildermergeRpsThreshold(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.AdmissionControl.BuildermergeSamplingWindow(com.google.protobuf.Duration value)The sliding time window over which the success rate is calculated.AdmissionControl.BuildermergeSrThreshold(RuntimePercent value)Dictates the success rate at which the rejection probability is non-zero.AdmissionControl.BuildermergeSuccessCriteria(AdmissionControl.SuccessCriteria value).envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;AdmissionControl.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AdmissionControl.BuildersetAggression(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.BuildersetAggression(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.BuildersetEnabled(RuntimeFeatureFlag value)If set to false, the admission control filter will operate as a pass-through filter.AdmissionControl.BuildersetEnabled(RuntimeFeatureFlag.Builder builderForValue)If set to false, the admission control filter will operate as a pass-through filter.AdmissionControl.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AdmissionControl.BuildersetMaxRejectionProbability(RuntimePercent value)The probability of rejection will never exceed this value, even if the failure rate is rising.AdmissionControl.BuildersetMaxRejectionProbability(RuntimePercent.Builder builderForValue)The probability of rejection will never exceed this value, even if the failure rate is rising.AdmissionControl.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AdmissionControl.BuildersetRpsThreshold(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.AdmissionControl.BuildersetRpsThreshold(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.AdmissionControl.BuildersetSamplingWindow(com.google.protobuf.Duration value)The sliding time window over which the success rate is calculated.AdmissionControl.BuildersetSamplingWindow(com.google.protobuf.Duration.Builder builderForValue)The sliding time window over which the success rate is calculated.AdmissionControl.BuildersetSrThreshold(RuntimePercent value)Dictates the success rate at which the rejection probability is non-zero.AdmissionControl.BuildersetSrThreshold(RuntimePercent.Builder builderForValue)Dictates the success rate at which the rejection probability is non-zero.AdmissionControl.BuildersetSuccessCriteria(AdmissionControl.SuccessCriteria value).envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;AdmissionControl.BuildersetSuccessCriteria(AdmissionControl.SuccessCriteria.Builder builderForValue).envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>
-
clear
public 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
public AdmissionControl getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AdmissionControl build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AdmissionControl buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AdmissionControl.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
public AdmissionControl.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AdmissionControl.Builder>
-
clearOneof
public AdmissionControl.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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
public AdmissionControl.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AdmissionControl.Builder>
-
mergeFrom
public AdmissionControl.Builder mergeFrom(AdmissionControl other)
-
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
public AdmissionControl.EvaluationCriteriaCase getEvaluationCriteriaCase()
- Specified by:
getEvaluationCriteriaCasein interfaceAdmissionControlOrBuilder
-
clearEvaluationCriteria
public AdmissionControl.Builder 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
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:
getEnabledin interfaceAdmissionControlOrBuilder- 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;
-
getEnabledOrBuilder
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;- 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
public AdmissionControl.SuccessCriteria getSuccessCriteria()
.envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;- Specified by:
getSuccessCriteriain interfaceAdmissionControlOrBuilder- Returns:
- The successCriteria.
-
setSuccessCriteria
public AdmissionControl.Builder setSuccessCriteria(AdmissionControl.SuccessCriteria value)
.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
public AdmissionControl.Builder mergeSuccessCriteria(AdmissionControl.SuccessCriteria value)
.envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria success_criteria = 2;
-
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;
-
getSuccessCriteriaOrBuilder
public AdmissionControl.SuccessCriteriaOrBuilder 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
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:
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
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:
getAggressionin interfaceAdmissionControlOrBuilder- 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:
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
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:
getSrThresholdin interfaceAdmissionControlOrBuilder- 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:
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
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:
getRpsThresholdin interfaceAdmissionControlOrBuilder- 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:
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
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:
getMaxRejectionProbabilityin interfaceAdmissionControlOrBuilder- 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;
-
getMaxRejectionProbabilityOrBuilder
public RuntimePercentOrBuilder 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>
-
-