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 of RFC5880
     
    Protobuf enum google.cloud.compute.v1.BfdStatus.LocalDiagnostic
    • 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 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 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 name
        NullPointerException - 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 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 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 name
        NullPointerException - if the argument is null