public final class AdmissionControl extends com.google.protobuf.GeneratedMessageV3 implements AdmissionControlOrBuilder
[#next-free-field: 6]Protobuf type
envoy.extensions.filters.http.admission_control.v3alpha.AdmissionControl| Modifier and Type | Class and Description |
|---|---|
static class |
AdmissionControl.Builder
[#next-free-field: 6]
Protobuf type
envoy.extensions.filters.http.admission_control.v3alpha.AdmissionControl |
static class |
AdmissionControl.EvaluationCriteriaCase |
static class |
AdmissionControl.SuccessCriteria
Default method of specifying what constitutes a successful request.
|
static interface |
AdmissionControl.SuccessCriteriaOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AGGRESSION_FIELD_NUMBER |
static int |
ENABLED_FIELD_NUMBER |
static int |
SAMPLING_WINDOW_FIELD_NUMBER |
static int |
SR_THRESHOLD_FIELD_NUMBER |
static int |
SUCCESS_CRITERIA_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
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.
|
static AdmissionControl |
getDefaultInstance() |
AdmissionControl |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
RuntimeFeatureFlag |
getEnabled()
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.Parser<AdmissionControl> |
getParserForType() |
com.google.protobuf.Duration |
getSamplingWindow()
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.
|
int |
getSerializedSize() |
RuntimePercent |
getSrThreshold()
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.SuccessCriteriaOrBuilder |
getSuccessCriteriaOrBuilder()
.envoy.extensions.filters.http.admission_control.v3alpha.AdmissionControl.SuccessCriteria success_criteria = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
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() |
static AdmissionControl.Builder |
newBuilder() |
static AdmissionControl.Builder |
newBuilder(AdmissionControl prototype) |
AdmissionControl.Builder |
newBuilderForType() |
protected AdmissionControl.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AdmissionControl |
parseDelimitedFrom(InputStream input) |
static AdmissionControl |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdmissionControl |
parseFrom(byte[] data) |
static AdmissionControl |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdmissionControl |
parseFrom(ByteBuffer data) |
static AdmissionControl |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdmissionControl |
parseFrom(com.google.protobuf.ByteString data) |
static AdmissionControl |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdmissionControl |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AdmissionControl |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdmissionControl |
parseFrom(InputStream input) |
static AdmissionControl |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AdmissionControl> |
parser() |
AdmissionControl.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ENABLED_FIELD_NUMBER
public static final int SUCCESS_CRITERIA_FIELD_NUMBER
public static final int SAMPLING_WINDOW_FIELD_NUMBER
public static final int AGGRESSION_FIELD_NUMBER
public static final int SR_THRESHOLD_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public AdmissionControl.EvaluationCriteriaCase getEvaluationCriteriaCase()
getEvaluationCriteriaCase in interface AdmissionControlOrBuilderpublic 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 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.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 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 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 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 boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AdmissionControl parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdmissionControl parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdmissionControl parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdmissionControl parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdmissionControl parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdmissionControl parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdmissionControl parseFrom(InputStream input) throws IOException
IOExceptionpublic static AdmissionControl parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AdmissionControl parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AdmissionControl parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AdmissionControl parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AdmissionControl parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AdmissionControl.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AdmissionControl.Builder newBuilder()
public static AdmissionControl.Builder newBuilder(AdmissionControl prototype)
public AdmissionControl.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AdmissionControl.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AdmissionControl getDefaultInstance()
public static com.google.protobuf.Parser<AdmissionControl> parser()
public com.google.protobuf.Parser<AdmissionControl> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AdmissionControl getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.