Enum AlarmNotificationType

java.lang.Object
java.lang.Enum<AlarmNotificationType>
org.yamcs.protobuf.AlarmNotificationType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<AlarmNotificationType>

public enum AlarmNotificationType extends Enum<AlarmNotificationType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum yamcs.protobuf.alarms.AlarmNotificationType
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Whenever somebody acknowledged an alarm (it could be that it is still OOL)
    Initial active alarms at the moment of request
    When the alarm was really cleared by the server (acknowledged && not OOL)
    when a latching alarm has been reset
    When the parameter that triggered the alarm has returned to normal (the alarm may still be triggered if it has not been acknowledged)
    Whenever an alarm jumps severity
    when the alarm has been shelved
    Whenever a new alarm triggers
    when the alarm has been unshelved (either by operator request or automatically at timer expiration)
    Whenever a value is updated (even if that value is not a violation by itself)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Whenever somebody acknowledged an alarm (it could be that it is still OOL)
    static final int
    Initial active alarms at the moment of request
    static final int
    When the alarm was really cleared by the server (acknowledged && not OOL)
    static final int
    when a latching alarm has been reset
    static final int
    When the parameter that triggered the alarm has returned to normal (the alarm may still be triggered if it has not been acknowledged)
    static final int
    Whenever an alarm jumps severity
    static final int
    when the alarm has been shelved
    static final int
    Whenever a new alarm triggers
    static final int
    when the alarm has been unshelved (either by operator request or automatically at timer expiration)
    static final int
    Whenever a value is updated (even if that value is not a violation by itself)
  • Method Summary

    Modifier and Type
    Method
    Description
    forNumber(int value)
     
    static final com.google.protobuf.Descriptors.EnumDescriptor
     
    final com.google.protobuf.Descriptors.EnumDescriptor
     
    final int
     
    final com.google.protobuf.Descriptors.EnumValueDescriptor
     
    static com.google.protobuf.Internal.EnumLiteMap<AlarmNotificationType>
     
    valueOf(int value)
    Deprecated.
    valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
    Returns the enum constant of this type with the specified name.
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • ACTIVE

      public static final AlarmNotificationType ACTIVE
       Initial active alarms at the moment of request
       
      ACTIVE = 1;
    • TRIGGERED

      public static final AlarmNotificationType TRIGGERED
       Whenever a new alarm triggers
       
      TRIGGERED = 2;
    • SEVERITY_INCREASED

      public static final AlarmNotificationType SEVERITY_INCREASED
       Whenever an alarm jumps severity
       
      SEVERITY_INCREASED = 3;
    • VALUE_UPDATED

      public static final AlarmNotificationType VALUE_UPDATED
       Whenever a value is updated (even if that value is not a violation by itself)
       
      VALUE_UPDATED = 4;
    • ACKNOWLEDGED

      public static final AlarmNotificationType ACKNOWLEDGED
       Whenever somebody acknowledged an alarm (it could be that it is still OOL)
       
      ACKNOWLEDGED = 5;
    • CLEARED

      public static final AlarmNotificationType CLEARED
       When the alarm was really cleared by the server (acknowledged && not OOL)
       
      CLEARED = 6;
    • RTN

      public static final AlarmNotificationType RTN
       When the parameter that triggered the alarm has returned to normal (the alarm may still be triggered if it has not been acknowledged)
       
      RTN = 7;
    • SHELVED

      public static final AlarmNotificationType SHELVED
      when the alarm has been shelved
       
      SHELVED = 8;
    • UNSHELVED

      public static final AlarmNotificationType UNSHELVED
      when the alarm has been unshelved (either by operator request or automatically at timer expiration)
       
      UNSHELVED = 9;
    • RESET

      public static final AlarmNotificationType RESET
      when a latching alarm has been reset  
       
      RESET = 10;
  • Field Details

    • ACTIVE_VALUE

      public static final int ACTIVE_VALUE
       Initial active alarms at the moment of request
       
      ACTIVE = 1;
      See Also:
    • TRIGGERED_VALUE

      public static final int TRIGGERED_VALUE
       Whenever a new alarm triggers
       
      TRIGGERED = 2;
      See Also:
    • SEVERITY_INCREASED_VALUE

      public static final int SEVERITY_INCREASED_VALUE
       Whenever an alarm jumps severity
       
      SEVERITY_INCREASED = 3;
      See Also:
    • VALUE_UPDATED_VALUE

      public static final int VALUE_UPDATED_VALUE
       Whenever a value is updated (even if that value is not a violation by itself)
       
      VALUE_UPDATED = 4;
      See Also:
    • ACKNOWLEDGED_VALUE

      public static final int ACKNOWLEDGED_VALUE
       Whenever somebody acknowledged an alarm (it could be that it is still OOL)
       
      ACKNOWLEDGED = 5;
      See Also:
    • CLEARED_VALUE

      public static final int CLEARED_VALUE
       When the alarm was really cleared by the server (acknowledged && not OOL)
       
      CLEARED = 6;
      See Also:
    • RTN_VALUE

      public static final int RTN_VALUE
       When the parameter that triggered the alarm has returned to normal (the alarm may still be triggered if it has not been acknowledged)
       
      RTN = 7;
      See Also:
    • SHELVED_VALUE

      public static final int SHELVED_VALUE
      when the alarm has been shelved
       
      SHELVED = 8;
      See Also:
    • UNSHELVED_VALUE

      public static final int UNSHELVED_VALUE
      when the alarm has been unshelved (either by operator request or automatically at timer expiration)
       
      UNSHELVED = 9;
      See Also:
    • RESET_VALUE

      public static final int RESET_VALUE
      when a latching alarm has been reset  
       
      RESET = 10;
      See Also:
  • Method Details

    • values

      public static AlarmNotificationType[] 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

      public static AlarmNotificationType 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 AlarmNotificationType 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 AlarmNotificationType 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<AlarmNotificationType> 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 AlarmNotificationType 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