public static enum Base.RequestMethod extends Enum<Base.RequestMethod> implements com.google.protobuf.ProtocolMessageEnum
HTTP request method.
Protobuf enum envoy.api.v2.core.RequestMethod
| Enum Constant and Description |
|---|
CONNECT
CONNECT = 6; |
DELETE
DELETE = 5; |
GET
GET = 1; |
HEAD
HEAD = 2; |
METHOD_UNSPECIFIED
METHOD_UNSPECIFIED = 0; |
OPTIONS
OPTIONS = 7; |
POST
POST = 3; |
PUT
PUT = 4; |
TRACE
TRACE = 8; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONNECT_VALUE
CONNECT = 6; |
static int |
DELETE_VALUE
DELETE = 5; |
static int |
GET_VALUE
GET = 1; |
static int |
HEAD_VALUE
HEAD = 2; |
static int |
METHOD_UNSPECIFIED_VALUE
METHOD_UNSPECIFIED = 0; |
static int |
OPTIONS_VALUE
OPTIONS = 7; |
static int |
POST_VALUE
POST = 3; |
static int |
PUT_VALUE
PUT = 4; |
static int |
TRACE_VALUE
TRACE = 8; |
| Modifier and Type | Method and Description |
|---|---|
static Base.RequestMethod |
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<Base.RequestMethod> |
internalGetValueMap() |
static Base.RequestMethod |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Base.RequestMethod |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Base.RequestMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Base.RequestMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Base.RequestMethod METHOD_UNSPECIFIED
METHOD_UNSPECIFIED = 0;public static final Base.RequestMethod GET
GET = 1;public static final Base.RequestMethod HEAD
HEAD = 2;public static final Base.RequestMethod POST
POST = 3;public static final Base.RequestMethod PUT
PUT = 4;public static final Base.RequestMethod DELETE
DELETE = 5;public static final Base.RequestMethod CONNECT
CONNECT = 6;public static final Base.RequestMethod OPTIONS
OPTIONS = 7;public static final Base.RequestMethod TRACE
TRACE = 8;public static final Base.RequestMethod UNRECOGNIZED
public static final int METHOD_UNSPECIFIED_VALUE
METHOD_UNSPECIFIED = 0;public static final int GET_VALUE
GET = 1;public static final int HEAD_VALUE
HEAD = 2;public static final int POST_VALUE
POST = 3;public static final int PUT_VALUE
PUT = 4;public static final int DELETE_VALUE
DELETE = 5;public static final int CONNECT_VALUE
CONNECT = 6;public static final int OPTIONS_VALUE
OPTIONS = 7;public static final int TRACE_VALUE
TRACE = 8;public static Base.RequestMethod[] values()
for (Base.RequestMethod c : Base.RequestMethod.values()) System.out.println(c);
public static Base.RequestMethod 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 Base.RequestMethod valueOf(int value)
forNumber(int) instead.public static Base.RequestMethod forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Base.RequestMethod> 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 Base.RequestMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 WSO2. All rights reserved.