public static enum BgpRoute.Origin extends Enum<BgpRoute.Origin> implements com.google.protobuf.ProtocolMessageEnum
[Output only] BGP origin (EGP, IGP or INCOMPLETE)Protobuf enum
google.cloud.compute.v1.BgpRoute.Origin| Enum Constant and Description |
|---|
BGP_ORIGIN_EGP
BGP_ORIGIN_EGP = 378906473; |
BGP_ORIGIN_IGP
BGP_ORIGIN_IGP = 378910317; |
BGP_ORIGIN_INCOMPLETE
BGP_ORIGIN_INCOMPLETE = 452839811; |
UNDEFINED_ORIGIN
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BGP_ORIGIN_EGP_VALUE
BGP_ORIGIN_EGP = 378906473; |
static int |
BGP_ORIGIN_IGP_VALUE
BGP_ORIGIN_IGP = 378910317; |
static int |
BGP_ORIGIN_INCOMPLETE_VALUE
BGP_ORIGIN_INCOMPLETE = 452839811; |
static int |
UNDEFINED_ORIGIN_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static BgpRoute.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<BgpRoute.Origin> |
internalGetValueMap() |
static BgpRoute.Origin |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BgpRoute.Origin |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BgpRoute.Origin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BgpRoute.Origin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BgpRoute.Origin UNDEFINED_ORIGIN
A value indicating that the enum field is not set.
UNDEFINED_ORIGIN = 0;public static final BgpRoute.Origin BGP_ORIGIN_EGP
BGP_ORIGIN_EGP = 378906473;public static final BgpRoute.Origin BGP_ORIGIN_IGP
BGP_ORIGIN_IGP = 378910317;public static final BgpRoute.Origin BGP_ORIGIN_INCOMPLETE
BGP_ORIGIN_INCOMPLETE = 452839811;public static final BgpRoute.Origin UNRECOGNIZED
public static final int UNDEFINED_ORIGIN_VALUE
A value indicating that the enum field is not set.
UNDEFINED_ORIGIN = 0;public static final int BGP_ORIGIN_EGP_VALUE
BGP_ORIGIN_EGP = 378906473;public static final int BGP_ORIGIN_IGP_VALUE
BGP_ORIGIN_IGP = 378910317;public static final int BGP_ORIGIN_INCOMPLETE_VALUE
BGP_ORIGIN_INCOMPLETE = 452839811;public static BgpRoute.Origin[] values()
for (BgpRoute.Origin c : BgpRoute.Origin.values()) System.out.println(c);
public static BgpRoute.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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static BgpRoute.Origin valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static BgpRoute.Origin forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<BgpRoute.Origin> 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 BgpRoute.Origin valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.