Enum Transport.RouteMonitoringPacket.PathAttribute.Origin
- java.lang.Object
-
- java.lang.Enum<Transport.RouteMonitoringPacket.PathAttribute.Origin>
-
- org.opennms.netmgt.telemetry.protocols.bmp.transport.Transport.RouteMonitoringPacket.PathAttribute.Origin
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Transport.RouteMonitoringPacket.PathAttribute.Origin>
- Enclosing class:
- Transport.RouteMonitoringPacket.PathAttribute
public static enum Transport.RouteMonitoringPacket.PathAttribute.Origin extends Enum<Transport.RouteMonitoringPacket.PathAttribute.Origin> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumRouteMonitoringPacket.PathAttribute.Origin
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EGP
EGP = 1;
IGP
IGP = 0;
INCOMPLETE
INCOMPLETE = 2;
UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
EGP_VALUE
EGP = 1;
static int
IGP_VALUE
IGP = 0;
static int
INCOMPLETE_VALUE
INCOMPLETE = 2;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Transport.RouteMonitoringPacket.PathAttribute.Origin
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<Transport.RouteMonitoringPacket.PathAttribute.Origin>
internalGetValueMap()
static Transport.RouteMonitoringPacket.PathAttribute.Origin
valueOf(int value)
Deprecated.static Transport.RouteMonitoringPacket.PathAttribute.Origin
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Transport.RouteMonitoringPacket.PathAttribute.Origin
valueOf(String name)
Returns the enum constant of this type with the specified name.static Transport.RouteMonitoringPacket.PathAttribute.Origin[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IGP
public static final Transport.RouteMonitoringPacket.PathAttribute.Origin IGP
IGP = 0;
-
EGP
public static final Transport.RouteMonitoringPacket.PathAttribute.Origin EGP
EGP = 1;
-
INCOMPLETE
public static final Transport.RouteMonitoringPacket.PathAttribute.Origin INCOMPLETE
INCOMPLETE = 2;
-
UNRECOGNIZED
public static final Transport.RouteMonitoringPacket.PathAttribute.Origin UNRECOGNIZED
-
-
Field Detail
-
IGP_VALUE
public static final int IGP_VALUE
IGP = 0;
- See Also:
- Constant Field Values
-
EGP_VALUE
public static final int EGP_VALUE
EGP = 1;
- See Also:
- Constant Field Values
-
INCOMPLETE_VALUE
public static final int INCOMPLETE_VALUE
INCOMPLETE = 2;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Transport.RouteMonitoringPacket.PathAttribute.Origin[] 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 (Transport.RouteMonitoringPacket.PathAttribute.Origin c : Transport.RouteMonitoringPacket.PathAttribute.Origin.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Transport.RouteMonitoringPacket.PathAttribute.Origin 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 Transport.RouteMonitoringPacket.PathAttribute.Origin 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 Transport.RouteMonitoringPacket.PathAttribute.Origin 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<Transport.RouteMonitoringPacket.PathAttribute.Origin> 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 Transport.RouteMonitoringPacket.PathAttribute.Origin 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
-
-