Enum OpennmsModelProtos.TroubleTicketState
- java.lang.Object
-
- java.lang.Enum<OpennmsModelProtos.TroubleTicketState>
-
- org.opennms.features.kafka.producer.model.OpennmsModelProtos.TroubleTicketState
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<OpennmsModelProtos.TroubleTicketState>
- Enclosing class:
- OpennmsModelProtos
public static enum OpennmsModelProtos.TroubleTicketState extends Enum<OpennmsModelProtos.TroubleTicketState> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumTroubleTicketState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCEL_FAILED
CANCEL_FAILED = 13;
CANCEL_PENDING
CANCEL_PENDING = 12;
CANCELLED
CANCELLED = 11;
CLOSE_FAILED
CLOSE_FAILED = 7;
CLOSE_PENDING
CLOSE_PENDING = 6;
CLOSED
CLOSED = 5;
CREATE_FAILED
CREATE_FAILED = 2;
CREATE_PENDING
CREATE_PENDING = 1;
OPEN
OPEN = 0;
RESOLVE_FAILED
RESOLVE_FAILED = 10;
RESOLVE_PENDING
RESOLVE_PENDING = 9;
RESOLVED
RESOLVED = 8;
UNRECOGNIZED
UPDATE_FAILED
UPDATE_FAILED = 4;
UPDATE_PENDING
UPDATE_PENDING = 3;
-
Field Summary
Fields Modifier and Type Field Description static int
CANCEL_FAILED_VALUE
CANCEL_FAILED = 13;
static int
CANCEL_PENDING_VALUE
CANCEL_PENDING = 12;
static int
CANCELLED_VALUE
CANCELLED = 11;
static int
CLOSE_FAILED_VALUE
CLOSE_FAILED = 7;
static int
CLOSE_PENDING_VALUE
CLOSE_PENDING = 6;
static int
CLOSED_VALUE
CLOSED = 5;
static int
CREATE_FAILED_VALUE
CREATE_FAILED = 2;
static int
CREATE_PENDING_VALUE
CREATE_PENDING = 1;
static int
OPEN_VALUE
OPEN = 0;
static int
RESOLVE_FAILED_VALUE
RESOLVE_FAILED = 10;
static int
RESOLVE_PENDING_VALUE
RESOLVE_PENDING = 9;
static int
RESOLVED_VALUE
RESOLVED = 8;
static int
UPDATE_FAILED_VALUE
UPDATE_FAILED = 4;
static int
UPDATE_PENDING_VALUE
UPDATE_PENDING = 3;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OpennmsModelProtos.TroubleTicketState
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<OpennmsModelProtos.TroubleTicketState>
internalGetValueMap()
static OpennmsModelProtos.TroubleTicketState
valueOf(int value)
Deprecated.static OpennmsModelProtos.TroubleTicketState
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static OpennmsModelProtos.TroubleTicketState
valueOf(String name)
Returns the enum constant of this type with the specified name.static OpennmsModelProtos.TroubleTicketState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPEN
public static final OpennmsModelProtos.TroubleTicketState OPEN
OPEN = 0;
-
CREATE_PENDING
public static final OpennmsModelProtos.TroubleTicketState CREATE_PENDING
CREATE_PENDING = 1;
-
CREATE_FAILED
public static final OpennmsModelProtos.TroubleTicketState CREATE_FAILED
CREATE_FAILED = 2;
-
UPDATE_PENDING
public static final OpennmsModelProtos.TroubleTicketState UPDATE_PENDING
UPDATE_PENDING = 3;
-
UPDATE_FAILED
public static final OpennmsModelProtos.TroubleTicketState UPDATE_FAILED
UPDATE_FAILED = 4;
-
CLOSED
public static final OpennmsModelProtos.TroubleTicketState CLOSED
CLOSED = 5;
-
CLOSE_PENDING
public static final OpennmsModelProtos.TroubleTicketState CLOSE_PENDING
CLOSE_PENDING = 6;
-
CLOSE_FAILED
public static final OpennmsModelProtos.TroubleTicketState CLOSE_FAILED
CLOSE_FAILED = 7;
-
RESOLVED
public static final OpennmsModelProtos.TroubleTicketState RESOLVED
RESOLVED = 8;
-
RESOLVE_PENDING
public static final OpennmsModelProtos.TroubleTicketState RESOLVE_PENDING
RESOLVE_PENDING = 9;
-
RESOLVE_FAILED
public static final OpennmsModelProtos.TroubleTicketState RESOLVE_FAILED
RESOLVE_FAILED = 10;
-
CANCELLED
public static final OpennmsModelProtos.TroubleTicketState CANCELLED
CANCELLED = 11;
-
CANCEL_PENDING
public static final OpennmsModelProtos.TroubleTicketState CANCEL_PENDING
CANCEL_PENDING = 12;
-
CANCEL_FAILED
public static final OpennmsModelProtos.TroubleTicketState CANCEL_FAILED
CANCEL_FAILED = 13;
-
UNRECOGNIZED
public static final OpennmsModelProtos.TroubleTicketState UNRECOGNIZED
-
-
Field Detail
-
OPEN_VALUE
public static final int OPEN_VALUE
OPEN = 0;
- See Also:
- Constant Field Values
-
CREATE_PENDING_VALUE
public static final int CREATE_PENDING_VALUE
CREATE_PENDING = 1;
- See Also:
- Constant Field Values
-
CREATE_FAILED_VALUE
public static final int CREATE_FAILED_VALUE
CREATE_FAILED = 2;
- See Also:
- Constant Field Values
-
UPDATE_PENDING_VALUE
public static final int UPDATE_PENDING_VALUE
UPDATE_PENDING = 3;
- See Also:
- Constant Field Values
-
UPDATE_FAILED_VALUE
public static final int UPDATE_FAILED_VALUE
UPDATE_FAILED = 4;
- See Also:
- Constant Field Values
-
CLOSED_VALUE
public static final int CLOSED_VALUE
CLOSED = 5;
- See Also:
- Constant Field Values
-
CLOSE_PENDING_VALUE
public static final int CLOSE_PENDING_VALUE
CLOSE_PENDING = 6;
- See Also:
- Constant Field Values
-
CLOSE_FAILED_VALUE
public static final int CLOSE_FAILED_VALUE
CLOSE_FAILED = 7;
- See Also:
- Constant Field Values
-
RESOLVED_VALUE
public static final int RESOLVED_VALUE
RESOLVED = 8;
- See Also:
- Constant Field Values
-
RESOLVE_PENDING_VALUE
public static final int RESOLVE_PENDING_VALUE
RESOLVE_PENDING = 9;
- See Also:
- Constant Field Values
-
RESOLVE_FAILED_VALUE
public static final int RESOLVE_FAILED_VALUE
RESOLVE_FAILED = 10;
- See Also:
- Constant Field Values
-
CANCELLED_VALUE
public static final int CANCELLED_VALUE
CANCELLED = 11;
- See Also:
- Constant Field Values
-
CANCEL_PENDING_VALUE
public static final int CANCEL_PENDING_VALUE
CANCEL_PENDING = 12;
- See Also:
- Constant Field Values
-
CANCEL_FAILED_VALUE
public static final int CANCEL_FAILED_VALUE
CANCEL_FAILED = 13;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static OpennmsModelProtos.TroubleTicketState[] 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 (OpennmsModelProtos.TroubleTicketState c : OpennmsModelProtos.TroubleTicketState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpennmsModelProtos.TroubleTicketState 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static OpennmsModelProtos.TroubleTicketState 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 OpennmsModelProtos.TroubleTicketState forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<OpennmsModelProtos.TroubleTicketState> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static OpennmsModelProtos.TroubleTicketState 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
-
-