Package org.yamcs.protobuf
Enum Class Mdb.DataSourceType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Mdb.DataSourceType>,Constable
- Enclosing class:
- Mdb
public static enum Mdb.DataSourceType
extends Enum<Mdb.DataSourceType>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
yamcs.protobuf.mdb.DataSourceType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCOMMAND_HISTORY = 6;static final intCOMMAND = 5;static final intCONSTANT = 2;static final intDERIVED = 1;static final intEXTERNAL1 = 7;static final intEXTERNAL2 = 8;static final intEXTERNAL3 = 9;static final intGROUND = 10;static final intLOCAL = 3;static final intSYSTEM = 4;static final intTELEMETERED = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic Mdb.DataSourceTypeforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Mdb.DataSourceType>static Mdb.DataSourceTypevalueOf(int value) Deprecated.static Mdb.DataSourceTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static Mdb.DataSourceTypeReturns the enum constant of this class with the specified name.static Mdb.DataSourceType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TELEMETERED
TELEMETERED = 0; -
DERIVED
DERIVED = 1; -
CONSTANT
CONSTANT = 2; -
LOCAL
LOCAL = 3; -
SYSTEM
SYSTEM = 4; -
COMMAND
COMMAND = 5; -
COMMAND_HISTORY
COMMAND_HISTORY = 6; -
EXTERNAL1
EXTERNAL1 = 7; -
EXTERNAL2
EXTERNAL2 = 8; -
EXTERNAL3
EXTERNAL3 = 9; -
GROUND
GROUND = 10;
-
-
Field Details
-
TELEMETERED_VALUE
public static final int TELEMETERED_VALUETELEMETERED = 0;- See Also:
-
DERIVED_VALUE
public static final int DERIVED_VALUEDERIVED = 1;- See Also:
-
CONSTANT_VALUE
public static final int CONSTANT_VALUECONSTANT = 2;- See Also:
-
LOCAL_VALUE
public static final int LOCAL_VALUELOCAL = 3;- See Also:
-
SYSTEM_VALUE
public static final int SYSTEM_VALUESYSTEM = 4;- See Also:
-
COMMAND_VALUE
public static final int COMMAND_VALUECOMMAND = 5;- See Also:
-
COMMAND_HISTORY_VALUE
public static final int COMMAND_HISTORY_VALUECOMMAND_HISTORY = 6;- See Also:
-
EXTERNAL1_VALUE
public static final int EXTERNAL1_VALUEEXTERNAL1 = 7;- See Also:
-
EXTERNAL2_VALUE
public static final int EXTERNAL2_VALUEEXTERNAL2 = 8;- See Also:
-
EXTERNAL3_VALUE
public static final int EXTERNAL3_VALUEEXTERNAL3 = 9;- See Also:
-
GROUND_VALUE
public static final int GROUND_VALUEGROUND = 10;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-