public static enum RouteAsPath.PathSegmentType extends Enum<RouteAsPath.PathSegmentType> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversedProtobuf enum
google.cloud.compute.v1.RouteAsPath.PathSegmentType| Enum Constant and Description |
|---|
AS_CONFED_SEQUENCE
AS_CONFED_SEQUENCE = 222152624; |
AS_CONFED_SET
AS_CONFED_SET = 374040307; |
AS_SEQUENCE
AS_SEQUENCE = 106735918; |
AS_SET
AS_SET = 329846453; |
UNDEFINED_PATH_SEGMENT_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AS_CONFED_SEQUENCE_VALUE
AS_CONFED_SEQUENCE = 222152624; |
static int |
AS_CONFED_SET_VALUE
AS_CONFED_SET = 374040307; |
static int |
AS_SEQUENCE_VALUE
AS_SEQUENCE = 106735918; |
static int |
AS_SET_VALUE
AS_SET = 329846453; |
static int |
UNDEFINED_PATH_SEGMENT_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static RouteAsPath.PathSegmentType |
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<RouteAsPath.PathSegmentType> |
internalGetValueMap() |
static RouteAsPath.PathSegmentType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RouteAsPath.PathSegmentType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RouteAsPath.PathSegmentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouteAsPath.PathSegmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteAsPath.PathSegmentType UNDEFINED_PATH_SEGMENT_TYPE
A value indicating that the enum field is not set.
UNDEFINED_PATH_SEGMENT_TYPE = 0;public static final RouteAsPath.PathSegmentType AS_CONFED_SEQUENCE
AS_CONFED_SEQUENCE = 222152624;public static final RouteAsPath.PathSegmentType AS_CONFED_SET
AS_CONFED_SET = 374040307;public static final RouteAsPath.PathSegmentType AS_SEQUENCE
AS_SEQUENCE = 106735918;public static final RouteAsPath.PathSegmentType AS_SET
AS_SET = 329846453;public static final RouteAsPath.PathSegmentType UNRECOGNIZED
public static final int UNDEFINED_PATH_SEGMENT_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_PATH_SEGMENT_TYPE = 0;public static final int AS_CONFED_SEQUENCE_VALUE
AS_CONFED_SEQUENCE = 222152624;public static final int AS_CONFED_SET_VALUE
AS_CONFED_SET = 374040307;public static final int AS_SEQUENCE_VALUE
AS_SEQUENCE = 106735918;public static final int AS_SET_VALUE
AS_SET = 329846453;public static RouteAsPath.PathSegmentType[] values()
for (RouteAsPath.PathSegmentType c : RouteAsPath.PathSegmentType.values()) System.out.println(c);
public static RouteAsPath.PathSegmentType 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static RouteAsPath.PathSegmentType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RouteAsPath.PathSegmentType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RouteAsPath.PathSegmentType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RouteAsPath.PathSegmentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.