Enum Yamcs.ProtoDataType

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

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

      • DT_ERROR_VALUE

        public static final int DT_ERROR_VALUE
        error in replay
         
        DT_ERROR = 1;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • TM_PACKET_VALUE

        public static final int TM_PACKET_VALUE
        TM_PACKET = 3;
        See Also:
        Constant Field Values
      • ARCHIVE_INDEX_VALUE

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

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

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

        public static final int CMD_HISTORY_VALUE
        CMD_HISTORY = 9;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static Yamcs.ProtoDataType[] 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 (Yamcs.ProtoDataType c : Yamcs.ProtoDataType.values())
            System.out.println(c);
        
        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
      • 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