Enum RateLimitResponse.Quota.ExpirationSpecifierCase
- java.lang.Object
-
- java.lang.Enum<RateLimitResponse.Quota.ExpirationSpecifierCase>
-
- io.envoyproxy.envoy.service.ratelimit.v3.RateLimitResponse.Quota.ExpirationSpecifierCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<RateLimitResponse.Quota.ExpirationSpecifierCase>
- Enclosing class:
- RateLimitResponse.Quota
public static enum RateLimitResponse.Quota.ExpirationSpecifierCase extends Enum<RateLimitResponse.Quota.ExpirationSpecifierCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPIRATIONSPECIFIER_NOT_SETVALID_UNTIL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RateLimitResponse.Quota.ExpirationSpecifierCaseforNumber(int value)intgetNumber()static RateLimitResponse.Quota.ExpirationSpecifierCasevalueOf(int value)Deprecated.static RateLimitResponse.Quota.ExpirationSpecifierCasevalueOf(String name)Returns the enum constant of this type with the specified name.static RateLimitResponse.Quota.ExpirationSpecifierCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VALID_UNTIL
public static final RateLimitResponse.Quota.ExpirationSpecifierCase VALID_UNTIL
-
EXPIRATIONSPECIFIER_NOT_SET
public static final RateLimitResponse.Quota.ExpirationSpecifierCase EXPIRATIONSPECIFIER_NOT_SET
-
-
Method Detail
-
values
public static RateLimitResponse.Quota.ExpirationSpecifierCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RateLimitResponse.Quota.ExpirationSpecifierCase c : RateLimitResponse.Quota.ExpirationSpecifierCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RateLimitResponse.Quota.ExpirationSpecifierCase valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
@Deprecated public static RateLimitResponse.Quota.ExpirationSpecifierCase valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static RateLimitResponse.Quota.ExpirationSpecifierCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-