public static final class RouteOuterClass.RateLimit extends com.google.protobuf.GeneratedMessageV3 implements RouteOuterClass.RateLimitOrBuilder
Global rate limiting :ref:`architecture overview <arch_overview_rate_limit>`.Protobuf type
envoy.api.v2.route.RateLimit| Modifier and Type | Class and Description |
|---|---|
static class |
RouteOuterClass.RateLimit.Action
Protobuf type
envoy.api.v2.route.RateLimit.Action |
static interface |
RouteOuterClass.RateLimit.ActionOrBuilder |
static class |
RouteOuterClass.RateLimit.Builder
Global rate limiting :ref:`architecture overview <arch_overview_rate_limit>`.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIONS_FIELD_NUMBER |
static int |
DISABLE_KEY_FIELD_NUMBER |
static int |
STAGE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
RouteOuterClass.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<RouteOuterClass.RateLimit.Action> |
getActionsList()
A list of actions that are to be applied for this rate limit configuration.
|
RouteOuterClass.RateLimit.ActionOrBuilder |
getActionsOrBuilder(int index)
A list of actions that are to be applied for this rate limit configuration.
|
List<? extends RouteOuterClass.RateLimit.ActionOrBuilder> |
getActionsOrBuilderList()
A list of actions that are to be applied for this rate limit configuration.
|
static RouteOuterClass.RateLimit |
getDefaultInstance() |
RouteOuterClass.RateLimit |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.Parser<RouteOuterClass.RateLimit> |
getParserForType() |
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasStage()
Refers to the stage set in the filter.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RouteOuterClass.RateLimit.Builder |
newBuilder() |
static RouteOuterClass.RateLimit.Builder |
newBuilder(RouteOuterClass.RateLimit prototype) |
RouteOuterClass.RateLimit.Builder |
newBuilderForType() |
protected RouteOuterClass.RateLimit.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static RouteOuterClass.RateLimit |
parseDelimitedFrom(InputStream input) |
static RouteOuterClass.RateLimit |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.RateLimit |
parseFrom(byte[] data) |
static RouteOuterClass.RateLimit |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.RateLimit |
parseFrom(ByteBuffer data) |
static RouteOuterClass.RateLimit |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.RateLimit |
parseFrom(com.google.protobuf.ByteString data) |
static RouteOuterClass.RateLimit |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.RateLimit |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RouteOuterClass.RateLimit |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.RateLimit |
parseFrom(InputStream input) |
static RouteOuterClass.RateLimit |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RouteOuterClass.RateLimit> |
parser() |
RouteOuterClass.RateLimit.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int STAGE_FIELD_NUMBER
public static final int DISABLE_KEY_FIELD_NUMBER
public static final int ACTIONS_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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) = { ... }hasStage in interface RouteOuterClass.RateLimitOrBuilderpublic 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) = { ... }getStage in interface RouteOuterClass.RateLimitOrBuilderpublic 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) = { ... }getStageOrBuilder in interface RouteOuterClass.RateLimitOrBuilderpublic String getDisableKey()
The key to be set in runtime to disable this rate limit configuration.
string disable_key = 2;getDisableKey in interface RouteOuterClass.RateLimitOrBuilderpublic com.google.protobuf.ByteString getDisableKeyBytes()
The key to be set in runtime to disable this rate limit configuration.
string disable_key = 2;getDisableKeyBytes in interface RouteOuterClass.RateLimitOrBuilderpublic List<RouteOuterClass.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) = { ... }getActionsList in interface RouteOuterClass.RateLimitOrBuilderpublic List<? extends RouteOuterClass.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) = { ... }getActionsOrBuilderList in interface RouteOuterClass.RateLimitOrBuilderpublic 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) = { ... }getActionsCount in interface RouteOuterClass.RateLimitOrBuilderpublic RouteOuterClass.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) = { ... }getActions in interface RouteOuterClass.RateLimitOrBuilderpublic RouteOuterClass.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) = { ... }getActionsOrBuilder in interface RouteOuterClass.RateLimitOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RouteOuterClass.RateLimit parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.RateLimit parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.RateLimit parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.RateLimit parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.RateLimit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.RateLimit parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.RateLimit parseFrom(InputStream input) throws IOException
IOExceptionpublic static RouteOuterClass.RateLimit parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteOuterClass.RateLimit parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RouteOuterClass.RateLimit parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteOuterClass.RateLimit parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RouteOuterClass.RateLimit parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RouteOuterClass.RateLimit.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RouteOuterClass.RateLimit.Builder newBuilder()
public static RouteOuterClass.RateLimit.Builder newBuilder(RouteOuterClass.RateLimit prototype)
public RouteOuterClass.RateLimit.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RouteOuterClass.RateLimit.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RouteOuterClass.RateLimit getDefaultInstance()
public static com.google.protobuf.Parser<RouteOuterClass.RateLimit> parser()
public com.google.protobuf.Parser<RouteOuterClass.RateLimit> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RouteOuterClass.RateLimit getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.