Package com.google.cloud.compute.v1
Enum BfdStatus.LocalDiagnostic
- java.lang.Object
-
- java.lang.Enum<BfdStatus.LocalDiagnostic>
-
- com.google.cloud.compute.v1.BfdStatus.LocalDiagnostic
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<BfdStatus.LocalDiagnostic>
- Enclosing class:
- BfdStatus
public static enum BfdStatus.LocalDiagnostic extends Enum<BfdStatus.LocalDiagnostic> 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 RFC5880
Protobuf enumgoogle.cloud.compute.v1.BfdStatus.LocalDiagnostic
-
-
Enum Constant Summary
Enum Constants Enum Constant 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_LOCAL_DIAGNOSTIC
A value indicating that the enum field is not set.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field 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_LOCAL_DIAGNOSTIC_VALUE
A value indicating that the enum field is not set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BfdStatus.LocalDiagnostic
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<BfdStatus.LocalDiagnostic>
internalGetValueMap()
static BfdStatus.LocalDiagnostic
valueOf(int value)
Deprecated.static BfdStatus.LocalDiagnostic
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static BfdStatus.LocalDiagnostic
valueOf(String name)
Returns the enum constant of this type with the specified name.static BfdStatus.LocalDiagnostic[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED_LOCAL_DIAGNOSTIC
public static final BfdStatus.LocalDiagnostic UNDEFINED_LOCAL_DIAGNOSTIC
A value indicating that the enum field is not set.
UNDEFINED_LOCAL_DIAGNOSTIC = 0;
-
ADMINISTRATIVELY_DOWN
public static final BfdStatus.LocalDiagnostic ADMINISTRATIVELY_DOWN
ADMINISTRATIVELY_DOWN = 121685798;
-
CONCATENATED_PATH_DOWN
public static final BfdStatus.LocalDiagnostic CONCATENATED_PATH_DOWN
CONCATENATED_PATH_DOWN = 26186892;
-
CONTROL_DETECTION_TIME_EXPIRED
public static final BfdStatus.LocalDiagnostic CONTROL_DETECTION_TIME_EXPIRED
CONTROL_DETECTION_TIME_EXPIRED = 135478383;
-
DIAGNOSTIC_UNSPECIFIED
public static final BfdStatus.LocalDiagnostic DIAGNOSTIC_UNSPECIFIED
DIAGNOSTIC_UNSPECIFIED = 58720895;
-
ECHO_FUNCTION_FAILED
public static final BfdStatus.LocalDiagnostic ECHO_FUNCTION_FAILED
ECHO_FUNCTION_FAILED = 220687466;
-
FORWARDING_PLANE_RESET
public static final BfdStatus.LocalDiagnostic FORWARDING_PLANE_RESET
FORWARDING_PLANE_RESET = 19715882;
-
NEIGHBOR_SIGNALED_SESSION_DOWN
public static final BfdStatus.LocalDiagnostic NEIGHBOR_SIGNALED_SESSION_DOWN
NEIGHBOR_SIGNALED_SESSION_DOWN = 374226742;
-
NO_DIAGNOSTIC
public static final BfdStatus.LocalDiagnostic NO_DIAGNOSTIC
NO_DIAGNOSTIC = 222503141;
-
PATH_DOWN
public static final BfdStatus.LocalDiagnostic PATH_DOWN
PATH_DOWN = 290605180;
-
REVERSE_CONCATENATED_PATH_DOWN
public static final BfdStatus.LocalDiagnostic REVERSE_CONCATENATED_PATH_DOWN
REVERSE_CONCATENATED_PATH_DOWN = 479337129;
-
UNRECOGNIZED
public static final BfdStatus.LocalDiagnostic UNRECOGNIZED
-
-
Field Detail
-
UNDEFINED_LOCAL_DIAGNOSTIC_VALUE
public static final int UNDEFINED_LOCAL_DIAGNOSTIC_VALUE
A value indicating that the enum field is not set.
UNDEFINED_LOCAL_DIAGNOSTIC = 0;
- See Also:
- Constant Field Values
-
ADMINISTRATIVELY_DOWN_VALUE
public static final int ADMINISTRATIVELY_DOWN_VALUE
ADMINISTRATIVELY_DOWN = 121685798;
- See Also:
- Constant Field Values
-
CONCATENATED_PATH_DOWN_VALUE
public static final int CONCATENATED_PATH_DOWN_VALUE
CONCATENATED_PATH_DOWN = 26186892;
- See Also:
- Constant Field Values
-
CONTROL_DETECTION_TIME_EXPIRED_VALUE
public static final int CONTROL_DETECTION_TIME_EXPIRED_VALUE
CONTROL_DETECTION_TIME_EXPIRED = 135478383;
- See Also:
- Constant Field Values
-
DIAGNOSTIC_UNSPECIFIED_VALUE
public static final int DIAGNOSTIC_UNSPECIFIED_VALUE
DIAGNOSTIC_UNSPECIFIED = 58720895;
- See Also:
- Constant Field Values
-
ECHO_FUNCTION_FAILED_VALUE
public static final int ECHO_FUNCTION_FAILED_VALUE
ECHO_FUNCTION_FAILED = 220687466;
- See Also:
- Constant Field Values
-
FORWARDING_PLANE_RESET_VALUE
public static final int FORWARDING_PLANE_RESET_VALUE
FORWARDING_PLANE_RESET = 19715882;
- See Also:
- Constant Field Values
-
NEIGHBOR_SIGNALED_SESSION_DOWN_VALUE
public static final int NEIGHBOR_SIGNALED_SESSION_DOWN_VALUE
NEIGHBOR_SIGNALED_SESSION_DOWN = 374226742;
- See Also:
- Constant Field Values
-
NO_DIAGNOSTIC_VALUE
public static final int NO_DIAGNOSTIC_VALUE
NO_DIAGNOSTIC = 222503141;
- See Also:
- Constant Field Values
-
PATH_DOWN_VALUE
public static final int PATH_DOWN_VALUE
PATH_DOWN = 290605180;
- See Also:
- Constant Field Values
-
REVERSE_CONCATENATED_PATH_DOWN_VALUE
public static final int REVERSE_CONCATENATED_PATH_DOWN_VALUE
REVERSE_CONCATENATED_PATH_DOWN = 479337129;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static BfdStatus.LocalDiagnostic[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BfdStatus.LocalDiagnostic c : BfdStatus.LocalDiagnostic.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BfdStatus.LocalDiagnostic valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static BfdStatus.LocalDiagnostic valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static BfdStatus.LocalDiagnostic forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<BfdStatus.LocalDiagnostic> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static BfdStatus.LocalDiagnostic valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-