Package com.google.cloud.compute.v1
Enum 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 ofRFC5880Protobuf enum
google.cloud.compute.v1.BfdStatus.LocalDiagnostic-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionADMINISTRATIVELY_DOWN = 121685798;CONCATENATED_PATH_DOWN = 26186892;CONTROL_DETECTION_TIME_EXPIRED = 135478383;DIAGNOSTIC_UNSPECIFIED = 58720895;ECHO_FUNCTION_FAILED = 220687466;FORWARDING_PLANE_RESET = 19715882;NEIGHBOR_SIGNALED_SESSION_DOWN = 374226742;NO_DIAGNOSTIC = 222503141;PATH_DOWN = 290605180;REVERSE_CONCATENATED_PATH_DOWN = 479337129;A value indicating that the enum field is not set. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intADMINISTRATIVELY_DOWN = 121685798;static final intCONCATENATED_PATH_DOWN = 26186892;static final intCONTROL_DETECTION_TIME_EXPIRED = 135478383;static final intDIAGNOSTIC_UNSPECIFIED = 58720895;static final intECHO_FUNCTION_FAILED = 220687466;static final intFORWARDING_PLANE_RESET = 19715882;static final intNEIGHBOR_SIGNALED_SESSION_DOWN = 374226742;static final intNO_DIAGNOSTIC = 222503141;static final intPATH_DOWN = 290605180;static final intREVERSE_CONCATENATED_PATH_DOWN = 479337129;static final intA value indicating that the enum field is not set. -
Method Summary
Modifier and TypeMethodDescriptionstatic BfdStatus.LocalDiagnosticforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<BfdStatus.LocalDiagnostic>static BfdStatus.LocalDiagnosticvalueOf(int value) Deprecated.static BfdStatus.LocalDiagnosticvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static BfdStatus.LocalDiagnosticReturns 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 Details
-
UNDEFINED_LOCAL_DIAGNOSTIC
A value indicating that the enum field is not set.
UNDEFINED_LOCAL_DIAGNOSTIC = 0; -
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; -
UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_LOCAL_DIAGNOSTIC_VALUE
public static final int UNDEFINED_LOCAL_DIAGNOSTIC_VALUEA value indicating that the enum field is not set.
UNDEFINED_LOCAL_DIAGNOSTIC = 0;- See Also:
-
ADMINISTRATIVELY_DOWN_VALUE
public static final int ADMINISTRATIVELY_DOWN_VALUEADMINISTRATIVELY_DOWN = 121685798;- See Also:
-
CONCATENATED_PATH_DOWN_VALUE
public static final int CONCATENATED_PATH_DOWN_VALUECONCATENATED_PATH_DOWN = 26186892;- See Also:
-
CONTROL_DETECTION_TIME_EXPIRED_VALUE
public static final int CONTROL_DETECTION_TIME_EXPIRED_VALUECONTROL_DETECTION_TIME_EXPIRED = 135478383;- See Also:
-
DIAGNOSTIC_UNSPECIFIED_VALUE
public static final int DIAGNOSTIC_UNSPECIFIED_VALUEDIAGNOSTIC_UNSPECIFIED = 58720895;- See Also:
-
ECHO_FUNCTION_FAILED_VALUE
public static final int ECHO_FUNCTION_FAILED_VALUEECHO_FUNCTION_FAILED = 220687466;- See Also:
-
FORWARDING_PLANE_RESET_VALUE
public static final int FORWARDING_PLANE_RESET_VALUEFORWARDING_PLANE_RESET = 19715882;- See Also:
-
NEIGHBOR_SIGNALED_SESSION_DOWN_VALUE
public static final int NEIGHBOR_SIGNALED_SESSION_DOWN_VALUENEIGHBOR_SIGNALED_SESSION_DOWN = 374226742;- See Also:
-
NO_DIAGNOSTIC_VALUE
public static final int NO_DIAGNOSTIC_VALUENO_DIAGNOSTIC = 222503141;- See Also:
-
PATH_DOWN_VALUE
public static final int PATH_DOWN_VALUEPATH_DOWN = 290605180;- See Also:
-
REVERSE_CONCATENATED_PATH_DOWN_VALUE
public static final int REVERSE_CONCATENATED_PATH_DOWN_VALUEREVERSE_CONCATENATED_PATH_DOWN = 479337129;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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
- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static 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
-