public static enum RateLimitPerRoute.VhRateLimitsOptions extends Enum<RateLimitPerRoute.VhRateLimitsOptions> implements com.google.protobuf.ProtocolMessageEnum
envoy.extensions.filters.http.ratelimit.v4alpha.RateLimitPerRoute.VhRateLimitsOptions| Enum Constant and Description |
|---|
IGNORE
Ignore the virtual host rate limits even if the route does not have a rate limit policy.
|
INCLUDE
Use the virtual host rate limits even if the route has a rate limit policy.
|
OVERRIDE
Use the virtual host rate limits unless the route has a rate limit policy.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
IGNORE_VALUE
Ignore the virtual host rate limits even if the route does not have a rate limit policy.
|
static int |
INCLUDE_VALUE
Use the virtual host rate limits even if the route has a rate limit policy.
|
static int |
OVERRIDE_VALUE
Use the virtual host rate limits unless the route has a rate limit policy.
|
| Modifier and Type | Method and Description |
|---|---|
static RateLimitPerRoute.VhRateLimitsOptions |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<RateLimitPerRoute.VhRateLimitsOptions> |
internalGetValueMap() |
static RateLimitPerRoute.VhRateLimitsOptions |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RateLimitPerRoute.VhRateLimitsOptions |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RateLimitPerRoute.VhRateLimitsOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RateLimitPerRoute.VhRateLimitsOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RateLimitPerRoute.VhRateLimitsOptions OVERRIDE
Use the virtual host rate limits unless the route has a rate limit policy.
OVERRIDE = 0;public static final RateLimitPerRoute.VhRateLimitsOptions INCLUDE
Use the virtual host rate limits even if the route has a rate limit policy.
INCLUDE = 1;public static final RateLimitPerRoute.VhRateLimitsOptions IGNORE
Ignore the virtual host rate limits even if the route does not have a rate limit policy.
IGNORE = 2;public static final RateLimitPerRoute.VhRateLimitsOptions UNRECOGNIZED
public static final int OVERRIDE_VALUE
Use the virtual host rate limits unless the route has a rate limit policy.
OVERRIDE = 0;public static final int INCLUDE_VALUE
Use the virtual host rate limits even if the route has a rate limit policy.
INCLUDE = 1;public static final int IGNORE_VALUE
Ignore the virtual host rate limits even if the route does not have a rate limit policy.
IGNORE = 2;public static RateLimitPerRoute.VhRateLimitsOptions[] values()
for (RateLimitPerRoute.VhRateLimitsOptions c : RateLimitPerRoute.VhRateLimitsOptions.values()) System.out.println(c);
public static RateLimitPerRoute.VhRateLimitsOptions valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static RateLimitPerRoute.VhRateLimitsOptions valueOf(int value)
forNumber(int) instead.public static RateLimitPerRoute.VhRateLimitsOptions forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<RateLimitPerRoute.VhRateLimitsOptions> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RateLimitPerRoute.VhRateLimitsOptions valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.