Uses of Class
io.envoyproxy.envoy.extensions.filters.http.local_ratelimit.v3.LocalRateLimit.Builder
Packages that use LocalRateLimit.Builder
-
Uses of LocalRateLimit.Builder in io.envoyproxy.envoy.extensions.filters.http.local_ratelimit.v3
Methods in io.envoyproxy.envoy.extensions.filters.http.local_ratelimit.v3 that return LocalRateLimit.BuilderModifier and TypeMethodDescriptionLocalRateLimit.Builder.addAllDescriptors(Iterable<? extends LocalRateLimitDescriptor> values) The rate limit descriptor list to use in the local rate limit to override on.LocalRateLimit.Builder.addAllRateLimits(Iterable<? extends RateLimit> values) Rate limit configuration that is used to generate a list of descriptor entries based on the request context.LocalRateLimit.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.LocalRateLimit.Builder.addAllResponseHeadersToAdd(Iterable<? extends HeaderValueOption> values) Specifies a list of HTTP headers that should be added to each response for requests that have been rate limited.LocalRateLimit.Builder.addDescriptors(int index, LocalRateLimitDescriptor value) The rate limit descriptor list to use in the local rate limit to override on.LocalRateLimit.Builder.addDescriptors(int index, LocalRateLimitDescriptor.Builder builderForValue) The rate limit descriptor list to use in the local rate limit to override on.LocalRateLimit.Builder.addDescriptors(LocalRateLimitDescriptor value) The rate limit descriptor list to use in the local rate limit to override on.LocalRateLimit.Builder.addDescriptors(LocalRateLimitDescriptor.Builder builderForValue) The rate limit descriptor list to use in the local rate limit to override on.LocalRateLimit.Builder.addRateLimits(int index, RateLimit value) Rate limit configuration that is used to generate a list of descriptor entries based on the request context.LocalRateLimit.Builder.addRateLimits(int index, RateLimit.Builder builderForValue) Rate limit configuration that is used to generate a list of descriptor entries based on the request context.LocalRateLimit.Builder.addRateLimits(RateLimit value) Rate limit configuration that is used to generate a list of descriptor entries based on the request context.LocalRateLimit.Builder.addRateLimits(RateLimit.Builder builderForValue) Rate limit configuration that is used to generate a list of descriptor entries based on the request context.LocalRateLimit.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) LocalRateLimit.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.LocalRateLimit.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.LocalRateLimit.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.LocalRateLimit.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.LocalRateLimit.Builder.addResponseHeadersToAdd(int index, HeaderValueOption value) Specifies a list of HTTP headers that should be added to each response for requests that have been rate limited.LocalRateLimit.Builder.addResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue) Specifies a list of HTTP headers that should be added to each response for requests that have been rate limited.LocalRateLimit.Builder.addResponseHeadersToAdd(HeaderValueOption value) Specifies a list of HTTP headers that should be added to each response for requests that have been rate limited.LocalRateLimit.Builder.addResponseHeadersToAdd(HeaderValueOption.Builder builderForValue) Specifies a list of HTTP headers that should be added to each response for requests that have been rate limited.LocalRateLimit.Builder.clear()LocalRateLimit.Builder.clearAlwaysConsumeDefaultTokenBucket()Specifies if default token bucket should be always consumed.LocalRateLimit.Builder.clearDescriptors()The rate limit descriptor list to use in the local rate limit to override on.LocalRateLimit.Builder.clearEnableXRatelimitHeaders()Defines the standard version to use for X-RateLimit headers emitted by the filterLocalRateLimit.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) LocalRateLimit.Builder.clearFilterEnabled()If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.LocalRateLimit.Builder.clearFilterEnforced()If set, this will enforce the rate limit decisions for the given fraction of requests.LocalRateLimit.Builder.clearLocalClusterRateLimit()Enables the local cluster level rate limiting, iff this is set explicitly.LocalRateLimit.Builder.clearLocalRateLimitPerDownstreamConnection()Specifies the scope of the rate limiter's token bucket.LocalRateLimit.Builder.clearMaxDynamicDescriptors()Specifies the max dynamic descriptors kept in the cache for a particular wildcard descriptor configured in the global :ref:`descriptors<envoy_v3_api_field_extensions.filters.http.local_ratelimit.v3.LocalRateLimit.descriptors>`.LocalRateLimit.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) LocalRateLimit.Builder.clearRateLimitedAsResourceExhausted()Specifies whether a ``RESOURCE_EXHAUSTED`` gRPC code must be returned instead of the default ``UNAVAILABLE`` gRPC code for a rate limited gRPC call.LocalRateLimit.Builder.clearRateLimits()Rate limit configuration that is used to generate a list of descriptor entries based on the request context.LocalRateLimit.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.LocalRateLimit.Builder.clearResponseHeadersToAdd()Specifies a list of HTTP headers that should be added to each response for requests that have been rate limited.LocalRateLimit.Builder.clearStage()Specifies the rate limit configurations to be applied with the same stage number.LocalRateLimit.Builder.clearStatPrefix()The human readable prefix to use when emitting stats.LocalRateLimit.Builder.clearStatus()This field allows for a custom HTTP response status code to the downstream client when the request has been rate limited.LocalRateLimit.Builder.clearTokenBucket()The token bucket configuration to use for rate limiting requests that are processed by this filter.LocalRateLimit.Builder.clearVhRateLimits()Specifies if the local rate limit filter should include the virtual host rate limits.LocalRateLimit.Builder.clone()LocalRateLimit.Builder.mergeAlwaysConsumeDefaultTokenBucket(com.google.protobuf.BoolValue value) Specifies if default token bucket should be always consumed.LocalRateLimit.Builder.mergeFilterEnabled(RuntimeFractionalPercent value) If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.LocalRateLimit.Builder.mergeFilterEnforced(RuntimeFractionalPercent value) If set, this will enforce the rate limit decisions for the given fraction of requests.LocalRateLimit.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) LocalRateLimit.Builder.mergeFrom(com.google.protobuf.Message other) LocalRateLimit.Builder.mergeFrom(LocalRateLimit other) LocalRateLimit.Builder.mergeLocalClusterRateLimit(LocalClusterRateLimit value) Enables the local cluster level rate limiting, iff this is set explicitly.LocalRateLimit.Builder.mergeMaxDynamicDescriptors(com.google.protobuf.UInt32Value value) Specifies the max dynamic descriptors kept in the cache for a particular wildcard descriptor configured in the global :ref:`descriptors<envoy_v3_api_field_extensions.filters.http.local_ratelimit.v3.LocalRateLimit.descriptors>`.LocalRateLimit.Builder.mergeStatus(HttpStatus value) This field allows for a custom HTTP response status code to the downstream client when the request has been rate limited.LocalRateLimit.Builder.mergeTokenBucket(TokenBucket value) The token bucket configuration to use for rate limiting requests that are processed by this filter.final LocalRateLimit.BuilderLocalRateLimit.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) static LocalRateLimit.BuilderLocalRateLimit.newBuilder()static LocalRateLimit.BuilderLocalRateLimit.newBuilder(LocalRateLimit prototype) LocalRateLimit.newBuilderForType()protected LocalRateLimit.BuilderLocalRateLimit.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) LocalRateLimit.Builder.removeDescriptors(int index) The rate limit descriptor list to use in the local rate limit to override on.LocalRateLimit.Builder.removeRateLimits(int index) Rate limit configuration that is used to generate a list of descriptor entries based on the request context.LocalRateLimit.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.LocalRateLimit.Builder.removeResponseHeadersToAdd(int index) Specifies a list of HTTP headers that should be added to each response for requests that have been rate limited.LocalRateLimit.Builder.setAlwaysConsumeDefaultTokenBucket(com.google.protobuf.BoolValue value) Specifies if default token bucket should be always consumed.LocalRateLimit.Builder.setAlwaysConsumeDefaultTokenBucket(com.google.protobuf.BoolValue.Builder builderForValue) Specifies if default token bucket should be always consumed.LocalRateLimit.Builder.setDescriptors(int index, LocalRateLimitDescriptor value) The rate limit descriptor list to use in the local rate limit to override on.LocalRateLimit.Builder.setDescriptors(int index, LocalRateLimitDescriptor.Builder builderForValue) The rate limit descriptor list to use in the local rate limit to override on.LocalRateLimit.Builder.setEnableXRatelimitHeaders(XRateLimitHeadersRFCVersion value) Defines the standard version to use for X-RateLimit headers emitted by the filterLocalRateLimit.Builder.setEnableXRatelimitHeadersValue(int value) Defines the standard version to use for X-RateLimit headers emitted by the filterLocalRateLimit.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) LocalRateLimit.Builder.setFilterEnabled(RuntimeFractionalPercent value) If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.LocalRateLimit.Builder.setFilterEnabled(RuntimeFractionalPercent.Builder builderForValue) If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.LocalRateLimit.Builder.setFilterEnforced(RuntimeFractionalPercent value) If set, this will enforce the rate limit decisions for the given fraction of requests.LocalRateLimit.Builder.setFilterEnforced(RuntimeFractionalPercent.Builder builderForValue) If set, this will enforce the rate limit decisions for the given fraction of requests.LocalRateLimit.Builder.setLocalClusterRateLimit(LocalClusterRateLimit value) Enables the local cluster level rate limiting, iff this is set explicitly.LocalRateLimit.Builder.setLocalClusterRateLimit(LocalClusterRateLimit.Builder builderForValue) Enables the local cluster level rate limiting, iff this is set explicitly.LocalRateLimit.Builder.setLocalRateLimitPerDownstreamConnection(boolean value) Specifies the scope of the rate limiter's token bucket.LocalRateLimit.Builder.setMaxDynamicDescriptors(com.google.protobuf.UInt32Value value) Specifies the max dynamic descriptors kept in the cache for a particular wildcard descriptor configured in the global :ref:`descriptors<envoy_v3_api_field_extensions.filters.http.local_ratelimit.v3.LocalRateLimit.descriptors>`.LocalRateLimit.Builder.setMaxDynamicDescriptors(com.google.protobuf.UInt32Value.Builder builderForValue) Specifies the max dynamic descriptors kept in the cache for a particular wildcard descriptor configured in the global :ref:`descriptors<envoy_v3_api_field_extensions.filters.http.local_ratelimit.v3.LocalRateLimit.descriptors>`.LocalRateLimit.Builder.setRateLimitedAsResourceExhausted(boolean value) Specifies whether a ``RESOURCE_EXHAUSTED`` gRPC code must be returned instead of the default ``UNAVAILABLE`` gRPC code for a rate limited gRPC call.LocalRateLimit.Builder.setRateLimits(int index, RateLimit value) Rate limit configuration that is used to generate a list of descriptor entries based on the request context.LocalRateLimit.Builder.setRateLimits(int index, RateLimit.Builder builderForValue) Rate limit configuration that is used to generate a list of descriptor entries based on the request context.LocalRateLimit.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) LocalRateLimit.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.LocalRateLimit.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.LocalRateLimit.Builder.setResponseHeadersToAdd(int index, HeaderValueOption value) Specifies a list of HTTP headers that should be added to each response for requests that have been rate limited.LocalRateLimit.Builder.setResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue) Specifies a list of HTTP headers that should be added to each response for requests that have been rate limited.LocalRateLimit.Builder.setStage(int value) Specifies the rate limit configurations to be applied with the same stage number.LocalRateLimit.Builder.setStatPrefix(String value) The human readable prefix to use when emitting stats.LocalRateLimit.Builder.setStatPrefixBytes(com.google.protobuf.ByteString value) The human readable prefix to use when emitting stats.LocalRateLimit.Builder.setStatus(HttpStatus value) This field allows for a custom HTTP response status code to the downstream client when the request has been rate limited.LocalRateLimit.Builder.setStatus(HttpStatus.Builder builderForValue) This field allows for a custom HTTP response status code to the downstream client when the request has been rate limited.LocalRateLimit.Builder.setTokenBucket(TokenBucket value) The token bucket configuration to use for rate limiting requests that are processed by this filter.LocalRateLimit.Builder.setTokenBucket(TokenBucket.Builder builderForValue) The token bucket configuration to use for rate limiting requests that are processed by this filter.final LocalRateLimit.BuilderLocalRateLimit.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) LocalRateLimit.Builder.setVhRateLimits(VhRateLimitsOptions value) Specifies if the local rate limit filter should include the virtual host rate limits.LocalRateLimit.Builder.setVhRateLimitsValue(int value) Specifies if the local rate limit filter should include the virtual host rate limits.LocalRateLimit.toBuilder()