public static enum Transport.RouteMonitoringPacket.PathAttribute.Origin extends Enum<Transport.RouteMonitoringPacket.PathAttribute.Origin> implements com.google.protobuf.ProtocolMessageEnum
RouteMonitoringPacket.PathAttribute.Origin
Enum Constant and Description |
---|
EGP
EGP = 1; |
IGP
IGP = 0; |
INCOMPLETE
INCOMPLETE = 2; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
EGP_VALUE
EGP = 1; |
static int |
IGP_VALUE
IGP = 0; |
static int |
INCOMPLETE_VALUE
INCOMPLETE = 2; |
Modifier and Type | Method and 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(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Transport.RouteMonitoringPacket.PathAttribute.Origin |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
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.
|
public static final Transport.RouteMonitoringPacket.PathAttribute.Origin IGP
IGP = 0;
public static final Transport.RouteMonitoringPacket.PathAttribute.Origin EGP
EGP = 1;
public static final Transport.RouteMonitoringPacket.PathAttribute.Origin INCOMPLETE
INCOMPLETE = 2;
public static final Transport.RouteMonitoringPacket.PathAttribute.Origin UNRECOGNIZED
public static final int IGP_VALUE
IGP = 0;
public static final int EGP_VALUE
EGP = 1;
public static final int INCOMPLETE_VALUE
INCOMPLETE = 2;
public static Transport.RouteMonitoringPacket.PathAttribute.Origin[] values()
for (Transport.RouteMonitoringPacket.PathAttribute.Origin c : Transport.RouteMonitoringPacket.PathAttribute.Origin.values()) System.out.println(c);
public static Transport.RouteMonitoringPacket.PathAttribute.Origin 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 Transport.RouteMonitoringPacket.PathAttribute.Origin valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Transport.RouteMonitoringPacket.PathAttribute.Origin forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Transport.RouteMonitoringPacket.PathAttribute.Origin> 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 Transport.RouteMonitoringPacket.PathAttribute.Origin valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020. All rights reserved.