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 AGGREGATEAGGREGATE = 10;ARRAYARRAY = 11;BINARYBINARY = 4;BOOLEANBOOLEAN = 9;DOUBLEDOUBLE = 1;ENUMERATEDEnumerated values have both an integer (sint64Value) and a string representationFLOATFLOAT = 0;NONENONE = 13;SINT32SINT32 = 3;SINT64SINT64 = 8;STRINGSTRING = 5;TIMESTAMPTIMESTAMP = 6;UINT32UINT32 = 2;UINT64UINT64 = 7;
-
Field Summary
Fields Modifier and Type Field Description static intAGGREGATE_VALUEAGGREGATE = 10;static intARRAY_VALUEARRAY = 11;static intBINARY_VALUEBINARY = 4;static intBOOLEAN_VALUEBOOLEAN = 9;static intDOUBLE_VALUEDOUBLE = 1;static intENUMERATED_VALUEEnumerated values have both an integer (sint64Value) and a string representationstatic intFLOAT_VALUEFLOAT = 0;static intNONE_VALUENONE = 13;static intSINT32_VALUESINT32 = 3;static intSINT64_VALUESINT64 = 8;static intSTRING_VALUESTRING = 5;static intTIMESTAMP_VALUETIMESTAMP = 6;static intUINT32_VALUEUINT32 = 2;static intUINT64_VALUEUINT64 = 7;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Yamcs.Value.TypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Yamcs.Value.Type>internalGetValueMap()static Yamcs.Value.TypevalueOf(int value)Deprecated.static Yamcs.Value.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Yamcs.Value.TypevalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
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
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
-
-