public static enum RouterBgpPeer.ManagementType extends Enum<RouterBgpPeer.ManagementType> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] The resource that configures and manages this BGP peer. - MANAGED_BY_USER is the default value and can be managed by you or other users - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of BGP peer when the PARTNER InterconnectAttachment is created, updated, or deleted.Protobuf enum
google.cloud.compute.v1.RouterBgpPeer.ManagementType| Enum Constant and Description |
|---|
MANAGED_BY_ATTACHMENT
The BGP peer is automatically created for PARTNER type InterconnectAttachment; Google will automatically create/delete this BGP peer when the PARTNER InterconnectAttachment is created/deleted, and Google will update the ipAddress and peerIpAddress when the PARTNER InterconnectAttachment is provisioned.
|
MANAGED_BY_USER
Default value, the BGP peer is manually created and managed by user.
|
UNDEFINED_MANAGEMENT_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
MANAGED_BY_ATTACHMENT_VALUE
The BGP peer is automatically created for PARTNER type InterconnectAttachment; Google will automatically create/delete this BGP peer when the PARTNER InterconnectAttachment is created/deleted, and Google will update the ipAddress and peerIpAddress when the PARTNER InterconnectAttachment is provisioned.
|
static int |
MANAGED_BY_USER_VALUE
Default value, the BGP peer is manually created and managed by user.
|
static int |
UNDEFINED_MANAGEMENT_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static RouterBgpPeer.ManagementType |
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<RouterBgpPeer.ManagementType> |
internalGetValueMap() |
static RouterBgpPeer.ManagementType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RouterBgpPeer.ManagementType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RouterBgpPeer.ManagementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouterBgpPeer.ManagementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouterBgpPeer.ManagementType UNDEFINED_MANAGEMENT_TYPE
A value indicating that the enum field is not set.
UNDEFINED_MANAGEMENT_TYPE = 0;public static final RouterBgpPeer.ManagementType MANAGED_BY_ATTACHMENT
The BGP peer is automatically created for PARTNER type InterconnectAttachment; Google will automatically create/delete this BGP peer when the PARTNER InterconnectAttachment is created/deleted, and Google will update the ipAddress and peerIpAddress when the PARTNER InterconnectAttachment is provisioned. This type of BGP peer cannot be created or deleted, but can be modified for all fields except for name, ipAddress and peerIpAddress.
MANAGED_BY_ATTACHMENT = 458926411;public static final RouterBgpPeer.ManagementType MANAGED_BY_USER
Default value, the BGP peer is manually created and managed by user.
MANAGED_BY_USER = 317294067;public static final RouterBgpPeer.ManagementType UNRECOGNIZED
public static final int UNDEFINED_MANAGEMENT_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_MANAGEMENT_TYPE = 0;public static final int MANAGED_BY_ATTACHMENT_VALUE
The BGP peer is automatically created for PARTNER type InterconnectAttachment; Google will automatically create/delete this BGP peer when the PARTNER InterconnectAttachment is created/deleted, and Google will update the ipAddress and peerIpAddress when the PARTNER InterconnectAttachment is provisioned. This type of BGP peer cannot be created or deleted, but can be modified for all fields except for name, ipAddress and peerIpAddress.
MANAGED_BY_ATTACHMENT = 458926411;public static final int MANAGED_BY_USER_VALUE
Default value, the BGP peer is manually created and managed by user.
MANAGED_BY_USER = 317294067;public static RouterBgpPeer.ManagementType[] values()
for (RouterBgpPeer.ManagementType c : RouterBgpPeer.ManagementType.values()) System.out.println(c);
public static RouterBgpPeer.ManagementType 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 RouterBgpPeer.ManagementType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RouterBgpPeer.ManagementType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RouterBgpPeer.ManagementType> 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 RouterBgpPeer.ManagementType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.