Interface ConnectionLimitOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConnectionLimit,ConnectionLimit.Builder
public interface ConnectionLimitOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.DurationgetDelay()The delay configuration to use for rejecting the connection after some specified time duration instead of immediately rejecting the connection.com.google.protobuf.DurationOrBuildergetDelayOrBuilder()The delay configuration to use for rejecting the connection after some specified time duration instead of immediately rejecting the connection.com.google.protobuf.UInt64ValuegetMaxConnections()The max connections configuration to use for new incoming connections that are processed by the filter's filter chain.com.google.protobuf.UInt64ValueOrBuildergetMaxConnectionsOrBuilder()The max connections configuration to use for new incoming connections that are processed by the filter's filter chain.RuntimeFeatureFlaggetRuntimeEnabled()Runtime flag that controls whether the filter is enabled or not.RuntimeFeatureFlagOrBuildergetRuntimeEnabledOrBuilder()Runtime flag that controls whether the filter is enabled or not.StringgetStatPrefix()The prefix to use when emitting :ref:`statistics <config_network_filters_connection_limit_stats>`.com.google.protobuf.ByteStringgetStatPrefixBytes()The prefix to use when emitting :ref:`statistics <config_network_filters_connection_limit_stats>`.booleanhasDelay()The delay configuration to use for rejecting the connection after some specified time duration instead of immediately rejecting the connection.booleanhasMaxConnections()The max connections configuration to use for new incoming connections that are processed by the filter's filter chain.booleanhasRuntimeEnabled()Runtime flag that controls whether the filter is enabled or not.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStatPrefix
String getStatPrefix()
The prefix to use when emitting :ref:`statistics <config_network_filters_connection_limit_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }- Returns:
- The statPrefix.
-
getStatPrefixBytes
com.google.protobuf.ByteString getStatPrefixBytes()
The prefix to use when emitting :ref:`statistics <config_network_filters_connection_limit_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for statPrefix.
-
hasMaxConnections
boolean hasMaxConnections()
The max connections configuration to use for new incoming connections that are processed by the filter's filter chain. When max_connection is reached, the incoming connection will be closed after delay duration.
.google.protobuf.UInt64Value max_connections = 2 [(.validate.rules) = { ... }- Returns:
- Whether the maxConnections field is set.
-
getMaxConnections
com.google.protobuf.UInt64Value getMaxConnections()
The max connections configuration to use for new incoming connections that are processed by the filter's filter chain. When max_connection is reached, the incoming connection will be closed after delay duration.
.google.protobuf.UInt64Value max_connections = 2 [(.validate.rules) = { ... }- Returns:
- The maxConnections.
-
getMaxConnectionsOrBuilder
com.google.protobuf.UInt64ValueOrBuilder getMaxConnectionsOrBuilder()
The max connections configuration to use for new incoming connections that are processed by the filter's filter chain. When max_connection is reached, the incoming connection will be closed after delay duration.
.google.protobuf.UInt64Value max_connections = 2 [(.validate.rules) = { ... }
-
hasDelay
boolean hasDelay()
The delay configuration to use for rejecting the connection after some specified time duration instead of immediately rejecting the connection. That way, a malicious user is not able to retry as fast as possible which provides a better DoS protection for Envoy. If this is not present, the connection will be closed immediately.
.google.protobuf.Duration delay = 3;- Returns:
- Whether the delay field is set.
-
getDelay
com.google.protobuf.Duration getDelay()
The delay configuration to use for rejecting the connection after some specified time duration instead of immediately rejecting the connection. That way, a malicious user is not able to retry as fast as possible which provides a better DoS protection for Envoy. If this is not present, the connection will be closed immediately.
.google.protobuf.Duration delay = 3;- Returns:
- The delay.
-
getDelayOrBuilder
com.google.protobuf.DurationOrBuilder getDelayOrBuilder()
The delay configuration to use for rejecting the connection after some specified time duration instead of immediately rejecting the connection. That way, a malicious user is not able to retry as fast as possible which provides a better DoS protection for Envoy. If this is not present, the connection will be closed immediately.
.google.protobuf.Duration delay = 3;
-
hasRuntimeEnabled
boolean hasRuntimeEnabled()
Runtime flag that controls whether the filter is enabled or not. If not specified, defaults to enabled.
.envoy.config.core.v3.RuntimeFeatureFlag runtime_enabled = 4;- Returns:
- Whether the runtimeEnabled field is set.
-
getRuntimeEnabled
RuntimeFeatureFlag getRuntimeEnabled()
Runtime flag that controls whether the filter is enabled or not. If not specified, defaults to enabled.
.envoy.config.core.v3.RuntimeFeatureFlag runtime_enabled = 4;- Returns:
- The runtimeEnabled.
-
getRuntimeEnabledOrBuilder
RuntimeFeatureFlagOrBuilder getRuntimeEnabledOrBuilder()
Runtime flag that controls whether the filter is enabled or not. If not specified, defaults to enabled.
.envoy.config.core.v3.RuntimeFeatureFlag runtime_enabled = 4;
-
-