public static enum HttpRule.PatternCase extends java.lang.Enum<HttpRule.PatternCase> implements Internal.EnumLite
Enum Constant and Description |
---|
CUSTOM |
DELETE |
GET |
PATCH |
PATTERN_NOT_SET |
POST |
PUT |
Modifier and Type | Method and Description |
---|---|
static HttpRule.PatternCase |
forNumber(int value) |
int |
getNumber() |
static HttpRule.PatternCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HttpRule.PatternCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HttpRule.PatternCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpRule.PatternCase GET
public static final HttpRule.PatternCase PUT
public static final HttpRule.PatternCase POST
public static final HttpRule.PatternCase DELETE
public static final HttpRule.PatternCase PATCH
public static final HttpRule.PatternCase CUSTOM
public static final HttpRule.PatternCase PATTERN_NOT_SET
public static HttpRule.PatternCase[] values()
for (HttpRule.PatternCase c : HttpRule.PatternCase.values()) System.out.println(c);
public static HttpRule.PatternCase valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public static HttpRule.PatternCase valueOf(int value)
forNumber(int)
instead.public static HttpRule.PatternCase forNumber(int value)
public int getNumber()
getNumber
in interface Internal.EnumLite