Interface RateLimitOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    RateLimit, RateLimit.Builder

    public interface RateLimitOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      RateLimit.Action getActions​(int index)
      A list of actions that are to be applied for this rate limit configuration.
      int getActionsCount()
      A list of actions that are to be applied for this rate limit configuration.
      List<RateLimit.Action> getActionsList()
      A list of actions that are to be applied for this rate limit configuration.
      RateLimit.ActionOrBuilder getActionsOrBuilder​(int index)
      A list of actions that are to be applied for this rate limit configuration.
      List<? extends RateLimit.ActionOrBuilder> getActionsOrBuilderList()
      A list of actions that are to be applied for this rate limit configuration.
      String getDisableKey()
      The key to be set in runtime to disable this rate limit configuration.
      com.google.protobuf.ByteString getDisableKeyBytes()
      The key to be set in runtime to disable this rate limit configuration.
      com.google.protobuf.UInt32Value getStage()
      Refers to the stage set in the filter.
      com.google.protobuf.UInt32ValueOrBuilder getStageOrBuilder()
      Refers to the stage set in the filter.
      boolean hasStage()
      Refers to the stage set in the filter.
      • 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

      • hasStage

        boolean hasStage()
         Refers to the stage set in the filter. The rate limit configuration only
         applies to filters with the same stage number. The default stage number is
         0.
         .. note::
           The filter supports a range of 0 - 10 inclusively for stage numbers.
         
        .google.protobuf.UInt32Value stage = 1 [(.validate.rules) = { ... }
        Returns:
        Whether the stage field is set.
      • getStage

        com.google.protobuf.UInt32Value getStage()
         Refers to the stage set in the filter. The rate limit configuration only
         applies to filters with the same stage number. The default stage number is
         0.
         .. note::
           The filter supports a range of 0 - 10 inclusively for stage numbers.
         
        .google.protobuf.UInt32Value stage = 1 [(.validate.rules) = { ... }
        Returns:
        The stage.
      • getStageOrBuilder

        com.google.protobuf.UInt32ValueOrBuilder getStageOrBuilder()
         Refers to the stage set in the filter. The rate limit configuration only
         applies to filters with the same stage number. The default stage number is
         0.
         .. note::
           The filter supports a range of 0 - 10 inclusively for stage numbers.
         
        .google.protobuf.UInt32Value stage = 1 [(.validate.rules) = { ... }
      • getDisableKey

        String getDisableKey()
         The key to be set in runtime to disable this rate limit configuration.
         
        string disable_key = 2;
        Returns:
        The disableKey.
      • getDisableKeyBytes

        com.google.protobuf.ByteString getDisableKeyBytes()
         The key to be set in runtime to disable this rate limit configuration.
         
        string disable_key = 2;
        Returns:
        The bytes for disableKey.
      • getActionsList

        List<RateLimit.Action> getActionsList()
         A list of actions that are to be applied for this rate limit configuration.
         Order matters as the actions are processed sequentially and the descriptor
         is composed by appending descriptor entries in that sequence. If an action
         cannot append a descriptor entry, no descriptor is generated for the
         configuration. See :ref:`composing actions
         <config_http_filters_rate_limit_composing_actions>` for additional documentation.
         
        repeated .envoy.api.v2.route.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
      • getActions

        RateLimit.Action getActions​(int index)
         A list of actions that are to be applied for this rate limit configuration.
         Order matters as the actions are processed sequentially and the descriptor
         is composed by appending descriptor entries in that sequence. If an action
         cannot append a descriptor entry, no descriptor is generated for the
         configuration. See :ref:`composing actions
         <config_http_filters_rate_limit_composing_actions>` for additional documentation.
         
        repeated .envoy.api.v2.route.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
      • getActionsCount

        int getActionsCount()
         A list of actions that are to be applied for this rate limit configuration.
         Order matters as the actions are processed sequentially and the descriptor
         is composed by appending descriptor entries in that sequence. If an action
         cannot append a descriptor entry, no descriptor is generated for the
         configuration. See :ref:`composing actions
         <config_http_filters_rate_limit_composing_actions>` for additional documentation.
         
        repeated .envoy.api.v2.route.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
      • getActionsOrBuilderList

        List<? extends RateLimit.ActionOrBuilder> getActionsOrBuilderList()
         A list of actions that are to be applied for this rate limit configuration.
         Order matters as the actions are processed sequentially and the descriptor
         is composed by appending descriptor entries in that sequence. If an action
         cannot append a descriptor entry, no descriptor is generated for the
         configuration. See :ref:`composing actions
         <config_http_filters_rate_limit_composing_actions>` for additional documentation.
         
        repeated .envoy.api.v2.route.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
      • getActionsOrBuilder

        RateLimit.ActionOrBuilder getActionsOrBuilder​(int index)
         A list of actions that are to be applied for this rate limit configuration.
         Order matters as the actions are processed sequentially and the descriptor
         is composed by appending descriptor entries in that sequence. If an action
         cannot append a descriptor entry, no descriptor is generated for the
         configuration. See :ref:`composing actions
         <config_http_filters_rate_limit_composing_actions>` for additional documentation.
         
        repeated .envoy.api.v2.route.RateLimit.Action actions = 3 [(.validate.rules) = { ... }