public static enum HttpRoute.PatternCase extends Enum<HttpRoute.PatternCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
DELETE |
GET |
PATCH |
PATTERN_NOT_SET |
POST |
PUT |
| Modifier and Type | Method and Description |
|---|---|
static HttpRoute.PatternCase |
forNumber(int value) |
int |
getNumber() |
static HttpRoute.PatternCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HttpRoute.PatternCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpRoute.PatternCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpRoute.PatternCase GET
public static final HttpRoute.PatternCase PUT
public static final HttpRoute.PatternCase POST
public static final HttpRoute.PatternCase DELETE
public static final HttpRoute.PatternCase PATCH
public static final HttpRoute.PatternCase PATTERN_NOT_SET
public static HttpRoute.PatternCase[] values()
for (HttpRoute.PatternCase c : HttpRoute.PatternCase.values()) System.out.println(c);
public static HttpRoute.PatternCase 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 null@Deprecated public static HttpRoute.PatternCase valueOf(int value)
forNumber(int) instead.public static HttpRoute.PatternCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2020 Space Applications Services. All rights reserved.