public static enum PublicAdvertisedPrefix.ByoipApiVersion extends Enum<PublicAdvertisedPrefix.ByoipApiVersion> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] The version of BYOIP API.Protobuf enum
google.cloud.compute.v1.PublicAdvertisedPrefix.ByoipApiVersion| Enum Constant and Description |
|---|
UNDEFINED_BYOIP_API_VERSION
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
V1
This public advertised prefix can be used to create both regional and global public delegated prefixes.
|
V2
This public advertised prefix can only be used to create regional public delegated prefixes.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
UNDEFINED_BYOIP_API_VERSION_VALUE
A value indicating that the enum field is not set.
|
static int |
V1_VALUE
This public advertised prefix can be used to create both regional and global public delegated prefixes.
|
static int |
V2_VALUE
This public advertised prefix can only be used to create regional public delegated prefixes.
|
| Modifier and Type | Method and Description |
|---|---|
static PublicAdvertisedPrefix.ByoipApiVersion |
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<PublicAdvertisedPrefix.ByoipApiVersion> |
internalGetValueMap() |
static PublicAdvertisedPrefix.ByoipApiVersion |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PublicAdvertisedPrefix.ByoipApiVersion |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PublicAdvertisedPrefix.ByoipApiVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PublicAdvertisedPrefix.ByoipApiVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PublicAdvertisedPrefix.ByoipApiVersion UNDEFINED_BYOIP_API_VERSION
A value indicating that the enum field is not set.
UNDEFINED_BYOIP_API_VERSION = 0;public static final PublicAdvertisedPrefix.ByoipApiVersion V1
This public advertised prefix can be used to create both regional and global public delegated prefixes. It usually takes 4 weeks to create or delete a public delegated prefix. The BGP status cannot be changed.
V1 = 2715;public static final PublicAdvertisedPrefix.ByoipApiVersion V2
This public advertised prefix can only be used to create regional public delegated prefixes. Public delegated prefix creation and deletion takes minutes and the BGP status can be modified.
V2 = 2716;public static final PublicAdvertisedPrefix.ByoipApiVersion UNRECOGNIZED
public static final int UNDEFINED_BYOIP_API_VERSION_VALUE
A value indicating that the enum field is not set.
UNDEFINED_BYOIP_API_VERSION = 0;public static final int V1_VALUE
This public advertised prefix can be used to create both regional and global public delegated prefixes. It usually takes 4 weeks to create or delete a public delegated prefix. The BGP status cannot be changed.
V1 = 2715;public static final int V2_VALUE
This public advertised prefix can only be used to create regional public delegated prefixes. Public delegated prefix creation and deletion takes minutes and the BGP status can be modified.
V2 = 2716;public static PublicAdvertisedPrefix.ByoipApiVersion[] values()
for (PublicAdvertisedPrefix.ByoipApiVersion c : PublicAdvertisedPrefix.ByoipApiVersion.values()) System.out.println(c);
public static PublicAdvertisedPrefix.ByoipApiVersion 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 PublicAdvertisedPrefix.ByoipApiVersion valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static PublicAdvertisedPrefix.ByoipApiVersion forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PublicAdvertisedPrefix.ByoipApiVersion> 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 PublicAdvertisedPrefix.ByoipApiVersion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.