public static enum BfdPacket.Diagnostic extends Enum<BfdPacket.Diagnostic> implements com.google.protobuf.ProtocolMessageEnum
The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880Protobuf enum
google.cloud.compute.v1.BfdPacket.Diagnostic| Enum Constant and Description |
|---|
ADMINISTRATIVELY_DOWN
ADMINISTRATIVELY_DOWN = 121685798; |
CONCATENATED_PATH_DOWN
CONCATENATED_PATH_DOWN = 26186892; |
CONTROL_DETECTION_TIME_EXPIRED
CONTROL_DETECTION_TIME_EXPIRED = 135478383; |
DIAGNOSTIC_UNSPECIFIED
DIAGNOSTIC_UNSPECIFIED = 58720895; |
ECHO_FUNCTION_FAILED
ECHO_FUNCTION_FAILED = 220687466; |
FORWARDING_PLANE_RESET
FORWARDING_PLANE_RESET = 19715882; |
NEIGHBOR_SIGNALED_SESSION_DOWN
NEIGHBOR_SIGNALED_SESSION_DOWN = 374226742; |
NO_DIAGNOSTIC
NO_DIAGNOSTIC = 222503141; |
PATH_DOWN
PATH_DOWN = 290605180; |
REVERSE_CONCATENATED_PATH_DOWN
REVERSE_CONCATENATED_PATH_DOWN = 479337129; |
UNDEFINED_DIAGNOSTIC
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ADMINISTRATIVELY_DOWN_VALUE
ADMINISTRATIVELY_DOWN = 121685798; |
static int |
CONCATENATED_PATH_DOWN_VALUE
CONCATENATED_PATH_DOWN = 26186892; |
static int |
CONTROL_DETECTION_TIME_EXPIRED_VALUE
CONTROL_DETECTION_TIME_EXPIRED = 135478383; |
static int |
DIAGNOSTIC_UNSPECIFIED_VALUE
DIAGNOSTIC_UNSPECIFIED = 58720895; |
static int |
ECHO_FUNCTION_FAILED_VALUE
ECHO_FUNCTION_FAILED = 220687466; |
static int |
FORWARDING_PLANE_RESET_VALUE
FORWARDING_PLANE_RESET = 19715882; |
static int |
NEIGHBOR_SIGNALED_SESSION_DOWN_VALUE
NEIGHBOR_SIGNALED_SESSION_DOWN = 374226742; |
static int |
NO_DIAGNOSTIC_VALUE
NO_DIAGNOSTIC = 222503141; |
static int |
PATH_DOWN_VALUE
PATH_DOWN = 290605180; |
static int |
REVERSE_CONCATENATED_PATH_DOWN_VALUE
REVERSE_CONCATENATED_PATH_DOWN = 479337129; |
static int |
UNDEFINED_DIAGNOSTIC_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static BfdPacket.Diagnostic |
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.Diagnostic> |
internalGetValueMap() |
static BfdPacket.Diagnostic |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BfdPacket.Diagnostic |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BfdPacket.Diagnostic |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BfdPacket.Diagnostic[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BfdPacket.Diagnostic UNDEFINED_DIAGNOSTIC
A value indicating that the enum field is not set.
UNDEFINED_DIAGNOSTIC = 0;public static final BfdPacket.Diagnostic ADMINISTRATIVELY_DOWN
ADMINISTRATIVELY_DOWN = 121685798;public static final BfdPacket.Diagnostic CONCATENATED_PATH_DOWN
CONCATENATED_PATH_DOWN = 26186892;public static final BfdPacket.Diagnostic CONTROL_DETECTION_TIME_EXPIRED
CONTROL_DETECTION_TIME_EXPIRED = 135478383;public static final BfdPacket.Diagnostic DIAGNOSTIC_UNSPECIFIED
DIAGNOSTIC_UNSPECIFIED = 58720895;public static final BfdPacket.Diagnostic ECHO_FUNCTION_FAILED
ECHO_FUNCTION_FAILED = 220687466;public static final BfdPacket.Diagnostic FORWARDING_PLANE_RESET
FORWARDING_PLANE_RESET = 19715882;public static final BfdPacket.Diagnostic NEIGHBOR_SIGNALED_SESSION_DOWN
NEIGHBOR_SIGNALED_SESSION_DOWN = 374226742;public static final BfdPacket.Diagnostic NO_DIAGNOSTIC
NO_DIAGNOSTIC = 222503141;public static final BfdPacket.Diagnostic PATH_DOWN
PATH_DOWN = 290605180;public static final BfdPacket.Diagnostic REVERSE_CONCATENATED_PATH_DOWN
REVERSE_CONCATENATED_PATH_DOWN = 479337129;public static final BfdPacket.Diagnostic UNRECOGNIZED
public static final int UNDEFINED_DIAGNOSTIC_VALUE
A value indicating that the enum field is not set.
UNDEFINED_DIAGNOSTIC = 0;public static final int ADMINISTRATIVELY_DOWN_VALUE
ADMINISTRATIVELY_DOWN = 121685798;public static final int CONCATENATED_PATH_DOWN_VALUE
CONCATENATED_PATH_DOWN = 26186892;public static final int CONTROL_DETECTION_TIME_EXPIRED_VALUE
CONTROL_DETECTION_TIME_EXPIRED = 135478383;public static final int DIAGNOSTIC_UNSPECIFIED_VALUE
DIAGNOSTIC_UNSPECIFIED = 58720895;public static final int ECHO_FUNCTION_FAILED_VALUE
ECHO_FUNCTION_FAILED = 220687466;public static final int FORWARDING_PLANE_RESET_VALUE
FORWARDING_PLANE_RESET = 19715882;public static final int NEIGHBOR_SIGNALED_SESSION_DOWN_VALUE
NEIGHBOR_SIGNALED_SESSION_DOWN = 374226742;public static final int NO_DIAGNOSTIC_VALUE
NO_DIAGNOSTIC = 222503141;public static final int PATH_DOWN_VALUE
PATH_DOWN = 290605180;public static final int REVERSE_CONCATENATED_PATH_DOWN_VALUE
REVERSE_CONCATENATED_PATH_DOWN = 479337129;public static BfdPacket.Diagnostic[] values()
for (BfdPacket.Diagnostic c : BfdPacket.Diagnostic.values()) System.out.println(c);
public static BfdPacket.Diagnostic 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.Diagnostic valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static BfdPacket.Diagnostic forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<BfdPacket.Diagnostic> 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.Diagnostic valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.