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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
COMMAND_HISTORY = 6;
static final int
COMMAND = 5;
static final int
CONSTANT = 2;
static final int
DERIVED = 1;
static final int
EXTERNAL1 = 7;
static final int
EXTERNAL2 = 8;
static final int
EXTERNAL3 = 9;
static final int
GROUND = 10;
static final int
LOCAL = 3;
static final int
SYSTEM = 4;
static final int
TELEMETERED = 0;
-
Method Summary
Modifier and TypeMethodDescriptionstatic Mdb.DataSourceType
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<Mdb.DataSourceType>
static Mdb.DataSourceType
valueOf
(int value) Deprecated.static Mdb.DataSourceType
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static Mdb.DataSourceType
Returns 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in 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:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in 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
-