public static enum Rls.RateLimitResponse.Code extends Enum<Rls.RateLimitResponse.Code> implements com.google.protobuf.ProtocolMessageEnum
envoy.service.ratelimit.v2.RateLimitResponse.Code| Enum Constant and Description |
|---|
OK
OK = 1; |
OVER_LIMIT
OVER_LIMIT = 2; |
UNKNOWN
UNKNOWN = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
OK_VALUE
OK = 1; |
static int |
OVER_LIMIT_VALUE
OVER_LIMIT = 2; |
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
| Modifier and Type | Method and Description |
|---|---|
static Rls.RateLimitResponse.Code |
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<Rls.RateLimitResponse.Code> |
internalGetValueMap() |
static Rls.RateLimitResponse.Code |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Rls.RateLimitResponse.Code |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Rls.RateLimitResponse.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rls.RateLimitResponse.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rls.RateLimitResponse.Code UNKNOWN
UNKNOWN = 0;public static final Rls.RateLimitResponse.Code OK
OK = 1;public static final Rls.RateLimitResponse.Code OVER_LIMIT
OVER_LIMIT = 2;public static final Rls.RateLimitResponse.Code UNRECOGNIZED
public static final int UNKNOWN_VALUE
UNKNOWN = 0;public static final int OK_VALUE
OK = 1;public static final int OVER_LIMIT_VALUE
OVER_LIMIT = 2;public static Rls.RateLimitResponse.Code[] values()
for (Rls.RateLimitResponse.Code c : Rls.RateLimitResponse.Code.values()) System.out.println(c);
public static Rls.RateLimitResponse.Code 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 Rls.RateLimitResponse.Code valueOf(int value)
forNumber(int) instead.public static Rls.RateLimitResponse.Code forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Rls.RateLimitResponse.Code> 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 Rls.RateLimitResponse.Code valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018 The Envoy Project. All rights reserved.