public static enum Transport.RouteMonitoringPacket.PathAttribute.AsPath.Segment.Type extends Enum<Transport.RouteMonitoringPacket.PathAttribute.AsPath.Segment.Type> implements com.google.protobuf.ProtocolMessageEnum
RouteMonitoringPacket.PathAttribute.AsPath.Segment.Type
Enum Constant and Description |
---|
AS_SEQUENCE
AS_SEQUENCE = 1; |
AS_SET
AS_SET = 0; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
AS_SEQUENCE_VALUE
AS_SEQUENCE = 1; |
static int |
AS_SET_VALUE
AS_SET = 0; |
Modifier and Type | Method and Description |
---|---|
static Transport.RouteMonitoringPacket.PathAttribute.AsPath.Segment.Type |
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.AsPath.Segment.Type> |
internalGetValueMap() |
static Transport.RouteMonitoringPacket.PathAttribute.AsPath.Segment.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Transport.RouteMonitoringPacket.PathAttribute.AsPath.Segment.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Transport.RouteMonitoringPacket.PathAttribute.AsPath.Segment.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transport.RouteMonitoringPacket.PathAttribute.AsPath.Segment.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transport.RouteMonitoringPacket.PathAttribute.AsPath.Segment.Type AS_SET
AS_SET = 0;
public static final Transport.RouteMonitoringPacket.PathAttribute.AsPath.Segment.Type AS_SEQUENCE
AS_SEQUENCE = 1;
public static final Transport.RouteMonitoringPacket.PathAttribute.AsPath.Segment.Type UNRECOGNIZED
public static final int AS_SET_VALUE
AS_SET = 0;
public static final int AS_SEQUENCE_VALUE
AS_SEQUENCE = 1;
public static Transport.RouteMonitoringPacket.PathAttribute.AsPath.Segment.Type[] values()
for (Transport.RouteMonitoringPacket.PathAttribute.AsPath.Segment.Type c : Transport.RouteMonitoringPacket.PathAttribute.AsPath.Segment.Type.values()) System.out.println(c);
public static Transport.RouteMonitoringPacket.PathAttribute.AsPath.Segment.Type 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.AsPath.Segment.Type valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Transport.RouteMonitoringPacket.PathAttribute.AsPath.Segment.Type forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Transport.RouteMonitoringPacket.PathAttribute.AsPath.Segment.Type> 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.AsPath.Segment.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020. All rights reserved.