public static enum BfdPacket.State extends Enum<BfdPacket.State> implements com.google.protobuf.ProtocolMessageEnum
The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880Protobuf enum
google.cloud.compute.v1.BfdPacket.State| Enum Constant and Description |
|---|
ADMIN_DOWN
ADMIN_DOWN = 128544690; |
DOWN
DOWN = 2104482; |
INIT
INIT = 2252048; |
STATE_UNSPECIFIED
STATE_UNSPECIFIED = 470755401; |
UNDEFINED_STATE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
UP
UP = 2715; |
| Modifier and Type | Field and Description |
|---|---|
static int |
ADMIN_DOWN_VALUE
ADMIN_DOWN = 128544690; |
static int |
DOWN_VALUE
DOWN = 2104482; |
static int |
INIT_VALUE
INIT = 2252048; |
static int |
STATE_UNSPECIFIED_VALUE
STATE_UNSPECIFIED = 470755401; |
static int |
UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
|
static int |
UP_VALUE
UP = 2715; |
| Modifier and Type | Method and Description |
|---|---|
static BfdPacket.State |
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<BfdPacket.State> |
internalGetValueMap() |
static BfdPacket.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BfdPacket.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BfdPacket.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BfdPacket.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BfdPacket.State UNDEFINED_STATE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final BfdPacket.State ADMIN_DOWN
ADMIN_DOWN = 128544690;public static final BfdPacket.State DOWN
DOWN = 2104482;public static final BfdPacket.State INIT
INIT = 2252048;public static final BfdPacket.State STATE_UNSPECIFIED
STATE_UNSPECIFIED = 470755401;public static final BfdPacket.State UP
UP = 2715;public static final BfdPacket.State UNRECOGNIZED
public static final int UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final int ADMIN_DOWN_VALUE
ADMIN_DOWN = 128544690;public static final int DOWN_VALUE
DOWN = 2104482;public static final int INIT_VALUE
INIT = 2252048;public static final int STATE_UNSPECIFIED_VALUE
STATE_UNSPECIFIED = 470755401;public static final int UP_VALUE
UP = 2715;public static BfdPacket.State[] values()
for (BfdPacket.State c : BfdPacket.State.values()) System.out.println(c);
public static BfdPacket.State 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 BfdPacket.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static BfdPacket.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<BfdPacket.State> 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 BfdPacket.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.