Enum BfdPacket.Diagnostic

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<BfdPacket.Diagnostic>
    Enclosing class:
    BfdPacket

    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 RFC5880
     
    Protobuf enum google.cloud.compute.v1.BfdPacket.Diagnostic
    • Enum Constant Detail

      • UNDEFINED_DIAGNOSTIC

        public static final BfdPacket.Diagnostic UNDEFINED_DIAGNOSTIC
         A value indicating that the enum field is not set.
         
        UNDEFINED_DIAGNOSTIC = 0;
      • ADMINISTRATIVELY_DOWN

        public static final BfdPacket.Diagnostic ADMINISTRATIVELY_DOWN
        ADMINISTRATIVELY_DOWN = 121685798;
      • CONCATENATED_PATH_DOWN

        public static final BfdPacket.Diagnostic CONCATENATED_PATH_DOWN
        CONCATENATED_PATH_DOWN = 26186892;
      • CONTROL_DETECTION_TIME_EXPIRED

        public static final BfdPacket.Diagnostic CONTROL_DETECTION_TIME_EXPIRED
        CONTROL_DETECTION_TIME_EXPIRED = 135478383;
      • DIAGNOSTIC_UNSPECIFIED

        public static final BfdPacket.Diagnostic DIAGNOSTIC_UNSPECIFIED
        DIAGNOSTIC_UNSPECIFIED = 58720895;
      • ECHO_FUNCTION_FAILED

        public static final BfdPacket.Diagnostic ECHO_FUNCTION_FAILED
        ECHO_FUNCTION_FAILED = 220687466;
      • FORWARDING_PLANE_RESET

        public static final BfdPacket.Diagnostic FORWARDING_PLANE_RESET
        FORWARDING_PLANE_RESET = 19715882;
      • NEIGHBOR_SIGNALED_SESSION_DOWN

        public static final BfdPacket.Diagnostic NEIGHBOR_SIGNALED_SESSION_DOWN
        NEIGHBOR_SIGNALED_SESSION_DOWN = 374226742;
      • REVERSE_CONCATENATED_PATH_DOWN

        public static final BfdPacket.Diagnostic REVERSE_CONCATENATED_PATH_DOWN
        REVERSE_CONCATENATED_PATH_DOWN = 479337129;
    • Field Detail

      • UNDEFINED_DIAGNOSTIC_VALUE

        public static final int UNDEFINED_DIAGNOSTIC_VALUE
         A value indicating that the enum field is not set.
         
        UNDEFINED_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 BfdPacket.Diagnostic[] 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 (BfdPacket.Diagnostic c : BfdPacket.Diagnostic.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BfdPacket.Diagnostic 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static BfdPacket.Diagnostic 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 name
        NullPointerException - if the argument is null
      • forNumber

        public static BfdPacket.Diagnostic 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<BfdPacket.Diagnostic> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static BfdPacket.Diagnostic 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 name
        NullPointerException - if the argument is null