public interface LocalRateLimitOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
RuntimeFeatureFlag |
getRuntimeEnabled()
Runtime flag that controls whether the filter is enabled or not.
|
RuntimeFeatureFlagOrBuilder |
getRuntimeEnabledOrBuilder()
Runtime flag that controls whether the filter is enabled or not.
|
String |
getStatPrefix()
The prefix to use when emitting :ref:`statistics
<config_network_filters_local_rate_limit_stats>`.
|
com.google.protobuf.ByteString |
getStatPrefixBytes()
The prefix to use when emitting :ref:`statistics
<config_network_filters_local_rate_limit_stats>`.
|
TokenBucket |
getTokenBucket()
The token bucket configuration to use for rate limiting connections that are processed by the
filter's filter chain.
|
TokenBucketOrBuilder |
getTokenBucketOrBuilder()
The token bucket configuration to use for rate limiting connections that are processed by the
filter's filter chain.
|
boolean |
hasRuntimeEnabled()
Runtime flag that controls whether the filter is enabled or not.
|
boolean |
hasTokenBucket()
The token bucket configuration to use for rate limiting connections that are processed by the
filter's filter chain.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getStatPrefix()
The prefix to use when emitting :ref:`statistics <config_network_filters_local_rate_limit_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }com.google.protobuf.ByteString getStatPrefixBytes()
The prefix to use when emitting :ref:`statistics <config_network_filters_local_rate_limit_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }boolean hasTokenBucket()
The token bucket configuration to use for rate limiting connections that are processed by the filter's filter chain. Each incoming connection processed by the filter consumes a single token. If the token is available, the connection will be allowed. If no tokens are available, the connection will be immediately closed. .. note:: In the current implementation each filter and filter chain has an independent rate limit. .. note:: In the current implementation the token bucket's :ref:`fill_interval <envoy_api_field_type.TokenBucket.fill_interval>` must be >= 50ms to avoid too aggressive refills.
.envoy.type.TokenBucket token_bucket = 2 [(.validate.rules) = { ... }TokenBucket getTokenBucket()
The token bucket configuration to use for rate limiting connections that are processed by the filter's filter chain. Each incoming connection processed by the filter consumes a single token. If the token is available, the connection will be allowed. If no tokens are available, the connection will be immediately closed. .. note:: In the current implementation each filter and filter chain has an independent rate limit. .. note:: In the current implementation the token bucket's :ref:`fill_interval <envoy_api_field_type.TokenBucket.fill_interval>` must be >= 50ms to avoid too aggressive refills.
.envoy.type.TokenBucket token_bucket = 2 [(.validate.rules) = { ... }TokenBucketOrBuilder getTokenBucketOrBuilder()
The token bucket configuration to use for rate limiting connections that are processed by the filter's filter chain. Each incoming connection processed by the filter consumes a single token. If the token is available, the connection will be allowed. If no tokens are available, the connection will be immediately closed. .. note:: In the current implementation each filter and filter chain has an independent rate limit. .. note:: In the current implementation the token bucket's :ref:`fill_interval <envoy_api_field_type.TokenBucket.fill_interval>` must be >= 50ms to avoid too aggressive refills.
.envoy.type.TokenBucket token_bucket = 2 [(.validate.rules) = { ... }boolean hasRuntimeEnabled()
Runtime flag that controls whether the filter is enabled or not. If not specified, defaults to enabled.
.envoy.api.v2.core.RuntimeFeatureFlag runtime_enabled = 3;RuntimeFeatureFlag getRuntimeEnabled()
Runtime flag that controls whether the filter is enabled or not. If not specified, defaults to enabled.
.envoy.api.v2.core.RuntimeFeatureFlag runtime_enabled = 3;RuntimeFeatureFlagOrBuilder getRuntimeEnabledOrBuilder()
Runtime flag that controls whether the filter is enabled or not. If not specified, defaults to enabled.
.envoy.api.v2.core.RuntimeFeatureFlag runtime_enabled = 3;Copyright © 2018–2021 The Envoy Project. All rights reserved.