public static enum RouterBgpPeerBfd.SessionInitializationMode extends Enum<RouterBgpPeerBfd.SessionInitializationMode> implements com.google.protobuf.ProtocolMessageEnum
The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.Protobuf enum
google.cloud.compute.v1.RouterBgpPeerBfd.SessionInitializationMode| Enum Constant and Description |
|---|
ACTIVE
ACTIVE = 314733318; |
DISABLED
DISABLED = 516696700; |
PASSIVE
PASSIVE = 462813959; |
UNDEFINED_SESSION_INITIALIZATION_MODE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
ACTIVE = 314733318; |
static int |
DISABLED_VALUE
DISABLED = 516696700; |
static int |
PASSIVE_VALUE
PASSIVE = 462813959; |
static int |
UNDEFINED_SESSION_INITIALIZATION_MODE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static RouterBgpPeerBfd.SessionInitializationMode |
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<RouterBgpPeerBfd.SessionInitializationMode> |
internalGetValueMap() |
static RouterBgpPeerBfd.SessionInitializationMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RouterBgpPeerBfd.SessionInitializationMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RouterBgpPeerBfd.SessionInitializationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouterBgpPeerBfd.SessionInitializationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouterBgpPeerBfd.SessionInitializationMode UNDEFINED_SESSION_INITIALIZATION_MODE
A value indicating that the enum field is not set.
UNDEFINED_SESSION_INITIALIZATION_MODE = 0;public static final RouterBgpPeerBfd.SessionInitializationMode ACTIVE
ACTIVE = 314733318;public static final RouterBgpPeerBfd.SessionInitializationMode DISABLED
DISABLED = 516696700;public static final RouterBgpPeerBfd.SessionInitializationMode PASSIVE
PASSIVE = 462813959;public static final RouterBgpPeerBfd.SessionInitializationMode UNRECOGNIZED
public static final int UNDEFINED_SESSION_INITIALIZATION_MODE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_SESSION_INITIALIZATION_MODE = 0;public static final int ACTIVE_VALUE
ACTIVE = 314733318;public static final int DISABLED_VALUE
DISABLED = 516696700;public static final int PASSIVE_VALUE
PASSIVE = 462813959;public static RouterBgpPeerBfd.SessionInitializationMode[] values()
for (RouterBgpPeerBfd.SessionInitializationMode c : RouterBgpPeerBfd.SessionInitializationMode.values()) System.out.println(c);
public static RouterBgpPeerBfd.SessionInitializationMode 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 RouterBgpPeerBfd.SessionInitializationMode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RouterBgpPeerBfd.SessionInitializationMode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RouterBgpPeerBfd.SessionInitializationMode> 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 RouterBgpPeerBfd.SessionInitializationMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.