public static enum OpennmsModelProtos.TopologyRef.Protocol extends Enum<OpennmsModelProtos.TopologyRef.Protocol> implements com.google.protobuf.ProtocolMessageEnum
TopologyRef.Protocol
Enum Constant and Description |
---|
BRIDGE
BRIDGE = 3; |
CDP
CDP = 4; |
ISIS
ISIS = 2; |
LLDP
LLDP = 0; |
OSPF
OSPF = 1; |
UNRECOGNIZED |
USERDEFINED
USERDEFINED = 5; |
Modifier and Type | Field and 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; |
Modifier and Type | Method and 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(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static OpennmsModelProtos.TopologyRef.Protocol |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
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.
|
public static final OpennmsModelProtos.TopologyRef.Protocol LLDP
LLDP = 0;
public static final OpennmsModelProtos.TopologyRef.Protocol OSPF
OSPF = 1;
public static final OpennmsModelProtos.TopologyRef.Protocol ISIS
ISIS = 2;
public static final OpennmsModelProtos.TopologyRef.Protocol BRIDGE
BRIDGE = 3;
public static final OpennmsModelProtos.TopologyRef.Protocol CDP
CDP = 4;
public static final OpennmsModelProtos.TopologyRef.Protocol USERDEFINED
USERDEFINED = 5;
public static final OpennmsModelProtos.TopologyRef.Protocol UNRECOGNIZED
public static final int LLDP_VALUE
LLDP = 0;
public static final int OSPF_VALUE
OSPF = 1;
public static final int ISIS_VALUE
ISIS = 2;
public static final int BRIDGE_VALUE
BRIDGE = 3;
public static final int CDP_VALUE
CDP = 4;
public static final int USERDEFINED_VALUE
USERDEFINED = 5;
public static OpennmsModelProtos.TopologyRef.Protocol[] values()
for (OpennmsModelProtos.TopologyRef.Protocol c : OpennmsModelProtos.TopologyRef.Protocol.values()) System.out.println(c);
public static OpennmsModelProtos.TopologyRef.Protocol valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static OpennmsModelProtos.TopologyRef.Protocol valueOf(int value)
forNumber(int)
instead.public static OpennmsModelProtos.TopologyRef.Protocol forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<OpennmsModelProtos.TopologyRef.Protocol> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static OpennmsModelProtos.TopologyRef.Protocol valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021. All rights reserved.