Uses of Class
io.envoyproxy.envoy.extensions.filters.http.ratelimit.v3.RateLimit.Builder
Packages that use RateLimit.Builder
-
Uses of RateLimit.Builder in io.envoyproxy.envoy.extensions.filters.http.ratelimit.v3
Methods in io.envoyproxy.envoy.extensions.filters.http.ratelimit.v3 that return RateLimit.BuilderModifier and TypeMethodDescriptionRateLimit.Builder.addAllRateLimits(Iterable<? extends RateLimit> values) Rate limit configuration that is used to generate a list of descriptor entries based on the request context.RateLimit.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.RateLimit.Builder.addRateLimits(int index, RateLimit value) Rate limit configuration that is used to generate a list of descriptor entries based on the request context.RateLimit.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.RateLimit.Builder.addRateLimits(RateLimit value) Rate limit configuration that is used to generate a list of descriptor entries based on the request context.RateLimit.Builder.addRateLimits(RateLimit.Builder builderForValue) Rate limit configuration that is used to generate a list of descriptor entries based on the request context.RateLimit.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) RateLimit.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.RateLimit.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.RateLimit.Builder.addResponseHeadersToAdd(HeaderValueOption value) Specifies a list of HTTP headers that should be added to each response for requests that have been rate limited.RateLimit.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.RateLimit.Builder.clear()RateLimit.Builder.clearDisableXEnvoyRatelimitedHeader()Disables emitting the :ref:`x-envoy-ratelimited<config_http_filters_router_x-envoy-ratelimited>` header in case of rate limiting (i.e. 429 responses).RateLimit.Builder.clearDomain()The rate limit domain to use when calling the rate limit service.RateLimit.Builder.clearEnableXRatelimitHeaders()Defines the standard version to use for X-RateLimit headers emitted by the filter: * ``X-RateLimit-Limit`` - indicates the request-quota associated to the client in the current time-window followed by the description of the quota policy.RateLimit.Builder.clearFailureModeDeny()The filter's behaviour in case the rate limiting service does not respond back.RateLimit.Builder.clearFailureModeDenyPercent()If set, this will override the failure_mode_deny parameter with a runtime fraction.RateLimit.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) RateLimit.Builder.clearFilterEnabled()If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.RateLimit.Builder.clearFilterEnforced()If set, this will enforce the rate limit decisions for the given fraction of requests.RateLimit.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) RateLimit.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.RateLimit.Builder.clearRateLimitedStatus()This field allows for a custom HTTP response status code to the downstream client when the request has been rate limited.RateLimit.Builder.clearRateLimits()Rate limit configuration that is used to generate a list of descriptor entries based on the request context.RateLimit.Builder.clearRateLimitService()Configuration for an external rate limit service provider.RateLimit.Builder.clearRequestType()The type of requests the filter should apply to.RateLimit.Builder.clearResponseHeadersToAdd()Specifies a list of HTTP headers that should be added to each response for requests that have been rate limited.RateLimit.Builder.clearStage()Specifies the rate limit configurations to be applied with the same stage number.RateLimit.Builder.clearStatPrefix()Optional additional prefix to use when emitting statistics.RateLimit.Builder.clearStatusOnError()Sets the HTTP status that is returned to the client when the ratelimit server returns an error or cannot be reached.RateLimit.Builder.clearTimeout()The timeout in milliseconds for the rate limit service RPC.RateLimit.Builder.clone()RateLimit.Builder.mergeFailureModeDenyPercent(RuntimeFractionalPercent value) If set, this will override the failure_mode_deny parameter with a runtime fraction.RateLimit.Builder.mergeFilterEnabled(RuntimeFractionalPercent value) If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.RateLimit.Builder.mergeFilterEnforced(RuntimeFractionalPercent value) If set, this will enforce the rate limit decisions for the given fraction of requests.RateLimit.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) RateLimit.Builder.mergeFrom(com.google.protobuf.Message other) RateLimit.Builder.mergeRateLimitedStatus(HttpStatus value) This field allows for a custom HTTP response status code to the downstream client when the request has been rate limited.RateLimit.Builder.mergeRateLimitService(RateLimitServiceConfig value) Configuration for an external rate limit service provider.RateLimit.Builder.mergeStatusOnError(HttpStatus value) Sets the HTTP status that is returned to the client when the ratelimit server returns an error or cannot be reached.RateLimit.Builder.mergeTimeout(com.google.protobuf.Duration value) The timeout in milliseconds for the rate limit service RPC.final RateLimit.BuilderRateLimit.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) static RateLimit.BuilderRateLimit.newBuilder()static RateLimit.BuilderRateLimit.newBuilder(RateLimit prototype) RateLimit.newBuilderForType()protected RateLimit.BuilderRateLimit.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) RateLimit.Builder.removeRateLimits(int index) Rate limit configuration that is used to generate a list of descriptor entries based on the request context.RateLimit.Builder.removeResponseHeadersToAdd(int index) Specifies a list of HTTP headers that should be added to each response for requests that have been rate limited.RateLimit.Builder.setDisableXEnvoyRatelimitedHeader(boolean value) Disables emitting the :ref:`x-envoy-ratelimited<config_http_filters_router_x-envoy-ratelimited>` header in case of rate limiting (i.e. 429 responses).The rate limit domain to use when calling the rate limit service.RateLimit.Builder.setDomainBytes(com.google.protobuf.ByteString value) The rate limit domain to use when calling the rate limit service.RateLimit.Builder.setEnableXRatelimitHeaders(RateLimit.XRateLimitHeadersRFCVersion value) Defines the standard version to use for X-RateLimit headers emitted by the filter: * ``X-RateLimit-Limit`` - indicates the request-quota associated to the client in the current time-window followed by the description of the quota policy.RateLimit.Builder.setEnableXRatelimitHeadersValue(int value) Defines the standard version to use for X-RateLimit headers emitted by the filter: * ``X-RateLimit-Limit`` - indicates the request-quota associated to the client in the current time-window followed by the description of the quota policy.RateLimit.Builder.setFailureModeDeny(boolean value) The filter's behaviour in case the rate limiting service does not respond back.RateLimit.Builder.setFailureModeDenyPercent(RuntimeFractionalPercent value) If set, this will override the failure_mode_deny parameter with a runtime fraction.RateLimit.Builder.setFailureModeDenyPercent(RuntimeFractionalPercent.Builder builderForValue) If set, this will override the failure_mode_deny parameter with a runtime fraction.RateLimit.Builder.setFilterEnabled(RuntimeFractionalPercent value) If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.RateLimit.Builder.setFilterEnabled(RuntimeFractionalPercent.Builder builderForValue) If set, this will enable -- but not necessarily enforce -- the rate limit for the given fraction of requests.RateLimit.Builder.setFilterEnforced(RuntimeFractionalPercent value) If set, this will enforce the rate limit decisions for the given fraction of requests.RateLimit.Builder.setFilterEnforced(RuntimeFractionalPercent.Builder builderForValue) If set, this will enforce the rate limit decisions for the given fraction of requests.RateLimit.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.RateLimit.Builder.setRateLimitedStatus(HttpStatus value) This field allows for a custom HTTP response status code to the downstream client when the request has been rate limited.RateLimit.Builder.setRateLimitedStatus(HttpStatus.Builder builderForValue) This field allows for a custom HTTP response status code to the downstream client when the request has been rate limited.RateLimit.Builder.setRateLimits(int index, RateLimit value) Rate limit configuration that is used to generate a list of descriptor entries based on the request context.RateLimit.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.RateLimit.Builder.setRateLimitService(RateLimitServiceConfig value) Configuration for an external rate limit service provider.RateLimit.Builder.setRateLimitService(RateLimitServiceConfig.Builder builderForValue) Configuration for an external rate limit service provider.RateLimit.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) RateLimit.Builder.setRequestType(String value) The type of requests the filter should apply to.RateLimit.Builder.setRequestTypeBytes(com.google.protobuf.ByteString value) The type of requests the filter should apply to.RateLimit.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.RateLimit.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.RateLimit.Builder.setStage(int value) Specifies the rate limit configurations to be applied with the same stage number.RateLimit.Builder.setStatPrefix(String value) Optional additional prefix to use when emitting statistics.RateLimit.Builder.setStatPrefixBytes(com.google.protobuf.ByteString value) Optional additional prefix to use when emitting statistics.RateLimit.Builder.setStatusOnError(HttpStatus value) Sets the HTTP status that is returned to the client when the ratelimit server returns an error or cannot be reached.RateLimit.Builder.setStatusOnError(HttpStatus.Builder builderForValue) Sets the HTTP status that is returned to the client when the ratelimit server returns an error or cannot be reached.RateLimit.Builder.setTimeout(com.google.protobuf.Duration value) The timeout in milliseconds for the rate limit service RPC.RateLimit.Builder.setTimeout(com.google.protobuf.Duration.Builder builderForValue) The timeout in milliseconds for the rate limit service RPC.final RateLimit.BuilderRateLimit.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) RateLimit.toBuilder()