Package org.yamcs.protobuf
Enum Yamcs.Value.Type
- java.lang.Object
-
- java.lang.Enum<Yamcs.Value.Type>
-
- org.yamcs.protobuf.Yamcs.Value.Type
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Yamcs.Value.Type>
- Enclosing class:
- Yamcs.Value
public static enum Yamcs.Value.Type extends Enum<Yamcs.Value.Type> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumyamcs.protobuf.Value.Type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGGREGATE
AGGREGATE = 10;
ARRAY
ARRAY = 11;
BINARY
BINARY = 4;
BOOLEAN
BOOLEAN = 9;
DOUBLE
DOUBLE = 1;
ENUMERATED
Enumerated values have both an integer (sint64Value) and a string representationFLOAT
FLOAT = 0;
NONE
NONE = 13;
SINT32
SINT32 = 3;
SINT64
SINT64 = 8;
STRING
STRING = 5;
TIMESTAMP
TIMESTAMP = 6;
UINT32
UINT32 = 2;
UINT64
UINT64 = 7;
-
Field Summary
Fields Modifier and Type Field Description static int
AGGREGATE_VALUE
AGGREGATE = 10;
static int
ARRAY_VALUE
ARRAY = 11;
static int
BINARY_VALUE
BINARY = 4;
static int
BOOLEAN_VALUE
BOOLEAN = 9;
static int
DOUBLE_VALUE
DOUBLE = 1;
static int
ENUMERATED_VALUE
Enumerated values have both an integer (sint64Value) and a string representationstatic int
FLOAT_VALUE
FLOAT = 0;
static int
NONE_VALUE
NONE = 13;
static int
SINT32_VALUE
SINT32 = 3;
static int
SINT64_VALUE
SINT64 = 8;
static int
STRING_VALUE
STRING = 5;
static int
TIMESTAMP_VALUE
TIMESTAMP = 6;
static int
UINT32_VALUE
UINT32 = 2;
static int
UINT64_VALUE
UINT64 = 7;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Yamcs.Value.Type
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<Yamcs.Value.Type>
internalGetValueMap()
static Yamcs.Value.Type
valueOf(int value)
Deprecated.static Yamcs.Value.Type
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Yamcs.Value.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static Yamcs.Value.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FLOAT
public static final Yamcs.Value.Type FLOAT
FLOAT = 0;
-
DOUBLE
public static final Yamcs.Value.Type DOUBLE
DOUBLE = 1;
-
UINT32
public static final Yamcs.Value.Type UINT32
UINT32 = 2;
-
SINT32
public static final Yamcs.Value.Type SINT32
SINT32 = 3;
-
BINARY
public static final Yamcs.Value.Type BINARY
BINARY = 4;
-
STRING
public static final Yamcs.Value.Type STRING
STRING = 5;
-
TIMESTAMP
public static final Yamcs.Value.Type TIMESTAMP
TIMESTAMP = 6;
-
UINT64
public static final Yamcs.Value.Type UINT64
UINT64 = 7;
-
SINT64
public static final Yamcs.Value.Type SINT64
SINT64 = 8;
-
BOOLEAN
public static final Yamcs.Value.Type BOOLEAN
BOOLEAN = 9;
-
AGGREGATE
public static final Yamcs.Value.Type AGGREGATE
AGGREGATE = 10;
-
ARRAY
public static final Yamcs.Value.Type ARRAY
ARRAY = 11;
-
ENUMERATED
public static final Yamcs.Value.Type ENUMERATED
Enumerated values have both an integer (sint64Value) and a string representation
ENUMERATED = 12;
-
NONE
public static final Yamcs.Value.Type NONE
NONE = 13;
-
-
Field Detail
-
FLOAT_VALUE
public static final int FLOAT_VALUE
FLOAT = 0;
- See Also:
- Constant Field Values
-
DOUBLE_VALUE
public static final int DOUBLE_VALUE
DOUBLE = 1;
- See Also:
- Constant Field Values
-
UINT32_VALUE
public static final int UINT32_VALUE
UINT32 = 2;
- See Also:
- Constant Field Values
-
SINT32_VALUE
public static final int SINT32_VALUE
SINT32 = 3;
- See Also:
- Constant Field Values
-
BINARY_VALUE
public static final int BINARY_VALUE
BINARY = 4;
- See Also:
- Constant Field Values
-
STRING_VALUE
public static final int STRING_VALUE
STRING = 5;
- See Also:
- Constant Field Values
-
TIMESTAMP_VALUE
public static final int TIMESTAMP_VALUE
TIMESTAMP = 6;
- See Also:
- Constant Field Values
-
UINT64_VALUE
public static final int UINT64_VALUE
UINT64 = 7;
- See Also:
- Constant Field Values
-
SINT64_VALUE
public static final int SINT64_VALUE
SINT64 = 8;
- See Also:
- Constant Field Values
-
BOOLEAN_VALUE
public static final int BOOLEAN_VALUE
BOOLEAN = 9;
- See Also:
- Constant Field Values
-
AGGREGATE_VALUE
public static final int AGGREGATE_VALUE
AGGREGATE = 10;
- See Also:
- Constant Field Values
-
ARRAY_VALUE
public static final int ARRAY_VALUE
ARRAY = 11;
- See Also:
- Constant Field Values
-
ENUMERATED_VALUE
public static final int ENUMERATED_VALUE
Enumerated values have both an integer (sint64Value) and a string representation
ENUMERATED = 12;
- See Also:
- Constant Field Values
-
NONE_VALUE
public static final int NONE_VALUE
NONE = 13;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Yamcs.Value.Type[] 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.Value.Type c : Yamcs.Value.Type.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.Value.Type 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 Yamcs.Value.Type 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 Yamcs.Value.Type forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Yamcs.Value.Type> 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 Yamcs.Value.Type 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
-
-