Package soot.dotnet.proto
Enum ProtoDotnetNativeHost.EventAccessorType
- java.lang.Object
-
- java.lang.Enum<ProtoDotnetNativeHost.EventAccessorType>
-
- soot.dotnet.proto.ProtoDotnetNativeHost.EventAccessorType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ProtoDotnetNativeHost.EventAccessorType>
- Enclosing class:
- ProtoDotnetNativeHost
public static enum ProtoDotnetNativeHost.EventAccessorType extends Enum<ProtoDotnetNativeHost.EventAccessorType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumEventAccessorType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_ACCESSORADD_ACCESSOR = 1;INVOKE_ACCESSORINVOKE_ACCESSOR = 2;NO_EVENT_METHODNO_EVENT_METHOD = 0;REMOVE_ACCESSORREMOVE_ACCESSOR = 3;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intADD_ACCESSOR_VALUEADD_ACCESSOR = 1;static intINVOKE_ACCESSOR_VALUEINVOKE_ACCESSOR = 2;static intNO_EVENT_METHOD_VALUENO_EVENT_METHOD = 0;static intREMOVE_ACCESSOR_VALUEREMOVE_ACCESSOR = 3;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ProtoDotnetNativeHost.EventAccessorTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ProtoDotnetNativeHost.EventAccessorType>internalGetValueMap()static ProtoDotnetNativeHost.EventAccessorTypevalueOf(int value)Deprecated.static ProtoDotnetNativeHost.EventAccessorTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ProtoDotnetNativeHost.EventAccessorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ProtoDotnetNativeHost.EventAccessorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_EVENT_METHOD
public static final ProtoDotnetNativeHost.EventAccessorType NO_EVENT_METHOD
NO_EVENT_METHOD = 0;
-
ADD_ACCESSOR
public static final ProtoDotnetNativeHost.EventAccessorType ADD_ACCESSOR
ADD_ACCESSOR = 1;
-
INVOKE_ACCESSOR
public static final ProtoDotnetNativeHost.EventAccessorType INVOKE_ACCESSOR
INVOKE_ACCESSOR = 2;
-
REMOVE_ACCESSOR
public static final ProtoDotnetNativeHost.EventAccessorType REMOVE_ACCESSOR
REMOVE_ACCESSOR = 3;
-
UNRECOGNIZED
public static final ProtoDotnetNativeHost.EventAccessorType UNRECOGNIZED
-
-
Field Detail
-
NO_EVENT_METHOD_VALUE
public static final int NO_EVENT_METHOD_VALUE
NO_EVENT_METHOD = 0;- See Also:
- Constant Field Values
-
ADD_ACCESSOR_VALUE
public static final int ADD_ACCESSOR_VALUE
ADD_ACCESSOR = 1;- See Also:
- Constant Field Values
-
INVOKE_ACCESSOR_VALUE
public static final int INVOKE_ACCESSOR_VALUE
INVOKE_ACCESSOR = 2;- See Also:
- Constant Field Values
-
REMOVE_ACCESSOR_VALUE
public static final int REMOVE_ACCESSOR_VALUE
REMOVE_ACCESSOR = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ProtoDotnetNativeHost.EventAccessorType[] 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 (ProtoDotnetNativeHost.EventAccessorType c : ProtoDotnetNativeHost.EventAccessorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProtoDotnetNativeHost.EventAccessorType 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
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ProtoDotnetNativeHost.EventAccessorType 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 ProtoDotnetNativeHost.EventAccessorType forNumber(int value)
- 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<ProtoDotnetNativeHost.EventAccessorType> 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 ProtoDotnetNativeHost.EventAccessorType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc- 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
-
-