Class RateLimit.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<RateLimit.Builder>
-
- io.envoyproxy.envoy.config.route.v3.RateLimit.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,RateLimitOrBuilder
,java.lang.Cloneable
- Enclosing class:
- RateLimit
public static final class RateLimit.Builder extends com.google.protobuf.GeneratedMessage.Builder<RateLimit.Builder> implements RateLimitOrBuilder
Global rate limiting :ref:`architecture overview <arch_overview_global_rate_limit>`. Also applies to Local rate limiting :ref:`using descriptors <config_http_filters_local_rate_limit_descriptors>`.
Protobuf typeenvoy.config.route.v3.RateLimit
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<RateLimit.Action>
actions_
private com.google.protobuf.RepeatedFieldBuilder<RateLimit.Action,RateLimit.Action.Builder,RateLimit.ActionOrBuilder>
actionsBuilder_
private int
bitField0_
private java.lang.Object
disableKey_
private RateLimit.Override
limit_
private com.google.protobuf.SingleFieldBuilder<RateLimit.Override,RateLimit.Override.Builder,RateLimit.OverrideOrBuilder>
limitBuilder_
private com.google.protobuf.UInt32Value
stage_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
stageBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RateLimit.Builder
addActions(int index, RateLimit.Action value)
A list of actions that are to be applied for this rate limit configuration.RateLimit.Builder
addActions(int index, RateLimit.Action.Builder builderForValue)
A list of actions that are to be applied for this rate limit configuration.RateLimit.Builder
addActions(RateLimit.Action value)
A list of actions that are to be applied for this rate limit configuration.RateLimit.Builder
addActions(RateLimit.Action.Builder builderForValue)
A list of actions that are to be applied for this rate limit configuration.RateLimit.Action.Builder
addActionsBuilder()
A list of actions that are to be applied for this rate limit configuration.RateLimit.Action.Builder
addActionsBuilder(int index)
A list of actions that are to be applied for this rate limit configuration.RateLimit.Builder
addAllActions(java.lang.Iterable<? extends RateLimit.Action> values)
A list of actions that are to be applied for this rate limit configuration.RateLimit
build()
RateLimit
buildPartial()
private void
buildPartial0(RateLimit result)
private void
buildPartialRepeatedFields(RateLimit result)
RateLimit.Builder
clear()
RateLimit.Builder
clearActions()
A list of actions that are to be applied for this rate limit configuration.RateLimit.Builder
clearDisableKey()
The key to be set in runtime to disable this rate limit configuration.RateLimit.Builder
clearLimit()
An optional limit override to be appended to the descriptor produced by this rate limit configuration.RateLimit.Builder
clearStage()
Refers to the stage set in the filter.private void
ensureActionsIsMutable()
RateLimit.Action
getActions(int index)
A list of actions that are to be applied for this rate limit configuration.RateLimit.Action.Builder
getActionsBuilder(int index)
A list of actions that are to be applied for this rate limit configuration.java.util.List<RateLimit.Action.Builder>
getActionsBuilderList()
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.private com.google.protobuf.RepeatedFieldBuilder<RateLimit.Action,RateLimit.Action.Builder,RateLimit.ActionOrBuilder>
getActionsFieldBuilder()
java.util.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.java.util.List<? extends RateLimit.ActionOrBuilder>
getActionsOrBuilderList()
A list of actions that are to be applied for this rate limit configuration.RateLimit
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.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.RateLimit.Override
getLimit()
An optional limit override to be appended to the descriptor produced by this rate limit configuration.RateLimit.Override.Builder
getLimitBuilder()
An optional limit override to be appended to the descriptor produced by this rate limit configuration.private com.google.protobuf.SingleFieldBuilder<RateLimit.Override,RateLimit.Override.Builder,RateLimit.OverrideOrBuilder>
getLimitFieldBuilder()
An optional limit override to be appended to the descriptor produced by this rate limit configuration.RateLimit.OverrideOrBuilder
getLimitOrBuilder()
An optional limit override to be appended to the descriptor produced by this rate limit configuration.com.google.protobuf.UInt32Value
getStage()
Refers to the stage set in the filter.com.google.protobuf.UInt32Value.Builder
getStageBuilder()
Refers to the stage set in the filter.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
getStageFieldBuilder()
Refers to the stage set in the filter.com.google.protobuf.UInt32ValueOrBuilder
getStageOrBuilder()
Refers to the stage set in the filter.boolean
hasLimit()
An optional limit override to be appended to the descriptor produced by this rate limit configuration.boolean
hasStage()
Refers to the stage set in the filter.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
RateLimit.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RateLimit.Builder
mergeFrom(com.google.protobuf.Message other)
RateLimit.Builder
mergeFrom(RateLimit other)
RateLimit.Builder
mergeLimit(RateLimit.Override value)
An optional limit override to be appended to the descriptor produced by this rate limit configuration.RateLimit.Builder
mergeStage(com.google.protobuf.UInt32Value value)
Refers to the stage set in the filter.RateLimit.Builder
removeActions(int index)
A list of actions that are to be applied for this rate limit configuration.RateLimit.Builder
setActions(int index, RateLimit.Action value)
A list of actions that are to be applied for this rate limit configuration.RateLimit.Builder
setActions(int index, RateLimit.Action.Builder builderForValue)
A list of actions that are to be applied for this rate limit configuration.RateLimit.Builder
setDisableKey(java.lang.String value)
The key to be set in runtime to disable this rate limit configuration.RateLimit.Builder
setDisableKeyBytes(com.google.protobuf.ByteString value)
The key to be set in runtime to disable this rate limit configuration.RateLimit.Builder
setLimit(RateLimit.Override value)
An optional limit override to be appended to the descriptor produced by this rate limit configuration.RateLimit.Builder
setLimit(RateLimit.Override.Builder builderForValue)
An optional limit override to be appended to the descriptor produced by this rate limit configuration.RateLimit.Builder
setStage(com.google.protobuf.UInt32Value value)
Refers to the stage set in the filter.RateLimit.Builder
setStage(com.google.protobuf.UInt32Value.Builder builderForValue)
Refers to the stage set in the filter.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
stage_
private com.google.protobuf.UInt32Value stage_
-
stageBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> stageBuilder_
-
disableKey_
private java.lang.Object disableKey_
-
actions_
private java.util.List<RateLimit.Action> actions_
-
actionsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<RateLimit.Action,RateLimit.Action.Builder,RateLimit.ActionOrBuilder> actionsBuilder_
-
limit_
private RateLimit.Override limit_
-
limitBuilder_
private com.google.protobuf.SingleFieldBuilder<RateLimit.Override,RateLimit.Override.Builder,RateLimit.OverrideOrBuilder> limitBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<RateLimit.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public RateLimit.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<RateLimit.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<RateLimit.Builder>
-
getDefaultInstanceForType
public RateLimit getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RateLimit build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RateLimit buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(RateLimit result)
-
buildPartial0
private void buildPartial0(RateLimit result)
-
mergeFrom
public RateLimit.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RateLimit.Builder>
-
mergeFrom
public RateLimit.Builder mergeFrom(RateLimit other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<RateLimit.Builder>
-
mergeFrom
public RateLimit.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RateLimit.Builder>
- Throws:
java.io.IOException
-
hasStage
public 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) = { ... }
- Specified by:
hasStage
in interfaceRateLimitOrBuilder
- Returns:
- Whether the stage field is set.
-
getStage
public 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) = { ... }
- Specified by:
getStage
in interfaceRateLimitOrBuilder
- Returns:
- The stage.
-
setStage
public RateLimit.Builder setStage(com.google.protobuf.UInt32Value value)
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) = { ... }
-
setStage
public RateLimit.Builder setStage(com.google.protobuf.UInt32Value.Builder builderForValue)
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) = { ... }
-
mergeStage
public RateLimit.Builder mergeStage(com.google.protobuf.UInt32Value value)
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) = { ... }
-
clearStage
public RateLimit.Builder clearStage()
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) = { ... }
-
getStageBuilder
public com.google.protobuf.UInt32Value.Builder getStageBuilder()
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) = { ... }
-
getStageOrBuilder
public 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) = { ... }
- Specified by:
getStageOrBuilder
in interfaceRateLimitOrBuilder
-
getStageFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> getStageFieldBuilder()
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
public java.lang.String getDisableKey()
The key to be set in runtime to disable this rate limit configuration.
string disable_key = 2;
- Specified by:
getDisableKey
in interfaceRateLimitOrBuilder
- Returns:
- The disableKey.
-
getDisableKeyBytes
public com.google.protobuf.ByteString getDisableKeyBytes()
The key to be set in runtime to disable this rate limit configuration.
string disable_key = 2;
- Specified by:
getDisableKeyBytes
in interfaceRateLimitOrBuilder
- Returns:
- The bytes for disableKey.
-
setDisableKey
public RateLimit.Builder setDisableKey(java.lang.String value)
The key to be set in runtime to disable this rate limit configuration.
string disable_key = 2;
- Parameters:
value
- The disableKey to set.- Returns:
- This builder for chaining.
-
clearDisableKey
public RateLimit.Builder clearDisableKey()
The key to be set in runtime to disable this rate limit configuration.
string disable_key = 2;
- Returns:
- This builder for chaining.
-
setDisableKeyBytes
public RateLimit.Builder setDisableKeyBytes(com.google.protobuf.ByteString value)
The key to be set in runtime to disable this rate limit configuration.
string disable_key = 2;
- Parameters:
value
- The bytes for disableKey to set.- Returns:
- This builder for chaining.
-
ensureActionsIsMutable
private void ensureActionsIsMutable()
-
getActionsList
public java.util.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.config.route.v3.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
- Specified by:
getActionsList
in interfaceRateLimitOrBuilder
-
getActionsCount
public 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.config.route.v3.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
- Specified by:
getActionsCount
in interfaceRateLimitOrBuilder
-
getActions
public 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.config.route.v3.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
- Specified by:
getActions
in interfaceRateLimitOrBuilder
-
setActions
public RateLimit.Builder setActions(int index, RateLimit.Action value)
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.config.route.v3.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
-
setActions
public RateLimit.Builder setActions(int index, RateLimit.Action.Builder builderForValue)
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.config.route.v3.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
-
addActions
public RateLimit.Builder addActions(RateLimit.Action value)
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.config.route.v3.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
-
addActions
public RateLimit.Builder addActions(int index, RateLimit.Action value)
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.config.route.v3.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
-
addActions
public RateLimit.Builder addActions(RateLimit.Action.Builder builderForValue)
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.config.route.v3.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
-
addActions
public RateLimit.Builder addActions(int index, RateLimit.Action.Builder builderForValue)
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.config.route.v3.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
-
addAllActions
public RateLimit.Builder addAllActions(java.lang.Iterable<? extends RateLimit.Action> values)
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.config.route.v3.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
-
clearActions
public RateLimit.Builder clearActions()
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.config.route.v3.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
-
removeActions
public RateLimit.Builder removeActions(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.config.route.v3.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
-
getActionsBuilder
public RateLimit.Action.Builder getActionsBuilder(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.config.route.v3.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
-
getActionsOrBuilder
public 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.config.route.v3.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
- Specified by:
getActionsOrBuilder
in interfaceRateLimitOrBuilder
-
getActionsOrBuilderList
public java.util.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.config.route.v3.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
- Specified by:
getActionsOrBuilderList
in interfaceRateLimitOrBuilder
-
addActionsBuilder
public RateLimit.Action.Builder addActionsBuilder()
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.config.route.v3.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
-
addActionsBuilder
public RateLimit.Action.Builder addActionsBuilder(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.config.route.v3.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
-
getActionsBuilderList
public java.util.List<RateLimit.Action.Builder> getActionsBuilderList()
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.config.route.v3.RateLimit.Action actions = 3 [(.validate.rules) = { ... }
-
getActionsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<RateLimit.Action,RateLimit.Action.Builder,RateLimit.ActionOrBuilder> getActionsFieldBuilder()
-
hasLimit
public boolean hasLimit()
An optional limit override to be appended to the descriptor produced by this rate limit configuration. If the override value is invalid or cannot be resolved from metadata, no override is provided. See :ref:`rate limit override <config_http_filters_rate_limit_rate_limit_override>` for more information.
.envoy.config.route.v3.RateLimit.Override limit = 4;
- Specified by:
hasLimit
in interfaceRateLimitOrBuilder
- Returns:
- Whether the limit field is set.
-
getLimit
public RateLimit.Override getLimit()
An optional limit override to be appended to the descriptor produced by this rate limit configuration. If the override value is invalid or cannot be resolved from metadata, no override is provided. See :ref:`rate limit override <config_http_filters_rate_limit_rate_limit_override>` for more information.
.envoy.config.route.v3.RateLimit.Override limit = 4;
- Specified by:
getLimit
in interfaceRateLimitOrBuilder
- Returns:
- The limit.
-
setLimit
public RateLimit.Builder setLimit(RateLimit.Override value)
An optional limit override to be appended to the descriptor produced by this rate limit configuration. If the override value is invalid or cannot be resolved from metadata, no override is provided. See :ref:`rate limit override <config_http_filters_rate_limit_rate_limit_override>` for more information.
.envoy.config.route.v3.RateLimit.Override limit = 4;
-
setLimit
public RateLimit.Builder setLimit(RateLimit.Override.Builder builderForValue)
An optional limit override to be appended to the descriptor produced by this rate limit configuration. If the override value is invalid or cannot be resolved from metadata, no override is provided. See :ref:`rate limit override <config_http_filters_rate_limit_rate_limit_override>` for more information.
.envoy.config.route.v3.RateLimit.Override limit = 4;
-
mergeLimit
public RateLimit.Builder mergeLimit(RateLimit.Override value)
An optional limit override to be appended to the descriptor produced by this rate limit configuration. If the override value is invalid or cannot be resolved from metadata, no override is provided. See :ref:`rate limit override <config_http_filters_rate_limit_rate_limit_override>` for more information.
.envoy.config.route.v3.RateLimit.Override limit = 4;
-
clearLimit
public RateLimit.Builder clearLimit()
An optional limit override to be appended to the descriptor produced by this rate limit configuration. If the override value is invalid or cannot be resolved from metadata, no override is provided. See :ref:`rate limit override <config_http_filters_rate_limit_rate_limit_override>` for more information.
.envoy.config.route.v3.RateLimit.Override limit = 4;
-
getLimitBuilder
public RateLimit.Override.Builder getLimitBuilder()
An optional limit override to be appended to the descriptor produced by this rate limit configuration. If the override value is invalid or cannot be resolved from metadata, no override is provided. See :ref:`rate limit override <config_http_filters_rate_limit_rate_limit_override>` for more information.
.envoy.config.route.v3.RateLimit.Override limit = 4;
-
getLimitOrBuilder
public RateLimit.OverrideOrBuilder getLimitOrBuilder()
An optional limit override to be appended to the descriptor produced by this rate limit configuration. If the override value is invalid or cannot be resolved from metadata, no override is provided. See :ref:`rate limit override <config_http_filters_rate_limit_rate_limit_override>` for more information.
.envoy.config.route.v3.RateLimit.Override limit = 4;
- Specified by:
getLimitOrBuilder
in interfaceRateLimitOrBuilder
-
getLimitFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RateLimit.Override,RateLimit.Override.Builder,RateLimit.OverrideOrBuilder> getLimitFieldBuilder()
An optional limit override to be appended to the descriptor produced by this rate limit configuration. If the override value is invalid or cannot be resolved from metadata, no override is provided. See :ref:`rate limit override <config_http_filters_rate_limit_rate_limit_override>` for more information.
.envoy.config.route.v3.RateLimit.Override limit = 4;
-
-