public static enum RouterBgpPeer.Enable extends Enum<RouterBgpPeer.Enable> implements com.google.protobuf.ProtocolMessageEnum
The status of the BGP peer connection. If set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer connection can be established with routing information. The default is TRUE.Protobuf enum
google.cloud.compute.v1.RouterBgpPeer.Enable| Enum Constant and Description |
|---|
FALSE
FALSE = 66658563; |
TRUE
TRUE = 2583950; |
UNDEFINED_ENABLE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FALSE_VALUE
FALSE = 66658563; |
static int |
TRUE_VALUE
TRUE = 2583950; |
static int |
UNDEFINED_ENABLE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static RouterBgpPeer.Enable |
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.Enable> |
internalGetValueMap() |
static RouterBgpPeer.Enable |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RouterBgpPeer.Enable |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RouterBgpPeer.Enable |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouterBgpPeer.Enable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouterBgpPeer.Enable UNDEFINED_ENABLE
A value indicating that the enum field is not set.
UNDEFINED_ENABLE = 0;public static final RouterBgpPeer.Enable FALSE
FALSE = 66658563;public static final RouterBgpPeer.Enable TRUE
TRUE = 2583950;public static final RouterBgpPeer.Enable UNRECOGNIZED
public static final int UNDEFINED_ENABLE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_ENABLE = 0;public static final int FALSE_VALUE
FALSE = 66658563;public static final int TRUE_VALUE
TRUE = 2583950;public static RouterBgpPeer.Enable[] values()
for (RouterBgpPeer.Enable c : RouterBgpPeer.Enable.values()) System.out.println(c);
public static RouterBgpPeer.Enable 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.Enable valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RouterBgpPeer.Enable forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RouterBgpPeer.Enable> 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.Enable valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.