Enum LspMon.event_subcode
- java.lang.Object
-
- java.lang.Enum<LspMon.event_subcode>
-
- org.opennms.netmgt.telemetry.protocols.jti.adapter.proto.LspMon.event_subcode
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<LspMon.event_subcode>
- Enclosing class:
- LspMon
public static enum LspMon.event_subcode extends Enum<LspMon.event_subcode> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumevent_subcode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMISSION_CONTROL_FAILURE
ADMISSION_CONTROL_FAILURE = 1;
BAD_LOOSE_ROUTE
BAD_LOOSE_ROUTE = 3;
BAD_STRICT_ROUTE
BAD_STRICT_ROUTE = 4;
LABEL_ALLOCATION_FAILURE
LABEL_ALLOCATION_FAILURE = 5;
NON_RSVP_CAPABLE_ROUTER
NON_RSVP_CAPABLE_ROUTER = 6;
REQUESTED_BANDWIDTH_UNAVAILABLE
REQUESTED_BANDWIDTH_UNAVAILABLE = 9;
ROUTING_LOOP_DETECTED
ROUTING_LOOP_DETECTED = 8;
SESSION_PREEMPTED
SESSION_PREEMPTED = 2;
TTL_EXPIRED
TTL_EXPIRED = 7;
-
Field Summary
Fields Modifier and Type Field Description static int
ADMISSION_CONTROL_FAILURE_VALUE
ADMISSION_CONTROL_FAILURE = 1;
static int
BAD_LOOSE_ROUTE_VALUE
BAD_LOOSE_ROUTE = 3;
static int
BAD_STRICT_ROUTE_VALUE
BAD_STRICT_ROUTE = 4;
static int
LABEL_ALLOCATION_FAILURE_VALUE
LABEL_ALLOCATION_FAILURE = 5;
static int
NON_RSVP_CAPABLE_ROUTER_VALUE
NON_RSVP_CAPABLE_ROUTER = 6;
static int
REQUESTED_BANDWIDTH_UNAVAILABLE_VALUE
REQUESTED_BANDWIDTH_UNAVAILABLE = 9;
static int
ROUTING_LOOP_DETECTED_VALUE
ROUTING_LOOP_DETECTED = 8;
static int
SESSION_PREEMPTED_VALUE
SESSION_PREEMPTED = 2;
static int
TTL_EXPIRED_VALUE
TTL_EXPIRED = 7;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LspMon.event_subcode
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<LspMon.event_subcode>
internalGetValueMap()
static LspMon.event_subcode
valueOf(int value)
Deprecated.static LspMon.event_subcode
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static LspMon.event_subcode
valueOf(String name)
Returns the enum constant of this type with the specified name.static LspMon.event_subcode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADMISSION_CONTROL_FAILURE
public static final LspMon.event_subcode ADMISSION_CONTROL_FAILURE
ADMISSION_CONTROL_FAILURE = 1;
-
SESSION_PREEMPTED
public static final LspMon.event_subcode SESSION_PREEMPTED
SESSION_PREEMPTED = 2;
-
BAD_LOOSE_ROUTE
public static final LspMon.event_subcode BAD_LOOSE_ROUTE
BAD_LOOSE_ROUTE = 3;
-
BAD_STRICT_ROUTE
public static final LspMon.event_subcode BAD_STRICT_ROUTE
BAD_STRICT_ROUTE = 4;
-
LABEL_ALLOCATION_FAILURE
public static final LspMon.event_subcode LABEL_ALLOCATION_FAILURE
LABEL_ALLOCATION_FAILURE = 5;
-
NON_RSVP_CAPABLE_ROUTER
public static final LspMon.event_subcode NON_RSVP_CAPABLE_ROUTER
NON_RSVP_CAPABLE_ROUTER = 6;
-
TTL_EXPIRED
public static final LspMon.event_subcode TTL_EXPIRED
TTL_EXPIRED = 7;
-
ROUTING_LOOP_DETECTED
public static final LspMon.event_subcode ROUTING_LOOP_DETECTED
ROUTING_LOOP_DETECTED = 8;
-
REQUESTED_BANDWIDTH_UNAVAILABLE
public static final LspMon.event_subcode REQUESTED_BANDWIDTH_UNAVAILABLE
REQUESTED_BANDWIDTH_UNAVAILABLE = 9;
-
-
Field Detail
-
ADMISSION_CONTROL_FAILURE_VALUE
public static final int ADMISSION_CONTROL_FAILURE_VALUE
ADMISSION_CONTROL_FAILURE = 1;
- See Also:
- Constant Field Values
-
SESSION_PREEMPTED_VALUE
public static final int SESSION_PREEMPTED_VALUE
SESSION_PREEMPTED = 2;
- See Also:
- Constant Field Values
-
BAD_LOOSE_ROUTE_VALUE
public static final int BAD_LOOSE_ROUTE_VALUE
BAD_LOOSE_ROUTE = 3;
- See Also:
- Constant Field Values
-
BAD_STRICT_ROUTE_VALUE
public static final int BAD_STRICT_ROUTE_VALUE
BAD_STRICT_ROUTE = 4;
- See Also:
- Constant Field Values
-
LABEL_ALLOCATION_FAILURE_VALUE
public static final int LABEL_ALLOCATION_FAILURE_VALUE
LABEL_ALLOCATION_FAILURE = 5;
- See Also:
- Constant Field Values
-
NON_RSVP_CAPABLE_ROUTER_VALUE
public static final int NON_RSVP_CAPABLE_ROUTER_VALUE
NON_RSVP_CAPABLE_ROUTER = 6;
- See Also:
- Constant Field Values
-
TTL_EXPIRED_VALUE
public static final int TTL_EXPIRED_VALUE
TTL_EXPIRED = 7;
- See Also:
- Constant Field Values
-
ROUTING_LOOP_DETECTED_VALUE
public static final int ROUTING_LOOP_DETECTED_VALUE
ROUTING_LOOP_DETECTED = 8;
- See Also:
- Constant Field Values
-
REQUESTED_BANDWIDTH_UNAVAILABLE_VALUE
public static final int REQUESTED_BANDWIDTH_UNAVAILABLE_VALUE
REQUESTED_BANDWIDTH_UNAVAILABLE = 9;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static LspMon.event_subcode[] 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 (LspMon.event_subcode c : LspMon.event_subcode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LspMon.event_subcode 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 LspMon.event_subcode 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 LspMon.event_subcode 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<LspMon.event_subcode> 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 LspMon.event_subcode 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
-
-