Enum ProtobufMessages.NodeMemory.NodeType
- java.lang.Object
-
- java.lang.Enum<ProtobufMessages.NodeMemory.NodeType>
-
- org.drools.serialization.protobuf.ProtobufMessages.NodeMemory.NodeType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ProtobufMessages.NodeMemory.NodeType>
- Enclosing class:
- ProtobufMessages.NodeMemory
public static enum ProtobufMessages.NodeMemory.NodeType extends Enum<ProtobufMessages.NodeMemory.NodeType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumorg.drools.serialization.protobuf.NodeMemory.NodeType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCUMULATEACCUMULATE = 0;FROMFROM = 2;QUERY_ELEMENTQUERY_ELEMENT = 3;RIARIA = 1;
-
Field Summary
Fields Modifier and Type Field Description static intACCUMULATE_VALUEACCUMULATE = 0;static intFROM_VALUEFROM = 2;static intQUERY_ELEMENT_VALUEQUERY_ELEMENT = 3;static intRIA_VALUERIA = 1;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ProtobufMessages.NodeMemory.NodeTypeforNumber(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<ProtobufMessages.NodeMemory.NodeType>internalGetValueMap()static ProtobufMessages.NodeMemory.NodeTypevalueOf(int value)Deprecated.static ProtobufMessages.NodeMemory.NodeTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ProtobufMessages.NodeMemory.NodeTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ProtobufMessages.NodeMemory.NodeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCUMULATE
public static final ProtobufMessages.NodeMemory.NodeType ACCUMULATE
ACCUMULATE = 0;
-
RIA
public static final ProtobufMessages.NodeMemory.NodeType RIA
RIA = 1;
-
FROM
public static final ProtobufMessages.NodeMemory.NodeType FROM
FROM = 2;
-
QUERY_ELEMENT
public static final ProtobufMessages.NodeMemory.NodeType QUERY_ELEMENT
QUERY_ELEMENT = 3;
-
-
Field Detail
-
ACCUMULATE_VALUE
public static final int ACCUMULATE_VALUE
ACCUMULATE = 0;- See Also:
- Constant Field Values
-
RIA_VALUE
public static final int RIA_VALUE
RIA = 1;- See Also:
- Constant Field Values
-
FROM_VALUE
public static final int FROM_VALUE
FROM = 2;- See Also:
- Constant Field Values
-
QUERY_ELEMENT_VALUE
public static final int QUERY_ELEMENT_VALUE
QUERY_ELEMENT = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ProtobufMessages.NodeMemory.NodeType[] 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.NodeMemory.NodeType c : ProtobufMessages.NodeMemory.NodeType.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.NodeMemory.NodeType 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 ProtobufMessages.NodeMemory.NodeType 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 ProtobufMessages.NodeMemory.NodeType 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<ProtobufMessages.NodeMemory.NodeType> 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.NodeMemory.NodeType 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
-
-