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 BRIDGEBRIDGE = 3;CDPCDP = 4;ISISISIS = 2;LLDPLLDP = 0;OSPFOSPF = 1;UNRECOGNIZEDUSERDEFINEDUSERDEFINED = 5;
-
Field Summary
Fields Modifier and Type Field Description static intBRIDGE_VALUEBRIDGE = 3;static intCDP_VALUECDP = 4;static intISIS_VALUEISIS = 2;static intLLDP_VALUELLDP = 0;static intOSPF_VALUEOSPF = 1;static intUSERDEFINED_VALUEUSERDEFINED = 5;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OpennmsModelProtos.TopologyRef.ProtocolforNumber(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<OpennmsModelProtos.TopologyRef.Protocol>internalGetValueMap()static OpennmsModelProtos.TopologyRef.ProtocolvalueOf(int value)Deprecated.static OpennmsModelProtos.TopologyRef.ProtocolvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static OpennmsModelProtos.TopologyRef.ProtocolvalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
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 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
-
-