Class RateLimitQuotaFilterConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RateLimitQuotaFilterConfig.Builder>
com.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaFilterConfig.Builder>
io.envoyproxy.envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaFilterConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,RateLimitQuotaFilterConfigOrBuilder
,Cloneable
- Enclosing class:
RateLimitQuotaFilterConfig
public static final class RateLimitQuotaFilterConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaFilterConfig.Builder>
implements RateLimitQuotaFilterConfigOrBuilder
Configures the Rate Limit Quota filter. Can be overridden in the per-route and per-host configurations. The more specific definition completely overrides the less specific definition. [#next-free-field: 7]Protobuf type
envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaFilterConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private Matcher
private com.google.protobuf.SingleFieldBuilder
<Matcher, Matcher.Builder, MatcherOrBuilder> private Object
private RuntimeFractionalPercent
private com.google.protobuf.SingleFieldBuilder
<RuntimeFractionalPercent, RuntimeFractionalPercent.Builder, RuntimeFractionalPercentOrBuilder> private RuntimeFractionalPercent
private com.google.protobuf.SingleFieldBuilder
<RuntimeFractionalPercent, RuntimeFractionalPercent.Builder, RuntimeFractionalPercentOrBuilder> private List
<HeaderValueOption> private com.google.protobuf.RepeatedFieldBuilder
<HeaderValueOption, HeaderValueOption.Builder, HeaderValueOptionOrBuilder> private GrpcService
private com.google.protobuf.SingleFieldBuilder
<GrpcService, GrpcService.Builder, GrpcServiceOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllRequestHeadersToAddWhenNotEnforced
(Iterable<? extends HeaderValueOption> values) Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.addRequestHeadersToAddWhenNotEnforced
(int index, HeaderValueOption value) Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.addRequestHeadersToAddWhenNotEnforced
(int index, HeaderValueOption.Builder builderForValue) Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.addRequestHeadersToAddWhenNotEnforced
(HeaderValueOption.Builder builderForValue) Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.addRequestHeadersToAddWhenNotEnforcedBuilder
(int index) Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.build()
private void
private void
clear()
The match tree to use for grouping incoming requests into buckets.The application domain to use when calling the service.If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.If set, this will enforce the rate limit decisions for the given fraction of requests.Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.private void
The match tree to use for grouping incoming requests into buckets.The match tree to use for grouping incoming requests into buckets.private com.google.protobuf.SingleFieldBuilder
<Matcher, Matcher.Builder, MatcherOrBuilder> The match tree to use for grouping incoming requests into buckets.The match tree to use for grouping incoming requests into buckets.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
The application domain to use when calling the service.com.google.protobuf.ByteString
The application domain to use when calling the service.If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.private com.google.protobuf.SingleFieldBuilder
<RuntimeFractionalPercent, RuntimeFractionalPercent.Builder, RuntimeFractionalPercentOrBuilder> If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.If set, this will enforce the rate limit decisions for the given fraction of requests.If set, this will enforce the rate limit decisions for the given fraction of requests.private com.google.protobuf.SingleFieldBuilder
<RuntimeFractionalPercent, RuntimeFractionalPercent.Builder, RuntimeFractionalPercentOrBuilder> If set, this will enforce the rate limit decisions for the given fraction of requests.If set, this will enforce the rate limit decisions for the given fraction of requests.getRequestHeadersToAddWhenNotEnforced
(int index) Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.getRequestHeadersToAddWhenNotEnforcedBuilder
(int index) Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.int
Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.private com.google.protobuf.RepeatedFieldBuilder
<HeaderValueOption, HeaderValueOption.Builder, HeaderValueOptionOrBuilder> Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.List
<? extends HeaderValueOptionOrBuilder> Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.private com.google.protobuf.SingleFieldBuilder
<GrpcService, GrpcService.Builder, GrpcServiceOrBuilder> Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.boolean
The match tree to use for grouping incoming requests into buckets.boolean
If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.boolean
If set, this will enforce the rate limit decisions for the given fraction of requests.boolean
Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
private void
mergeBucketMatchers
(Matcher value) The match tree to use for grouping incoming requests into buckets.If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.If set, this will enforce the rate limit decisions for the given fraction of requests.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeRlqsServer
(GrpcService value) Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.removeRequestHeadersToAddWhenNotEnforced
(int index) Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.setBucketMatchers
(Matcher value) The match tree to use for grouping incoming requests into buckets.setBucketMatchers
(Matcher.Builder builderForValue) The match tree to use for grouping incoming requests into buckets.The application domain to use when calling the service.setDomainBytes
(com.google.protobuf.ByteString value) The application domain to use when calling the service.If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.setFilterEnabled
(RuntimeFractionalPercent.Builder builderForValue) If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.If set, this will enforce the rate limit decisions for the given fraction of requests.setFilterEnforced
(RuntimeFractionalPercent.Builder builderForValue) If set, this will enforce the rate limit decisions for the given fraction of requests.setRequestHeadersToAddWhenNotEnforced
(int index, HeaderValueOption value) Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.setRequestHeadersToAddWhenNotEnforced
(int index, HeaderValueOption.Builder builderForValue) Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.setRlqsServer
(GrpcService value) Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.setRlqsServer
(GrpcService.Builder builderForValue) Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, 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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
rlqsServer_
-
rlqsServerBuilder_
private com.google.protobuf.SingleFieldBuilder<GrpcService,GrpcService.Builder, rlqsServerBuilder_GrpcServiceOrBuilder> -
domain_
-
bucketMatchers_
-
bucketMatchersBuilder_
private com.google.protobuf.SingleFieldBuilder<Matcher,Matcher.Builder, bucketMatchersBuilder_MatcherOrBuilder> -
filterEnabled_
-
filterEnabledBuilder_
private com.google.protobuf.SingleFieldBuilder<RuntimeFractionalPercent,RuntimeFractionalPercent.Builder, filterEnabledBuilder_RuntimeFractionalPercentOrBuilder> -
filterEnforced_
-
filterEnforcedBuilder_
private com.google.protobuf.SingleFieldBuilder<RuntimeFractionalPercent,RuntimeFractionalPercent.Builder, filterEnforcedBuilder_RuntimeFractionalPercentOrBuilder> -
requestHeadersToAddWhenNotEnforced_
-
requestHeadersToAddWhenNotEnforcedBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder, requestHeadersToAddWhenNotEnforcedBuilder_HeaderValueOptionOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaFilterConfig.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaFilterConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaFilterConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RateLimitQuotaFilterConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaFilterConfig.Builder>
-
mergeFrom
public RateLimitQuotaFilterConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RateLimitQuotaFilterConfig.Builder>
- Throws:
IOException
-
hasRlqsServer
public boolean hasRlqsServer()Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.
.envoy.config.core.v3.GrpcService rlqs_server = 1 [(.validate.rules) = { ... }
- Specified by:
hasRlqsServer
in interfaceRateLimitQuotaFilterConfigOrBuilder
- Returns:
- Whether the rlqsServer field is set.
-
getRlqsServer
Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.
.envoy.config.core.v3.GrpcService rlqs_server = 1 [(.validate.rules) = { ... }
- Specified by:
getRlqsServer
in interfaceRateLimitQuotaFilterConfigOrBuilder
- Returns:
- The rlqsServer.
-
setRlqsServer
Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.
.envoy.config.core.v3.GrpcService rlqs_server = 1 [(.validate.rules) = { ... }
-
setRlqsServer
Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.
.envoy.config.core.v3.GrpcService rlqs_server = 1 [(.validate.rules) = { ... }
-
mergeRlqsServer
Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.
.envoy.config.core.v3.GrpcService rlqs_server = 1 [(.validate.rules) = { ... }
-
clearRlqsServer
Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.
.envoy.config.core.v3.GrpcService rlqs_server = 1 [(.validate.rules) = { ... }
-
getRlqsServerBuilder
Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.
.envoy.config.core.v3.GrpcService rlqs_server = 1 [(.validate.rules) = { ... }
-
getRlqsServerOrBuilder
Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.
.envoy.config.core.v3.GrpcService rlqs_server = 1 [(.validate.rules) = { ... }
- Specified by:
getRlqsServerOrBuilder
in interfaceRateLimitQuotaFilterConfigOrBuilder
-
getRlqsServerFieldBuilder
private com.google.protobuf.SingleFieldBuilder<GrpcService,GrpcService.Builder, getRlqsServerFieldBuilder()GrpcServiceOrBuilder> Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.
.envoy.config.core.v3.GrpcService rlqs_server = 1 [(.validate.rules) = { ... }
-
getDomain
The application domain to use when calling the service. This enables sharing the quota server between different applications without fear of overlap. E.g., "envoy".
string domain = 2 [(.validate.rules) = { ... }
- Specified by:
getDomain
in interfaceRateLimitQuotaFilterConfigOrBuilder
- Returns:
- The domain.
-
getDomainBytes
public com.google.protobuf.ByteString getDomainBytes()The application domain to use when calling the service. This enables sharing the quota server between different applications without fear of overlap. E.g., "envoy".
string domain = 2 [(.validate.rules) = { ... }
- Specified by:
getDomainBytes
in interfaceRateLimitQuotaFilterConfigOrBuilder
- Returns:
- The bytes for domain.
-
setDomain
The application domain to use when calling the service. This enables sharing the quota server between different applications without fear of overlap. E.g., "envoy".
string domain = 2 [(.validate.rules) = { ... }
- Parameters:
value
- The domain to set.- Returns:
- This builder for chaining.
-
clearDomain
The application domain to use when calling the service. This enables sharing the quota server between different applications without fear of overlap. E.g., "envoy".
string domain = 2 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
setDomainBytes
The application domain to use when calling the service. This enables sharing the quota server between different applications without fear of overlap. E.g., "envoy".
string domain = 2 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes for domain to set.- Returns:
- This builder for chaining.
-
hasBucketMatchers
public boolean hasBucketMatchers()The match tree to use for grouping incoming requests into buckets. Example: .. validated-code-block:: yaml :type-name: xds.type.matcher.v3.Matcher matcher_list: matchers: # Assign requests with header['env'] set to 'staging' to the bucket { name: 'staging' } - predicate: single_predicate: input: typed_config: '@type': type.googleapis.com/envoy.type.matcher.v3.HttpRequestHeaderMatchInput header_name: env value_match: exact: staging on_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings bucket_id_builder: bucket_id_builder: name: string_value: staging # Assign requests with header['user_group'] set to 'admin' to the bucket { acl: 'admin_users' } - predicate: single_predicate: input: typed_config: '@type': type.googleapis.com/xds.type.matcher.v3.HttpAttributesCelMatchInput custom_match: typed_config: '@type': type.googleapis.com/xds.type.matcher.v3.CelMatcher expr_match: # Shortened for illustration purposes. Here should be parsed CEL expression: # request.headers['user_group'] == 'admin' parsed_expr: {} on_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings bucket_id_builder: bucket_id_builder: acl: string_value: admin_users # Catch-all clause for the requests not matched by any of the matchers. # In this example, deny all requests. on_no_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings no_assignment_behavior: fallback_rate_limit: blanket_rule: DENY_ALL .. attention:: The first matched group wins. Once the request is matched into a bucket, matcher evaluation ends. Use ``on_no_match`` field to assign the catch-all bucket. If a request is not matched into any bucket, and there's no ``on_no_match`` field configured, the request will be ALLOWED by default. It will NOT be reported to the RLQS server. Refer to :ref:`Unified Matcher API <envoy_v3_api_msg_.xds.type.matcher.v3.Matcher>` documentation for more information on the matcher trees.
.xds.type.matcher.v3.Matcher bucket_matchers = 3 [(.validate.rules) = { ... }
- Specified by:
hasBucketMatchers
in interfaceRateLimitQuotaFilterConfigOrBuilder
- Returns:
- Whether the bucketMatchers field is set.
-
getBucketMatchers
The match tree to use for grouping incoming requests into buckets. Example: .. validated-code-block:: yaml :type-name: xds.type.matcher.v3.Matcher matcher_list: matchers: # Assign requests with header['env'] set to 'staging' to the bucket { name: 'staging' } - predicate: single_predicate: input: typed_config: '@type': type.googleapis.com/envoy.type.matcher.v3.HttpRequestHeaderMatchInput header_name: env value_match: exact: staging on_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings bucket_id_builder: bucket_id_builder: name: string_value: staging # Assign requests with header['user_group'] set to 'admin' to the bucket { acl: 'admin_users' } - predicate: single_predicate: input: typed_config: '@type': type.googleapis.com/xds.type.matcher.v3.HttpAttributesCelMatchInput custom_match: typed_config: '@type': type.googleapis.com/xds.type.matcher.v3.CelMatcher expr_match: # Shortened for illustration purposes. Here should be parsed CEL expression: # request.headers['user_group'] == 'admin' parsed_expr: {} on_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings bucket_id_builder: bucket_id_builder: acl: string_value: admin_users # Catch-all clause for the requests not matched by any of the matchers. # In this example, deny all requests. on_no_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings no_assignment_behavior: fallback_rate_limit: blanket_rule: DENY_ALL .. attention:: The first matched group wins. Once the request is matched into a bucket, matcher evaluation ends. Use ``on_no_match`` field to assign the catch-all bucket. If a request is not matched into any bucket, and there's no ``on_no_match`` field configured, the request will be ALLOWED by default. It will NOT be reported to the RLQS server. Refer to :ref:`Unified Matcher API <envoy_v3_api_msg_.xds.type.matcher.v3.Matcher>` documentation for more information on the matcher trees.
.xds.type.matcher.v3.Matcher bucket_matchers = 3 [(.validate.rules) = { ... }
- Specified by:
getBucketMatchers
in interfaceRateLimitQuotaFilterConfigOrBuilder
- Returns:
- The bucketMatchers.
-
setBucketMatchers
The match tree to use for grouping incoming requests into buckets. Example: .. validated-code-block:: yaml :type-name: xds.type.matcher.v3.Matcher matcher_list: matchers: # Assign requests with header['env'] set to 'staging' to the bucket { name: 'staging' } - predicate: single_predicate: input: typed_config: '@type': type.googleapis.com/envoy.type.matcher.v3.HttpRequestHeaderMatchInput header_name: env value_match: exact: staging on_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings bucket_id_builder: bucket_id_builder: name: string_value: staging # Assign requests with header['user_group'] set to 'admin' to the bucket { acl: 'admin_users' } - predicate: single_predicate: input: typed_config: '@type': type.googleapis.com/xds.type.matcher.v3.HttpAttributesCelMatchInput custom_match: typed_config: '@type': type.googleapis.com/xds.type.matcher.v3.CelMatcher expr_match: # Shortened for illustration purposes. Here should be parsed CEL expression: # request.headers['user_group'] == 'admin' parsed_expr: {} on_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings bucket_id_builder: bucket_id_builder: acl: string_value: admin_users # Catch-all clause for the requests not matched by any of the matchers. # In this example, deny all requests. on_no_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings no_assignment_behavior: fallback_rate_limit: blanket_rule: DENY_ALL .. attention:: The first matched group wins. Once the request is matched into a bucket, matcher evaluation ends. Use ``on_no_match`` field to assign the catch-all bucket. If a request is not matched into any bucket, and there's no ``on_no_match`` field configured, the request will be ALLOWED by default. It will NOT be reported to the RLQS server. Refer to :ref:`Unified Matcher API <envoy_v3_api_msg_.xds.type.matcher.v3.Matcher>` documentation for more information on the matcher trees.
.xds.type.matcher.v3.Matcher bucket_matchers = 3 [(.validate.rules) = { ... }
-
setBucketMatchers
The match tree to use for grouping incoming requests into buckets. Example: .. validated-code-block:: yaml :type-name: xds.type.matcher.v3.Matcher matcher_list: matchers: # Assign requests with header['env'] set to 'staging' to the bucket { name: 'staging' } - predicate: single_predicate: input: typed_config: '@type': type.googleapis.com/envoy.type.matcher.v3.HttpRequestHeaderMatchInput header_name: env value_match: exact: staging on_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings bucket_id_builder: bucket_id_builder: name: string_value: staging # Assign requests with header['user_group'] set to 'admin' to the bucket { acl: 'admin_users' } - predicate: single_predicate: input: typed_config: '@type': type.googleapis.com/xds.type.matcher.v3.HttpAttributesCelMatchInput custom_match: typed_config: '@type': type.googleapis.com/xds.type.matcher.v3.CelMatcher expr_match: # Shortened for illustration purposes. Here should be parsed CEL expression: # request.headers['user_group'] == 'admin' parsed_expr: {} on_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings bucket_id_builder: bucket_id_builder: acl: string_value: admin_users # Catch-all clause for the requests not matched by any of the matchers. # In this example, deny all requests. on_no_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings no_assignment_behavior: fallback_rate_limit: blanket_rule: DENY_ALL .. attention:: The first matched group wins. Once the request is matched into a bucket, matcher evaluation ends. Use ``on_no_match`` field to assign the catch-all bucket. If a request is not matched into any bucket, and there's no ``on_no_match`` field configured, the request will be ALLOWED by default. It will NOT be reported to the RLQS server. Refer to :ref:`Unified Matcher API <envoy_v3_api_msg_.xds.type.matcher.v3.Matcher>` documentation for more information on the matcher trees.
.xds.type.matcher.v3.Matcher bucket_matchers = 3 [(.validate.rules) = { ... }
-
mergeBucketMatchers
The match tree to use for grouping incoming requests into buckets. Example: .. validated-code-block:: yaml :type-name: xds.type.matcher.v3.Matcher matcher_list: matchers: # Assign requests with header['env'] set to 'staging' to the bucket { name: 'staging' } - predicate: single_predicate: input: typed_config: '@type': type.googleapis.com/envoy.type.matcher.v3.HttpRequestHeaderMatchInput header_name: env value_match: exact: staging on_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings bucket_id_builder: bucket_id_builder: name: string_value: staging # Assign requests with header['user_group'] set to 'admin' to the bucket { acl: 'admin_users' } - predicate: single_predicate: input: typed_config: '@type': type.googleapis.com/xds.type.matcher.v3.HttpAttributesCelMatchInput custom_match: typed_config: '@type': type.googleapis.com/xds.type.matcher.v3.CelMatcher expr_match: # Shortened for illustration purposes. Here should be parsed CEL expression: # request.headers['user_group'] == 'admin' parsed_expr: {} on_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings bucket_id_builder: bucket_id_builder: acl: string_value: admin_users # Catch-all clause for the requests not matched by any of the matchers. # In this example, deny all requests. on_no_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings no_assignment_behavior: fallback_rate_limit: blanket_rule: DENY_ALL .. attention:: The first matched group wins. Once the request is matched into a bucket, matcher evaluation ends. Use ``on_no_match`` field to assign the catch-all bucket. If a request is not matched into any bucket, and there's no ``on_no_match`` field configured, the request will be ALLOWED by default. It will NOT be reported to the RLQS server. Refer to :ref:`Unified Matcher API <envoy_v3_api_msg_.xds.type.matcher.v3.Matcher>` documentation for more information on the matcher trees.
.xds.type.matcher.v3.Matcher bucket_matchers = 3 [(.validate.rules) = { ... }
-
clearBucketMatchers
The match tree to use for grouping incoming requests into buckets. Example: .. validated-code-block:: yaml :type-name: xds.type.matcher.v3.Matcher matcher_list: matchers: # Assign requests with header['env'] set to 'staging' to the bucket { name: 'staging' } - predicate: single_predicate: input: typed_config: '@type': type.googleapis.com/envoy.type.matcher.v3.HttpRequestHeaderMatchInput header_name: env value_match: exact: staging on_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings bucket_id_builder: bucket_id_builder: name: string_value: staging # Assign requests with header['user_group'] set to 'admin' to the bucket { acl: 'admin_users' } - predicate: single_predicate: input: typed_config: '@type': type.googleapis.com/xds.type.matcher.v3.HttpAttributesCelMatchInput custom_match: typed_config: '@type': type.googleapis.com/xds.type.matcher.v3.CelMatcher expr_match: # Shortened for illustration purposes. Here should be parsed CEL expression: # request.headers['user_group'] == 'admin' parsed_expr: {} on_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings bucket_id_builder: bucket_id_builder: acl: string_value: admin_users # Catch-all clause for the requests not matched by any of the matchers. # In this example, deny all requests. on_no_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings no_assignment_behavior: fallback_rate_limit: blanket_rule: DENY_ALL .. attention:: The first matched group wins. Once the request is matched into a bucket, matcher evaluation ends. Use ``on_no_match`` field to assign the catch-all bucket. If a request is not matched into any bucket, and there's no ``on_no_match`` field configured, the request will be ALLOWED by default. It will NOT be reported to the RLQS server. Refer to :ref:`Unified Matcher API <envoy_v3_api_msg_.xds.type.matcher.v3.Matcher>` documentation for more information on the matcher trees.
.xds.type.matcher.v3.Matcher bucket_matchers = 3 [(.validate.rules) = { ... }
-
getBucketMatchersBuilder
The match tree to use for grouping incoming requests into buckets. Example: .. validated-code-block:: yaml :type-name: xds.type.matcher.v3.Matcher matcher_list: matchers: # Assign requests with header['env'] set to 'staging' to the bucket { name: 'staging' } - predicate: single_predicate: input: typed_config: '@type': type.googleapis.com/envoy.type.matcher.v3.HttpRequestHeaderMatchInput header_name: env value_match: exact: staging on_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings bucket_id_builder: bucket_id_builder: name: string_value: staging # Assign requests with header['user_group'] set to 'admin' to the bucket { acl: 'admin_users' } - predicate: single_predicate: input: typed_config: '@type': type.googleapis.com/xds.type.matcher.v3.HttpAttributesCelMatchInput custom_match: typed_config: '@type': type.googleapis.com/xds.type.matcher.v3.CelMatcher expr_match: # Shortened for illustration purposes. Here should be parsed CEL expression: # request.headers['user_group'] == 'admin' parsed_expr: {} on_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings bucket_id_builder: bucket_id_builder: acl: string_value: admin_users # Catch-all clause for the requests not matched by any of the matchers. # In this example, deny all requests. on_no_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings no_assignment_behavior: fallback_rate_limit: blanket_rule: DENY_ALL .. attention:: The first matched group wins. Once the request is matched into a bucket, matcher evaluation ends. Use ``on_no_match`` field to assign the catch-all bucket. If a request is not matched into any bucket, and there's no ``on_no_match`` field configured, the request will be ALLOWED by default. It will NOT be reported to the RLQS server. Refer to :ref:`Unified Matcher API <envoy_v3_api_msg_.xds.type.matcher.v3.Matcher>` documentation for more information on the matcher trees.
.xds.type.matcher.v3.Matcher bucket_matchers = 3 [(.validate.rules) = { ... }
-
getBucketMatchersOrBuilder
The match tree to use for grouping incoming requests into buckets. Example: .. validated-code-block:: yaml :type-name: xds.type.matcher.v3.Matcher matcher_list: matchers: # Assign requests with header['env'] set to 'staging' to the bucket { name: 'staging' } - predicate: single_predicate: input: typed_config: '@type': type.googleapis.com/envoy.type.matcher.v3.HttpRequestHeaderMatchInput header_name: env value_match: exact: staging on_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings bucket_id_builder: bucket_id_builder: name: string_value: staging # Assign requests with header['user_group'] set to 'admin' to the bucket { acl: 'admin_users' } - predicate: single_predicate: input: typed_config: '@type': type.googleapis.com/xds.type.matcher.v3.HttpAttributesCelMatchInput custom_match: typed_config: '@type': type.googleapis.com/xds.type.matcher.v3.CelMatcher expr_match: # Shortened for illustration purposes. Here should be parsed CEL expression: # request.headers['user_group'] == 'admin' parsed_expr: {} on_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings bucket_id_builder: bucket_id_builder: acl: string_value: admin_users # Catch-all clause for the requests not matched by any of the matchers. # In this example, deny all requests. on_no_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings no_assignment_behavior: fallback_rate_limit: blanket_rule: DENY_ALL .. attention:: The first matched group wins. Once the request is matched into a bucket, matcher evaluation ends. Use ``on_no_match`` field to assign the catch-all bucket. If a request is not matched into any bucket, and there's no ``on_no_match`` field configured, the request will be ALLOWED by default. It will NOT be reported to the RLQS server. Refer to :ref:`Unified Matcher API <envoy_v3_api_msg_.xds.type.matcher.v3.Matcher>` documentation for more information on the matcher trees.
.xds.type.matcher.v3.Matcher bucket_matchers = 3 [(.validate.rules) = { ... }
- Specified by:
getBucketMatchersOrBuilder
in interfaceRateLimitQuotaFilterConfigOrBuilder
-
getBucketMatchersFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Matcher,Matcher.Builder, getBucketMatchersFieldBuilder()MatcherOrBuilder> The match tree to use for grouping incoming requests into buckets. Example: .. validated-code-block:: yaml :type-name: xds.type.matcher.v3.Matcher matcher_list: matchers: # Assign requests with header['env'] set to 'staging' to the bucket { name: 'staging' } - predicate: single_predicate: input: typed_config: '@type': type.googleapis.com/envoy.type.matcher.v3.HttpRequestHeaderMatchInput header_name: env value_match: exact: staging on_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings bucket_id_builder: bucket_id_builder: name: string_value: staging # Assign requests with header['user_group'] set to 'admin' to the bucket { acl: 'admin_users' } - predicate: single_predicate: input: typed_config: '@type': type.googleapis.com/xds.type.matcher.v3.HttpAttributesCelMatchInput custom_match: typed_config: '@type': type.googleapis.com/xds.type.matcher.v3.CelMatcher expr_match: # Shortened for illustration purposes. Here should be parsed CEL expression: # request.headers['user_group'] == 'admin' parsed_expr: {} on_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings bucket_id_builder: bucket_id_builder: acl: string_value: admin_users # Catch-all clause for the requests not matched by any of the matchers. # In this example, deny all requests. on_no_match: action: typed_config: '@type': type.googleapis.com/envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings no_assignment_behavior: fallback_rate_limit: blanket_rule: DENY_ALL .. attention:: The first matched group wins. Once the request is matched into a bucket, matcher evaluation ends. Use ``on_no_match`` field to assign the catch-all bucket. If a request is not matched into any bucket, and there's no ``on_no_match`` field configured, the request will be ALLOWED by default. It will NOT be reported to the RLQS server. Refer to :ref:`Unified Matcher API <envoy_v3_api_msg_.xds.type.matcher.v3.Matcher>` documentation for more information on the matcher trees.
.xds.type.matcher.v3.Matcher bucket_matchers = 3 [(.validate.rules) = { ... }
-
hasFilterEnabled
public boolean hasFilterEnabled()If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests. Defaults to 100% of requests.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enabled = 4;
- Specified by:
hasFilterEnabled
in interfaceRateLimitQuotaFilterConfigOrBuilder
- Returns:
- Whether the filterEnabled field is set.
-
getFilterEnabled
If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests. Defaults to 100% of requests.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enabled = 4;
- Specified by:
getFilterEnabled
in interfaceRateLimitQuotaFilterConfigOrBuilder
- Returns:
- The filterEnabled.
-
setFilterEnabled
If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests. Defaults to 100% of requests.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enabled = 4;
-
setFilterEnabled
public RateLimitQuotaFilterConfig.Builder setFilterEnabled(RuntimeFractionalPercent.Builder builderForValue) If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests. Defaults to 100% of requests.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enabled = 4;
-
mergeFilterEnabled
If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests. Defaults to 100% of requests.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enabled = 4;
-
clearFilterEnabled
If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests. Defaults to 100% of requests.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enabled = 4;
-
getFilterEnabledBuilder
If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests. Defaults to 100% of requests.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enabled = 4;
-
getFilterEnabledOrBuilder
If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests. Defaults to 100% of requests.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enabled = 4;
- Specified by:
getFilterEnabledOrBuilder
in interfaceRateLimitQuotaFilterConfigOrBuilder
-
getFilterEnabledFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RuntimeFractionalPercent,RuntimeFractionalPercent.Builder, getFilterEnabledFieldBuilder()RuntimeFractionalPercentOrBuilder> If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests. Defaults to 100% of requests.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enabled = 4;
-
hasFilterEnforced
public boolean hasFilterEnforced()If set, this will enforce the rate limit decisions for the given fraction of requests. For requests that are not enforced the filter will still obtain the quota and include it in the load computation, however the request will always be allowed regardless of the outcome of quota application. This allows validation or testing of the rate limiting service infrastructure without disrupting existing traffic. Note: this only applies to the fraction of enabled requests. Defaults to 100% of requests.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enforced = 5;
- Specified by:
hasFilterEnforced
in interfaceRateLimitQuotaFilterConfigOrBuilder
- Returns:
- Whether the filterEnforced field is set.
-
getFilterEnforced
If set, this will enforce the rate limit decisions for the given fraction of requests. For requests that are not enforced the filter will still obtain the quota and include it in the load computation, however the request will always be allowed regardless of the outcome of quota application. This allows validation or testing of the rate limiting service infrastructure without disrupting existing traffic. Note: this only applies to the fraction of enabled requests. Defaults to 100% of requests.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enforced = 5;
- Specified by:
getFilterEnforced
in interfaceRateLimitQuotaFilterConfigOrBuilder
- Returns:
- The filterEnforced.
-
setFilterEnforced
If set, this will enforce the rate limit decisions for the given fraction of requests. For requests that are not enforced the filter will still obtain the quota and include it in the load computation, however the request will always be allowed regardless of the outcome of quota application. This allows validation or testing of the rate limiting service infrastructure without disrupting existing traffic. Note: this only applies to the fraction of enabled requests. Defaults to 100% of requests.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enforced = 5;
-
setFilterEnforced
public RateLimitQuotaFilterConfig.Builder setFilterEnforced(RuntimeFractionalPercent.Builder builderForValue) If set, this will enforce the rate limit decisions for the given fraction of requests. For requests that are not enforced the filter will still obtain the quota and include it in the load computation, however the request will always be allowed regardless of the outcome of quota application. This allows validation or testing of the rate limiting service infrastructure without disrupting existing traffic. Note: this only applies to the fraction of enabled requests. Defaults to 100% of requests.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enforced = 5;
-
mergeFilterEnforced
If set, this will enforce the rate limit decisions for the given fraction of requests. For requests that are not enforced the filter will still obtain the quota and include it in the load computation, however the request will always be allowed regardless of the outcome of quota application. This allows validation or testing of the rate limiting service infrastructure without disrupting existing traffic. Note: this only applies to the fraction of enabled requests. Defaults to 100% of requests.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enforced = 5;
-
clearFilterEnforced
If set, this will enforce the rate limit decisions for the given fraction of requests. For requests that are not enforced the filter will still obtain the quota and include it in the load computation, however the request will always be allowed regardless of the outcome of quota application. This allows validation or testing of the rate limiting service infrastructure without disrupting existing traffic. Note: this only applies to the fraction of enabled requests. Defaults to 100% of requests.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enforced = 5;
-
getFilterEnforcedBuilder
If set, this will enforce the rate limit decisions for the given fraction of requests. For requests that are not enforced the filter will still obtain the quota and include it in the load computation, however the request will always be allowed regardless of the outcome of quota application. This allows validation or testing of the rate limiting service infrastructure without disrupting existing traffic. Note: this only applies to the fraction of enabled requests. Defaults to 100% of requests.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enforced = 5;
-
getFilterEnforcedOrBuilder
If set, this will enforce the rate limit decisions for the given fraction of requests. For requests that are not enforced the filter will still obtain the quota and include it in the load computation, however the request will always be allowed regardless of the outcome of quota application. This allows validation or testing of the rate limiting service infrastructure without disrupting existing traffic. Note: this only applies to the fraction of enabled requests. Defaults to 100% of requests.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enforced = 5;
- Specified by:
getFilterEnforcedOrBuilder
in interfaceRateLimitQuotaFilterConfigOrBuilder
-
getFilterEnforcedFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RuntimeFractionalPercent,RuntimeFractionalPercent.Builder, getFilterEnforcedFieldBuilder()RuntimeFractionalPercentOrBuilder> If set, this will enforce the rate limit decisions for the given fraction of requests. For requests that are not enforced the filter will still obtain the quota and include it in the load computation, however the request will always be allowed regardless of the outcome of quota application. This allows validation or testing of the rate limiting service infrastructure without disrupting existing traffic. Note: this only applies to the fraction of enabled requests. Defaults to 100% of requests.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enforced = 5;
-
ensureRequestHeadersToAddWhenNotEnforcedIsMutable
private void ensureRequestHeadersToAddWhenNotEnforcedIsMutable() -
getRequestHeadersToAddWhenNotEnforcedList
Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream. This can only occur when the filter is enabled but not enforced.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add_when_not_enforced = 6 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddWhenNotEnforcedList
in interfaceRateLimitQuotaFilterConfigOrBuilder
-
getRequestHeadersToAddWhenNotEnforcedCount
public int getRequestHeadersToAddWhenNotEnforcedCount()Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream. This can only occur when the filter is enabled but not enforced.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add_when_not_enforced = 6 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddWhenNotEnforcedCount
in interfaceRateLimitQuotaFilterConfigOrBuilder
-
getRequestHeadersToAddWhenNotEnforced
Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream. This can only occur when the filter is enabled but not enforced.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add_when_not_enforced = 6 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddWhenNotEnforced
in interfaceRateLimitQuotaFilterConfigOrBuilder
-
setRequestHeadersToAddWhenNotEnforced
public RateLimitQuotaFilterConfig.Builder setRequestHeadersToAddWhenNotEnforced(int index, HeaderValueOption value) Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream. This can only occur when the filter is enabled but not enforced.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add_when_not_enforced = 6 [(.validate.rules) = { ... }
-
setRequestHeadersToAddWhenNotEnforced
public RateLimitQuotaFilterConfig.Builder setRequestHeadersToAddWhenNotEnforced(int index, HeaderValueOption.Builder builderForValue) Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream. This can only occur when the filter is enabled but not enforced.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add_when_not_enforced = 6 [(.validate.rules) = { ... }
-
addRequestHeadersToAddWhenNotEnforced
public RateLimitQuotaFilterConfig.Builder addRequestHeadersToAddWhenNotEnforced(HeaderValueOption value) Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream. This can only occur when the filter is enabled but not enforced.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add_when_not_enforced = 6 [(.validate.rules) = { ... }
-
addRequestHeadersToAddWhenNotEnforced
public RateLimitQuotaFilterConfig.Builder addRequestHeadersToAddWhenNotEnforced(int index, HeaderValueOption value) Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream. This can only occur when the filter is enabled but not enforced.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add_when_not_enforced = 6 [(.validate.rules) = { ... }
-
addRequestHeadersToAddWhenNotEnforced
public RateLimitQuotaFilterConfig.Builder addRequestHeadersToAddWhenNotEnforced(HeaderValueOption.Builder builderForValue) Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream. This can only occur when the filter is enabled but not enforced.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add_when_not_enforced = 6 [(.validate.rules) = { ... }
-
addRequestHeadersToAddWhenNotEnforced
public RateLimitQuotaFilterConfig.Builder addRequestHeadersToAddWhenNotEnforced(int index, HeaderValueOption.Builder builderForValue) Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream. This can only occur when the filter is enabled but not enforced.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add_when_not_enforced = 6 [(.validate.rules) = { ... }
-
addAllRequestHeadersToAddWhenNotEnforced
public RateLimitQuotaFilterConfig.Builder addAllRequestHeadersToAddWhenNotEnforced(Iterable<? extends HeaderValueOption> values) Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream. This can only occur when the filter is enabled but not enforced.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add_when_not_enforced = 6 [(.validate.rules) = { ... }
-
clearRequestHeadersToAddWhenNotEnforced
Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream. This can only occur when the filter is enabled but not enforced.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add_when_not_enforced = 6 [(.validate.rules) = { ... }
-
removeRequestHeadersToAddWhenNotEnforced
Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream. This can only occur when the filter is enabled but not enforced.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add_when_not_enforced = 6 [(.validate.rules) = { ... }
-
getRequestHeadersToAddWhenNotEnforcedBuilder
Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream. This can only occur when the filter is enabled but not enforced.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add_when_not_enforced = 6 [(.validate.rules) = { ... }
-
getRequestHeadersToAddWhenNotEnforcedOrBuilder
Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream. This can only occur when the filter is enabled but not enforced.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add_when_not_enforced = 6 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddWhenNotEnforcedOrBuilder
in interfaceRateLimitQuotaFilterConfigOrBuilder
-
getRequestHeadersToAddWhenNotEnforcedOrBuilderList
public List<? extends HeaderValueOptionOrBuilder> getRequestHeadersToAddWhenNotEnforcedOrBuilderList()Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream. This can only occur when the filter is enabled but not enforced.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add_when_not_enforced = 6 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddWhenNotEnforcedOrBuilderList
in interfaceRateLimitQuotaFilterConfigOrBuilder
-
addRequestHeadersToAddWhenNotEnforcedBuilder
Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream. This can only occur when the filter is enabled but not enforced.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add_when_not_enforced = 6 [(.validate.rules) = { ... }
-
addRequestHeadersToAddWhenNotEnforcedBuilder
Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream. This can only occur when the filter is enabled but not enforced.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add_when_not_enforced = 6 [(.validate.rules) = { ... }
-
getRequestHeadersToAddWhenNotEnforcedBuilderList
Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream. This can only occur when the filter is enabled but not enforced.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add_when_not_enforced = 6 [(.validate.rules) = { ... }
-
getRequestHeadersToAddWhenNotEnforcedFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder, getRequestHeadersToAddWhenNotEnforcedFieldBuilder()HeaderValueOptionOrBuilder>
-