Enum ProtobufMessages.Timers.TimerType
- java.lang.Object
-
- java.lang.Enum<ProtobufMessages.Timers.TimerType>
-
- org.drools.serialization.protobuf.ProtobufMessages.Timers.TimerType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ProtobufMessages.Timers.TimerType>
- Enclosing class:
- ProtobufMessages.Timers
public static enum ProtobufMessages.Timers.TimerType extends Enum<ProtobufMessages.Timers.TimerType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumorg.drools.serialization.protobuf.Timers.TimerType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVATIONACTIVATION = 2;BEHAVIORBEHAVIOR = 3;EXPIREEXPIRE = 1;PROCESSPROCESS = 4;TIMER_NODETIMER_NODE = 5;
-
Field Summary
Fields Modifier and Type Field Description static intACTIVATION_VALUEACTIVATION = 2;static intBEHAVIOR_VALUEBEHAVIOR = 3;static intEXPIRE_VALUEEXPIRE = 1;static intPROCESS_VALUEPROCESS = 4;static intTIMER_NODE_VALUETIMER_NODE = 5;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ProtobufMessages.Timers.TimerType>internalGetValueMap()static ProtobufMessages.Timers.TimerTypevalueOf(int value)Returns the enum constant of this type with the specified name.static ProtobufMessages.Timers.TimerTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ProtobufMessages.Timers.TimerTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ProtobufMessages.Timers.TimerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXPIRE
public static final ProtobufMessages.Timers.TimerType EXPIRE
EXPIRE = 1;
-
ACTIVATION
public static final ProtobufMessages.Timers.TimerType ACTIVATION
ACTIVATION = 2;
-
BEHAVIOR
public static final ProtobufMessages.Timers.TimerType BEHAVIOR
BEHAVIOR = 3;
-
PROCESS
public static final ProtobufMessages.Timers.TimerType PROCESS
PROCESS = 4;
-
TIMER_NODE
public static final ProtobufMessages.Timers.TimerType TIMER_NODE
TIMER_NODE = 5;
-
-
Field Detail
-
EXPIRE_VALUE
public static final int EXPIRE_VALUE
EXPIRE = 1;- See Also:
- Constant Field Values
-
ACTIVATION_VALUE
public static final int ACTIVATION_VALUE
ACTIVATION = 2;- See Also:
- Constant Field Values
-
BEHAVIOR_VALUE
public static final int BEHAVIOR_VALUE
BEHAVIOR = 3;- See Also:
- Constant Field Values
-
PROCESS_VALUE
public static final int PROCESS_VALUE
PROCESS = 4;- See Also:
- Constant Field Values
-
TIMER_NODE_VALUE
public static final int TIMER_NODE_VALUE
TIMER_NODE = 5;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ProtobufMessages.Timers.TimerType[] 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 (ProtobufMessages.Timers.TimerType c : ProtobufMessages.Timers.TimerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProtobufMessages.Timers.TimerType 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
public static ProtobufMessages.Timers.TimerType valueOf(int value)
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
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<ProtobufMessages.Timers.TimerType> 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 ProtobufMessages.Timers.TimerType 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
-
-