Package org.yamcs.protobuf
Enum Mdb.DataSourceType
- java.lang.Object
-
- java.lang.Enum<Mdb.DataSourceType>
-
- org.yamcs.protobuf.Mdb.DataSourceType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Mdb.DataSourceType>
- Enclosing class:
- Mdb
public static enum Mdb.DataSourceType extends Enum<Mdb.DataSourceType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumyamcs.protobuf.mdb.DataSourceType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMAND
COMMAND = 5;
COMMAND_HISTORY
COMMAND_HISTORY = 6;
CONSTANT
CONSTANT = 2;
DERIVED
DERIVED = 1;
EXTERNAL1
EXTERNAL1 = 7;
EXTERNAL2
EXTERNAL2 = 8;
EXTERNAL3
EXTERNAL3 = 9;
LOCAL
LOCAL = 3;
SYSTEM
SYSTEM = 4;
TELEMETERED
TELEMETERED = 0;
-
Field Summary
Fields Modifier and Type Field Description static int
COMMAND_HISTORY_VALUE
COMMAND_HISTORY = 6;
static int
COMMAND_VALUE
COMMAND = 5;
static int
CONSTANT_VALUE
CONSTANT = 2;
static int
DERIVED_VALUE
DERIVED = 1;
static int
EXTERNAL1_VALUE
EXTERNAL1 = 7;
static int
EXTERNAL2_VALUE
EXTERNAL2 = 8;
static int
EXTERNAL3_VALUE
EXTERNAL3 = 9;
static int
LOCAL_VALUE
LOCAL = 3;
static int
SYSTEM_VALUE
SYSTEM = 4;
static int
TELEMETERED_VALUE
TELEMETERED = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Mdb.DataSourceType
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<Mdb.DataSourceType>
internalGetValueMap()
static Mdb.DataSourceType
valueOf(int value)
Deprecated.static Mdb.DataSourceType
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Mdb.DataSourceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Mdb.DataSourceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TELEMETERED
public static final Mdb.DataSourceType TELEMETERED
TELEMETERED = 0;
-
DERIVED
public static final Mdb.DataSourceType DERIVED
DERIVED = 1;
-
CONSTANT
public static final Mdb.DataSourceType CONSTANT
CONSTANT = 2;
-
LOCAL
public static final Mdb.DataSourceType LOCAL
LOCAL = 3;
-
SYSTEM
public static final Mdb.DataSourceType SYSTEM
SYSTEM = 4;
-
COMMAND
public static final Mdb.DataSourceType COMMAND
COMMAND = 5;
-
COMMAND_HISTORY
public static final Mdb.DataSourceType COMMAND_HISTORY
COMMAND_HISTORY = 6;
-
EXTERNAL1
public static final Mdb.DataSourceType EXTERNAL1
EXTERNAL1 = 7;
-
EXTERNAL2
public static final Mdb.DataSourceType EXTERNAL2
EXTERNAL2 = 8;
-
EXTERNAL3
public static final Mdb.DataSourceType EXTERNAL3
EXTERNAL3 = 9;
-
-
Field Detail
-
TELEMETERED_VALUE
public static final int TELEMETERED_VALUE
TELEMETERED = 0;
- See Also:
- Constant Field Values
-
DERIVED_VALUE
public static final int DERIVED_VALUE
DERIVED = 1;
- See Also:
- Constant Field Values
-
CONSTANT_VALUE
public static final int CONSTANT_VALUE
CONSTANT = 2;
- See Also:
- Constant Field Values
-
LOCAL_VALUE
public static final int LOCAL_VALUE
LOCAL = 3;
- See Also:
- Constant Field Values
-
SYSTEM_VALUE
public static final int SYSTEM_VALUE
SYSTEM = 4;
- See Also:
- Constant Field Values
-
COMMAND_VALUE
public static final int COMMAND_VALUE
COMMAND = 5;
- See Also:
- Constant Field Values
-
COMMAND_HISTORY_VALUE
public static final int COMMAND_HISTORY_VALUE
COMMAND_HISTORY = 6;
- See Also:
- Constant Field Values
-
EXTERNAL1_VALUE
public static final int EXTERNAL1_VALUE
EXTERNAL1 = 7;
- See Also:
- Constant Field Values
-
EXTERNAL2_VALUE
public static final int EXTERNAL2_VALUE
EXTERNAL2 = 8;
- See Also:
- Constant Field Values
-
EXTERNAL3_VALUE
public static final int EXTERNAL3_VALUE
EXTERNAL3 = 9;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Mdb.DataSourceType[] 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 (Mdb.DataSourceType c : Mdb.DataSourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Mdb.DataSourceType 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 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 public static Mdb.DataSourceType 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 nameNullPointerException
- if the argument is null
-
forNumber
public static Mdb.DataSourceType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Mdb.DataSourceType> 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
public static Mdb.DataSourceType 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 nameNullPointerException
- if the argument is null
-
-