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.Duration getDelay()
      The delay configuration to use for rejecting the connection after some specified time duration instead of immediately rejecting the connection.
      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.
      com.google.protobuf.UInt64Value getMaxConnections()
      The max connections configuration to use for new incoming connections that are processed by the filter's filter chain.
      com.google.protobuf.UInt64ValueOrBuilder getMaxConnectionsOrBuilder()
      The max connections configuration to use for new incoming connections that are processed by the filter's filter chain.
      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_connection_limit_stats>`.
      com.google.protobuf.ByteString getStatPrefixBytes()
      The prefix to use when emitting :ref:`statistics <config_network_filters_connection_limit_stats>`.
      boolean hasDelay()
      The delay configuration to use for rejecting the connection after some specified time duration instead of immediately rejecting the connection.
      boolean hasMaxConnections()
      The max connections configuration to use for new incoming connections that are processed by the filter's filter chain.
      boolean hasRuntimeEnabled()
      Runtime flag that controls whether the filter is enabled or not.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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;