Enum OpennmsModelProtos.TopologyRef.Protocol
- java.lang.Object
-
- java.lang.Enum<OpennmsModelProtos.TopologyRef.Protocol>
-
- org.opennms.features.kafka.producer.model.OpennmsModelProtos.TopologyRef.Protocol
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<OpennmsModelProtos.TopologyRef.Protocol>
- Enclosing class:
- OpennmsModelProtos.TopologyRef
public static enum OpennmsModelProtos.TopologyRef.Protocol extends Enum<OpennmsModelProtos.TopologyRef.Protocol> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumTopologyRef.Protocol
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BRIDGE
BRIDGE = 3;
CDP
CDP = 4;
ISIS
ISIS = 2;
LLDP
LLDP = 0;
OSPF
OSPF = 1;
UNRECOGNIZED
USERDEFINED
USERDEFINED = 5;
-
Field Summary
Fields Modifier and Type Field Description static int
BRIDGE_VALUE
BRIDGE = 3;
static int
CDP_VALUE
CDP = 4;
static int
ISIS_VALUE
ISIS = 2;
static int
LLDP_VALUE
LLDP = 0;
static int
OSPF_VALUE
OSPF = 1;
static int
USERDEFINED_VALUE
USERDEFINED = 5;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OpennmsModelProtos.TopologyRef.Protocol
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.TopologyRef.Protocol>
internalGetValueMap()
static OpennmsModelProtos.TopologyRef.Protocol
valueOf(int value)
Deprecated.static OpennmsModelProtos.TopologyRef.Protocol
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static OpennmsModelProtos.TopologyRef.Protocol
valueOf(String name)
Returns the enum constant of this type with the specified name.static OpennmsModelProtos.TopologyRef.Protocol[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LLDP
public static final OpennmsModelProtos.TopologyRef.Protocol LLDP
LLDP = 0;
-
OSPF
public static final OpennmsModelProtos.TopologyRef.Protocol OSPF
OSPF = 1;
-
ISIS
public static final OpennmsModelProtos.TopologyRef.Protocol ISIS
ISIS = 2;
-
BRIDGE
public static final OpennmsModelProtos.TopologyRef.Protocol BRIDGE
BRIDGE = 3;
-
CDP
public static final OpennmsModelProtos.TopologyRef.Protocol CDP
CDP = 4;
-
USERDEFINED
public static final OpennmsModelProtos.TopologyRef.Protocol USERDEFINED
USERDEFINED = 5;
-
UNRECOGNIZED
public static final OpennmsModelProtos.TopologyRef.Protocol UNRECOGNIZED
-
-
Field Detail
-
LLDP_VALUE
public static final int LLDP_VALUE
LLDP = 0;
- See Also:
- Constant Field Values
-
OSPF_VALUE
public static final int OSPF_VALUE
OSPF = 1;
- See Also:
- Constant Field Values
-
ISIS_VALUE
public static final int ISIS_VALUE
ISIS = 2;
- See Also:
- Constant Field Values
-
BRIDGE_VALUE
public static final int BRIDGE_VALUE
BRIDGE = 3;
- See Also:
- Constant Field Values
-
CDP_VALUE
public static final int CDP_VALUE
CDP = 4;
- See Also:
- Constant Field Values
-
USERDEFINED_VALUE
public static final int USERDEFINED_VALUE
USERDEFINED = 5;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static OpennmsModelProtos.TopologyRef.Protocol[] 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.TopologyRef.Protocol c : OpennmsModelProtos.TopologyRef.Protocol.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.TopologyRef.Protocol 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.TopologyRef.Protocol 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.TopologyRef.Protocol forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<OpennmsModelProtos.TopologyRef.Protocol> 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.TopologyRef.Protocol 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
-
-