Package mdg.engine.proto
Enum Class Reports.Trace.HTTP.Method
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Reports.Trace.HTTP.Method>,Constable
- Enclosing class:
- Reports.Trace.HTTP
public static enum Reports.Trace.HTTP.Method
extends Enum<Reports.Trace.HTTP.Method>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
mdg.engine.proto.Trace.HTTP.Method-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCONNECT = 8;static final intDELETE = 6;static final intGET = 2;static final intHEAD = 3;static final intOPTIONS = 1;static final intPATCH = 9;static final intPOST = 4;static final intPUT = 5;static final intTRACE = 7;static final intUNKNOWN = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic Reports.Trace.HTTP.MethodforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Reports.Trace.HTTP.Method>static Reports.Trace.HTTP.MethodvalueOf(int value) Deprecated.static Reports.Trace.HTTP.MethodvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static Reports.Trace.HTTP.MethodReturns the enum constant of this class with the specified name.static Reports.Trace.HTTP.Method[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
UNKNOWN = 0; -
OPTIONS
OPTIONS = 1; -
GET
GET = 2; -
HEAD
HEAD = 3; -
POST
POST = 4; -
PUT
PUT = 5; -
DELETE
DELETE = 6; -
TRACE
TRACE = 7; -
CONNECT
CONNECT = 8; -
PATCH
PATCH = 9; -
UNRECOGNIZED
-
-
Field Details
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUNKNOWN = 0;- See Also:
-
OPTIONS_VALUE
public static final int OPTIONS_VALUEOPTIONS = 1;- See Also:
-
GET_VALUE
public static final int GET_VALUEGET = 2;- See Also:
-
HEAD_VALUE
public static final int HEAD_VALUEHEAD = 3;- See Also:
-
POST_VALUE
public static final int POST_VALUEPOST = 4;- See Also:
-
PUT_VALUE
public static final int PUT_VALUEPUT = 5;- See Also:
-
DELETE_VALUE
public static final int DELETE_VALUEDELETE = 6;- See Also:
-
TRACE_VALUE
public static final int TRACE_VALUETRACE = 7;- See Also:
-
CONNECT_VALUE
public static final int CONNECT_VALUECONNECT = 8;- See Also:
-
PATCH_VALUE
public static final int PATCH_VALUEPATCH = 9;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Reports.Trace.HTTP.Method> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Reports.Trace.HTTP.Method valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-