Enum Yamcs.ProtoDataType

java.lang.Object
java.lang.Enum<Yamcs.ProtoDataType>
org.yamcs.protobuf.Yamcs.ProtoDataType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Yamcs.ProtoDataType>, java.lang.constant.Constable
Enclosing class:
Yamcs

public static enum Yamcs.ProtoDataType extends Enum<Yamcs.ProtoDataType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum yamcs.protobuf.ProtoDataType
  • Enum Constant Details

  • Field Details

    • DT_ERROR_VALUE

      public static final int DT_ERROR_VALUE
      error in replay
       
      DT_ERROR = 1;
      See Also:
    • STATE_CHANGE_VALUE

      public static final int STATE_CHANGE_VALUE
      the replay status has changed (e.g. stopped or closed) the body contains a ReplayStatus
       
      STATE_CHANGE = 2;
      See Also:
    • TM_PACKET_VALUE

      public static final int TM_PACKET_VALUE
      TM_PACKET = 3;
      See Also:
    • PP_VALUE

      public static final int PP_VALUE
      PP = 4;
      See Also:
    • EVENT_VALUE

      public static final int EVENT_VALUE
      EVENT = 5;
      See Also:
    • ARCHIVE_INDEX_VALUE

      public static final int ARCHIVE_INDEX_VALUE
      ARCHIVE_INDEX = 6;
      See Also:
    • ARCHIVE_TAG_VALUE

      public static final int ARCHIVE_TAG_VALUE
      ARCHIVE_TAG = 7;
      See Also:
    • PARAMETER_VALUE

      public static final int PARAMETER_VALUE
      PARAMETER = 8;
      See Also:
    • CMD_HISTORY_VALUE

      public static final int CMD_HISTORY_VALUE
      CMD_HISTORY = 9;
      See Also:
  • Method Details

    • values

      public static Yamcs.ProtoDataType[] 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 Yamcs.ProtoDataType 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 Yamcs.ProtoDataType 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 Yamcs.ProtoDataType forNumber(int value)
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<Yamcs.ProtoDataType> 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 Yamcs.ProtoDataType 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