Class RateLimitQuotaFilterConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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 typeenvoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaFilterConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RateLimitQuotaFilterConfig.BuilderaddAllRequestHeadersToAddWhenNotEnforced(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.RateLimitQuotaFilterConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RateLimitQuotaFilterConfig.BuilderaddRequestHeadersToAddWhenNotEnforced(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.RateLimitQuotaFilterConfig.BuilderaddRequestHeadersToAddWhenNotEnforced(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.RateLimitQuotaFilterConfig.BuilderaddRequestHeadersToAddWhenNotEnforced(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.RateLimitQuotaFilterConfig.BuilderaddRequestHeadersToAddWhenNotEnforced(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.HeaderValueOption.BuilderaddRequestHeadersToAddWhenNotEnforcedBuilder()Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.HeaderValueOption.BuilderaddRequestHeadersToAddWhenNotEnforcedBuilder(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.RateLimitQuotaFilterConfigbuild()RateLimitQuotaFilterConfigbuildPartial()RateLimitQuotaFilterConfig.Builderclear()RateLimitQuotaFilterConfig.BuilderclearBucketMatchers()The match tree to use for grouping incoming requests into buckets.RateLimitQuotaFilterConfig.BuilderclearDomain()The application domain to use when calling the service.RateLimitQuotaFilterConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RateLimitQuotaFilterConfig.BuilderclearFilterEnabled()If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.RateLimitQuotaFilterConfig.BuilderclearFilterEnforced()If set, this will enforce the rate limit decisions for the given fraction of requests.RateLimitQuotaFilterConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RateLimitQuotaFilterConfig.BuilderclearRequestHeadersToAddWhenNotEnforced()Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.RateLimitQuotaFilterConfig.BuilderclearRlqsServer()Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.RateLimitQuotaFilterConfig.Builderclone()MatchergetBucketMatchers()The match tree to use for grouping incoming requests into buckets.Matcher.BuildergetBucketMatchersBuilder()The match tree to use for grouping incoming requests into buckets.MatcherOrBuildergetBucketMatchersOrBuilder()The match tree to use for grouping incoming requests into buckets.RateLimitQuotaFilterConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDomain()The application domain to use when calling the service.com.google.protobuf.ByteStringgetDomainBytes()The application domain to use when calling the service.RuntimeFractionalPercentgetFilterEnabled()If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.RuntimeFractionalPercent.BuildergetFilterEnabledBuilder()If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.RuntimeFractionalPercentOrBuildergetFilterEnabledOrBuilder()If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.RuntimeFractionalPercentgetFilterEnforced()If set, this will enforce the rate limit decisions for the given fraction of requests.RuntimeFractionalPercent.BuildergetFilterEnforcedBuilder()If set, this will enforce the rate limit decisions for the given fraction of requests.RuntimeFractionalPercentOrBuildergetFilterEnforcedOrBuilder()If set, this will enforce the rate limit decisions for the given fraction of requests.HeaderValueOptiongetRequestHeadersToAddWhenNotEnforced(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.HeaderValueOption.BuildergetRequestHeadersToAddWhenNotEnforcedBuilder(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.List<HeaderValueOption.Builder>getRequestHeadersToAddWhenNotEnforcedBuilderList()Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.intgetRequestHeadersToAddWhenNotEnforcedCount()Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.List<HeaderValueOption>getRequestHeadersToAddWhenNotEnforcedList()Specifies a list of HTTP headers that should be added to each request that has been rate limited and is also forwarded upstream.HeaderValueOptionOrBuildergetRequestHeadersToAddWhenNotEnforcedOrBuilder(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.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.GrpcServicegetRlqsServer()Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.GrpcService.BuildergetRlqsServerBuilder()Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.GrpcServiceOrBuildergetRlqsServerOrBuilder()Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.booleanhasBucketMatchers()The match tree to use for grouping incoming requests into buckets.booleanhasFilterEnabled()If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.booleanhasFilterEnforced()If set, this will enforce the rate limit decisions for the given fraction of requests.booleanhasRlqsServer()Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RateLimitQuotaFilterConfig.BuildermergeBucketMatchers(Matcher value)The match tree to use for grouping incoming requests into buckets.RateLimitQuotaFilterConfig.BuildermergeFilterEnabled(RuntimeFractionalPercent value)If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.RateLimitQuotaFilterConfig.BuildermergeFilterEnforced(RuntimeFractionalPercent value)If set, this will enforce the rate limit decisions for the given fraction of requests.RateLimitQuotaFilterConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RateLimitQuotaFilterConfig.BuildermergeFrom(com.google.protobuf.Message other)RateLimitQuotaFilterConfig.BuildermergeFrom(RateLimitQuotaFilterConfig other)RateLimitQuotaFilterConfig.BuildermergeRlqsServer(GrpcService value)Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.RateLimitQuotaFilterConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RateLimitQuotaFilterConfig.BuilderremoveRequestHeadersToAddWhenNotEnforced(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.RateLimitQuotaFilterConfig.BuildersetBucketMatchers(Matcher value)The match tree to use for grouping incoming requests into buckets.RateLimitQuotaFilterConfig.BuildersetBucketMatchers(Matcher.Builder builderForValue)The match tree to use for grouping incoming requests into buckets.RateLimitQuotaFilterConfig.BuildersetDomain(String value)The application domain to use when calling the service.RateLimitQuotaFilterConfig.BuildersetDomainBytes(com.google.protobuf.ByteString value)The application domain to use when calling the service.RateLimitQuotaFilterConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RateLimitQuotaFilterConfig.BuildersetFilterEnabled(RuntimeFractionalPercent value)If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.RateLimitQuotaFilterConfig.BuildersetFilterEnabled(RuntimeFractionalPercent.Builder builderForValue)If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.RateLimitQuotaFilterConfig.BuildersetFilterEnforced(RuntimeFractionalPercent value)If set, this will enforce the rate limit decisions for the given fraction of requests.RateLimitQuotaFilterConfig.BuildersetFilterEnforced(RuntimeFractionalPercent.Builder builderForValue)If set, this will enforce the rate limit decisions for the given fraction of requests.RateLimitQuotaFilterConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RateLimitQuotaFilterConfig.BuildersetRequestHeadersToAddWhenNotEnforced(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.RateLimitQuotaFilterConfig.BuildersetRequestHeadersToAddWhenNotEnforced(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.RateLimitQuotaFilterConfig.BuildersetRlqsServer(GrpcService value)Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.RateLimitQuotaFilterConfig.BuildersetRlqsServer(GrpcService.Builder builderForValue)Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.RateLimitQuotaFilterConfig.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<RateLimitQuotaFilterConfig.Builder>
-
clear
public RateLimitQuotaFilterConfig.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<RateLimitQuotaFilterConfig.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<RateLimitQuotaFilterConfig.Builder>
-
getDefaultInstanceForType
public RateLimitQuotaFilterConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RateLimitQuotaFilterConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RateLimitQuotaFilterConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RateLimitQuotaFilterConfig.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<RateLimitQuotaFilterConfig.Builder>
-
setField
public RateLimitQuotaFilterConfig.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<RateLimitQuotaFilterConfig.Builder>
-
clearField
public RateLimitQuotaFilterConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RateLimitQuotaFilterConfig.Builder>
-
clearOneof
public RateLimitQuotaFilterConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RateLimitQuotaFilterConfig.Builder>
-
setRepeatedField
public RateLimitQuotaFilterConfig.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<RateLimitQuotaFilterConfig.Builder>
-
addRepeatedField
public RateLimitQuotaFilterConfig.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<RateLimitQuotaFilterConfig.Builder>
-
mergeFrom
public RateLimitQuotaFilterConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RateLimitQuotaFilterConfig.Builder>
-
mergeFrom
public RateLimitQuotaFilterConfig.Builder mergeFrom(RateLimitQuotaFilterConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RateLimitQuotaFilterConfig.Builder>
-
mergeFrom
public RateLimitQuotaFilterConfig.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<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:
hasRlqsServerin interfaceRateLimitQuotaFilterConfigOrBuilder- Returns:
- Whether the rlqsServer field is set.
-
getRlqsServer
public GrpcService getRlqsServer()
Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.
.envoy.config.core.v3.GrpcService rlqs_server = 1 [(.validate.rules) = { ... }- Specified by:
getRlqsServerin interfaceRateLimitQuotaFilterConfigOrBuilder- Returns:
- The rlqsServer.
-
setRlqsServer
public RateLimitQuotaFilterConfig.Builder setRlqsServer(GrpcService value)
Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.
.envoy.config.core.v3.GrpcService rlqs_server = 1 [(.validate.rules) = { ... }
-
setRlqsServer
public RateLimitQuotaFilterConfig.Builder setRlqsServer(GrpcService.Builder builderForValue)
Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.
.envoy.config.core.v3.GrpcService rlqs_server = 1 [(.validate.rules) = { ... }
-
mergeRlqsServer
public RateLimitQuotaFilterConfig.Builder mergeRlqsServer(GrpcService value)
Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.
.envoy.config.core.v3.GrpcService rlqs_server = 1 [(.validate.rules) = { ... }
-
clearRlqsServer
public RateLimitQuotaFilterConfig.Builder clearRlqsServer()
Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.
.envoy.config.core.v3.GrpcService rlqs_server = 1 [(.validate.rules) = { ... }
-
getRlqsServerBuilder
public GrpcService.Builder getRlqsServerBuilder()
Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.
.envoy.config.core.v3.GrpcService rlqs_server = 1 [(.validate.rules) = { ... }
-
getRlqsServerOrBuilder
public GrpcServiceOrBuilder getRlqsServerOrBuilder()
Configures the gRPC Rate Limit Quota Service (RLQS) RateLimitQuotaService.
.envoy.config.core.v3.GrpcService rlqs_server = 1 [(.validate.rules) = { ... }- Specified by:
getRlqsServerOrBuilderin interfaceRateLimitQuotaFilterConfigOrBuilder
-
getDomain
public String 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:
getDomainin 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:
getDomainBytesin interfaceRateLimitQuotaFilterConfigOrBuilder- Returns:
- The bytes for domain.
-
setDomain
public RateLimitQuotaFilterConfig.Builder setDomain(String value)
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
public RateLimitQuotaFilterConfig.Builder 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
public RateLimitQuotaFilterConfig.Builder setDomainBytes(com.google.protobuf.ByteString value)
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:
hasBucketMatchersin interfaceRateLimitQuotaFilterConfigOrBuilder- Returns:
- Whether the bucketMatchers field is set.
-
getBucketMatchers
public Matcher 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:
getBucketMatchersin interfaceRateLimitQuotaFilterConfigOrBuilder- Returns:
- The bucketMatchers.
-
setBucketMatchers
public RateLimitQuotaFilterConfig.Builder setBucketMatchers(Matcher value)
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
public RateLimitQuotaFilterConfig.Builder setBucketMatchers(Matcher.Builder builderForValue)
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
public RateLimitQuotaFilterConfig.Builder mergeBucketMatchers(Matcher value)
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
public RateLimitQuotaFilterConfig.Builder 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
public Matcher.Builder 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
public MatcherOrBuilder 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:
getBucketMatchersOrBuilderin interfaceRateLimitQuotaFilterConfigOrBuilder
-
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:
hasFilterEnabledin interfaceRateLimitQuotaFilterConfigOrBuilder- Returns:
- Whether the filterEnabled field is set.
-
getFilterEnabled
public RuntimeFractionalPercent 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:
getFilterEnabledin interfaceRateLimitQuotaFilterConfigOrBuilder- Returns:
- The filterEnabled.
-
setFilterEnabled
public RateLimitQuotaFilterConfig.Builder setFilterEnabled(RuntimeFractionalPercent value)
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
public RateLimitQuotaFilterConfig.Builder mergeFilterEnabled(RuntimeFractionalPercent value)
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
public RateLimitQuotaFilterConfig.Builder 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
public RuntimeFractionalPercent.Builder 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
public RuntimeFractionalPercentOrBuilder 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:
getFilterEnabledOrBuilderin interfaceRateLimitQuotaFilterConfigOrBuilder
-
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:
hasFilterEnforcedin interfaceRateLimitQuotaFilterConfigOrBuilder- Returns:
- Whether the filterEnforced field is set.
-
getFilterEnforced
public RuntimeFractionalPercent 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:
getFilterEnforcedin interfaceRateLimitQuotaFilterConfigOrBuilder- Returns:
- The filterEnforced.
-
setFilterEnforced
public RateLimitQuotaFilterConfig.Builder setFilterEnforced(RuntimeFractionalPercent value)
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
public RateLimitQuotaFilterConfig.Builder mergeFilterEnforced(RuntimeFractionalPercent value)
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
public RateLimitQuotaFilterConfig.Builder 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
public RuntimeFractionalPercent.Builder 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
public RuntimeFractionalPercentOrBuilder 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:
getFilterEnforcedOrBuilderin interfaceRateLimitQuotaFilterConfigOrBuilder
-
getRequestHeadersToAddWhenNotEnforcedList
public List<HeaderValueOption> 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:
getRequestHeadersToAddWhenNotEnforcedListin 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:
getRequestHeadersToAddWhenNotEnforcedCountin interfaceRateLimitQuotaFilterConfigOrBuilder
-
getRequestHeadersToAddWhenNotEnforced
public HeaderValueOption 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. 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:
getRequestHeadersToAddWhenNotEnforcedin 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
public RateLimitQuotaFilterConfig.Builder 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
public RateLimitQuotaFilterConfig.Builder 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. 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
public HeaderValueOption.Builder 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. 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
public HeaderValueOptionOrBuilder getRequestHeadersToAddWhenNotEnforcedOrBuilder(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. 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:
getRequestHeadersToAddWhenNotEnforcedOrBuilderin 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:
getRequestHeadersToAddWhenNotEnforcedOrBuilderListin interfaceRateLimitQuotaFilterConfigOrBuilder
-
addRequestHeadersToAddWhenNotEnforcedBuilder
public HeaderValueOption.Builder 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
public HeaderValueOption.Builder 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. 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
public List<HeaderValueOption.Builder> 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) = { ... }
-
setUnknownFields
public final RateLimitQuotaFilterConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RateLimitQuotaFilterConfig.Builder>
-
mergeUnknownFields
public final RateLimitQuotaFilterConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RateLimitQuotaFilterConfig.Builder>
-
-