Package org.yamcs.protobuf
Enum Class Yamcs.Value.Type
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Yamcs.Value.Type>,Constable
- Enclosing class:
- Yamcs.Value
public static enum Yamcs.Value.Type
extends Enum<Yamcs.Value.Type>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
yamcs.protobuf.Value.Type-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAGGREGATE = 10;ARRAY = 11;BINARY = 4;BOOLEAN = 9;DOUBLE = 1;Enumerated values have both an integer (sint64Value) and a string representationFLOAT = 0;NONE = 13;SINT32 = 3;SINT64 = 8;STRING = 5;TIMESTAMP = 6;UINT32 = 2;UINT64 = 7; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAGGREGATE = 10;static final intARRAY = 11;static final intBINARY = 4;static final intBOOLEAN = 9;static final intDOUBLE = 1;static final intEnumerated values have both an integer (sint64Value) and a string representationstatic final intFLOAT = 0;static final intNONE = 13;static final intSINT32 = 3;static final intSINT64 = 8;static final intSTRING = 5;static final intTIMESTAMP = 6;static final intUINT32 = 2;static final intUINT64 = 7; -
Method Summary
Modifier and TypeMethodDescriptionstatic Yamcs.Value.TypeforNumber(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<Yamcs.Value.Type>static Yamcs.Value.TypevalueOf(int value) Deprecated.static Yamcs.Value.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static Yamcs.Value.TypeReturns the enum constant of this class with the specified name.static Yamcs.Value.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FLOAT
FLOAT = 0; -
DOUBLE
DOUBLE = 1; -
UINT32
UINT32 = 2; -
SINT32
SINT32 = 3; -
BINARY
BINARY = 4; -
STRING
STRING = 5; -
TIMESTAMP
TIMESTAMP = 6; -
UINT64
UINT64 = 7; -
SINT64
SINT64 = 8; -
BOOLEAN
BOOLEAN = 9; -
AGGREGATE
AGGREGATE = 10; -
ARRAY
ARRAY = 11; -
ENUMERATED
Enumerated values have both an integer (sint64Value) and a string representation
ENUMERATED = 12; -
NONE
NONE = 13;
-
-
Field Details
-
FLOAT_VALUE
public static final int FLOAT_VALUEFLOAT = 0;- See Also:
-
DOUBLE_VALUE
public static final int DOUBLE_VALUEDOUBLE = 1;- See Also:
-
UINT32_VALUE
public static final int UINT32_VALUEUINT32 = 2;- See Also:
-
SINT32_VALUE
public static final int SINT32_VALUESINT32 = 3;- See Also:
-
BINARY_VALUE
public static final int BINARY_VALUEBINARY = 4;- See Also:
-
STRING_VALUE
public static final int STRING_VALUESTRING = 5;- See Also:
-
TIMESTAMP_VALUE
public static final int TIMESTAMP_VALUETIMESTAMP = 6;- See Also:
-
UINT64_VALUE
public static final int UINT64_VALUEUINT64 = 7;- See Also:
-
SINT64_VALUE
public static final int SINT64_VALUESINT64 = 8;- See Also:
-
BOOLEAN_VALUE
public static final int BOOLEAN_VALUEBOOLEAN = 9;- See Also:
-
AGGREGATE_VALUE
public static final int AGGREGATE_VALUEAGGREGATE = 10;- See Also:
-
ARRAY_VALUE
public static final int ARRAY_VALUEARRAY = 11;- See Also:
-
ENUMERATED_VALUE
public static final int ENUMERATED_VALUEEnumerated values have both an integer (sint64Value) and a string representation
ENUMERATED = 12;- See Also:
-
NONE_VALUE
public static final int NONE_VALUENONE = 13;- 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
-