Package org.yamcs.protobuf
Class Yamcs.Value
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.yamcs.protobuf.Yamcs.Value
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Yamcs.ValueOrBuilder
- Enclosing class:
- Yamcs
public static final class Yamcs.Value extends com.google.protobuf.GeneratedMessageV3 implements Yamcs.ValueOrBuilder
Union type for storing a value
Protobuf typeyamcs.protobuf.Value- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classYamcs.Value.BuilderUnion type for storing a valuestatic classYamcs.Value.TypeProtobuf enumyamcs.protobuf.Value.Type-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-
-
Field Summary
Fields Modifier and Type Field Description static intAGGREGATEVALUE_FIELD_NUMBERstatic intARRAYVALUE_FIELD_NUMBERstatic intBINARYVALUE_FIELD_NUMBERstatic intBOOLEANVALUE_FIELD_NUMBERstatic intDOUBLEVALUE_FIELD_NUMBERstatic intFLOATVALUE_FIELD_NUMBERstatic com.google.protobuf.Parser<Yamcs.Value>PARSERDeprecated.static intSINT32VALUE_FIELD_NUMBERstatic intSINT64VALUE_FIELD_NUMBERstatic intSTRINGVALUE_FIELD_NUMBERstatic intTIMESTAMPVALUE_FIELD_NUMBERstatic intTYPE_FIELD_NUMBERstatic intUINT32VALUE_FIELD_NUMBERstatic intUINT64VALUE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Yamcs.AggregateValuegetAggregateValue()optional .yamcs.protobuf.AggregateValue aggregateValue = 12;Yamcs.AggregateValueOrBuildergetAggregateValueOrBuilder()optional .yamcs.protobuf.AggregateValue aggregateValue = 12;Yamcs.ValuegetArrayValue(int index)repeated .yamcs.protobuf.Value arrayValue = 13;intgetArrayValueCount()repeated .yamcs.protobuf.Value arrayValue = 13;List<Yamcs.Value>getArrayValueList()repeated .yamcs.protobuf.Value arrayValue = 13;Yamcs.ValueOrBuildergetArrayValueOrBuilder(int index)repeated .yamcs.protobuf.Value arrayValue = 13;List<? extends Yamcs.ValueOrBuilder>getArrayValueOrBuilderList()repeated .yamcs.protobuf.Value arrayValue = 13;com.google.protobuf.ByteStringgetBinaryValue()optional bytes binaryValue = 6;booleangetBooleanValue()optional bool booleanValue = 11;static Yamcs.ValuegetDefaultInstance()Yamcs.ValuegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()doublegetDoubleValue()optional double doubleValue = 3;floatgetFloatValue()optional float floatValue = 2;com.google.protobuf.Parser<Yamcs.Value>getParserForType()intgetSerializedSize()intgetSint32Value()optional sint32 sint32Value = 4;longgetSint64Value()optional sint64 sint64Value = 10;StringgetStringValue()optional string stringValue = 7;com.google.protobuf.ByteStringgetStringValueBytes()optional string stringValue = 7;longgetTimestampValue()optional int64 timestampValue = 8;Yamcs.Value.TypegetType()required .yamcs.protobuf.Value.Type type = 1;intgetUint32Value()optional uint32 uint32Value = 5;longgetUint64Value()optional uint64 uint64Value = 9;com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAggregateValue()optional .yamcs.protobuf.AggregateValue aggregateValue = 12;booleanhasBinaryValue()optional bytes binaryValue = 6;booleanhasBooleanValue()optional bool booleanValue = 11;booleanhasDoubleValue()optional double doubleValue = 3;booleanhasFloatValue()optional float floatValue = 2;inthashCode()booleanhasSint32Value()optional sint32 sint32Value = 4;booleanhasSint64Value()optional sint64 sint64Value = 10;booleanhasStringValue()optional string stringValue = 7;booleanhasTimestampValue()optional int64 timestampValue = 8;booleanhasType()required .yamcs.protobuf.Value.Type type = 1;booleanhasUint32Value()optional uint32 uint32Value = 5;booleanhasUint64Value()optional uint64 uint64Value = 9;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Yamcs.Value.BuildernewBuilder()static Yamcs.Value.BuildernewBuilder(Yamcs.Value prototype)Yamcs.Value.BuildernewBuilderForType()protected Yamcs.Value.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static Yamcs.ValueparseDelimitedFrom(InputStream input)static Yamcs.ValueparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Yamcs.ValueparseFrom(byte[] data)static Yamcs.ValueparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Yamcs.ValueparseFrom(com.google.protobuf.ByteString data)static Yamcs.ValueparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Yamcs.ValueparseFrom(com.google.protobuf.CodedInputStream input)static Yamcs.ValueparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Yamcs.ValueparseFrom(InputStream input)static Yamcs.ValueparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Yamcs.ValueparseFrom(ByteBuffer data)static Yamcs.ValueparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Yamcs.Value>parser()Yamcs.Value.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FLOATVALUE_FIELD_NUMBER
public static final int FLOATVALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DOUBLEVALUE_FIELD_NUMBER
public static final int DOUBLEVALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SINT32VALUE_FIELD_NUMBER
public static final int SINT32VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UINT32VALUE_FIELD_NUMBER
public static final int UINT32VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BINARYVALUE_FIELD_NUMBER
public static final int BINARYVALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRINGVALUE_FIELD_NUMBER
public static final int STRINGVALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMESTAMPVALUE_FIELD_NUMBER
public static final int TIMESTAMPVALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UINT64VALUE_FIELD_NUMBER
public static final int UINT64VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SINT64VALUE_FIELD_NUMBER
public static final int SINT64VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BOOLEANVALUE_FIELD_NUMBER
public static final int BOOLEANVALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AGGREGATEVALUE_FIELD_NUMBER
public static final int AGGREGATEVALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARRAYVALUE_FIELD_NUMBER
public static final int ARRAYVALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Yamcs.Value> PARSER
Deprecated.
-
-
Method Detail
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasType
public boolean hasType()
required .yamcs.protobuf.Value.Type type = 1;- Specified by:
hasTypein interfaceYamcs.ValueOrBuilder
-
getType
public Yamcs.Value.Type getType()
required .yamcs.protobuf.Value.Type type = 1;- Specified by:
getTypein interfaceYamcs.ValueOrBuilder
-
hasFloatValue
public boolean hasFloatValue()
optional float floatValue = 2;- Specified by:
hasFloatValuein interfaceYamcs.ValueOrBuilder
-
getFloatValue
public float getFloatValue()
optional float floatValue = 2;- Specified by:
getFloatValuein interfaceYamcs.ValueOrBuilder
-
hasDoubleValue
public boolean hasDoubleValue()
optional double doubleValue = 3;- Specified by:
hasDoubleValuein interfaceYamcs.ValueOrBuilder
-
getDoubleValue
public double getDoubleValue()
optional double doubleValue = 3;- Specified by:
getDoubleValuein interfaceYamcs.ValueOrBuilder
-
hasSint32Value
public boolean hasSint32Value()
optional sint32 sint32Value = 4;- Specified by:
hasSint32Valuein interfaceYamcs.ValueOrBuilder
-
getSint32Value
public int getSint32Value()
optional sint32 sint32Value = 4;- Specified by:
getSint32Valuein interfaceYamcs.ValueOrBuilder
-
hasUint32Value
public boolean hasUint32Value()
optional uint32 uint32Value = 5;- Specified by:
hasUint32Valuein interfaceYamcs.ValueOrBuilder
-
getUint32Value
public int getUint32Value()
optional uint32 uint32Value = 5;- Specified by:
getUint32Valuein interfaceYamcs.ValueOrBuilder
-
hasBinaryValue
public boolean hasBinaryValue()
optional bytes binaryValue = 6;- Specified by:
hasBinaryValuein interfaceYamcs.ValueOrBuilder
-
getBinaryValue
public com.google.protobuf.ByteString getBinaryValue()
optional bytes binaryValue = 6;- Specified by:
getBinaryValuein interfaceYamcs.ValueOrBuilder
-
hasStringValue
public boolean hasStringValue()
optional string stringValue = 7;- Specified by:
hasStringValuein interfaceYamcs.ValueOrBuilder
-
getStringValue
public String getStringValue()
optional string stringValue = 7;- Specified by:
getStringValuein interfaceYamcs.ValueOrBuilder
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()
optional string stringValue = 7;- Specified by:
getStringValueBytesin interfaceYamcs.ValueOrBuilder
-
hasTimestampValue
public boolean hasTimestampValue()
optional int64 timestampValue = 8;- Specified by:
hasTimestampValuein interfaceYamcs.ValueOrBuilder
-
getTimestampValue
public long getTimestampValue()
optional int64 timestampValue = 8;- Specified by:
getTimestampValuein interfaceYamcs.ValueOrBuilder
-
hasUint64Value
public boolean hasUint64Value()
optional uint64 uint64Value = 9;- Specified by:
hasUint64Valuein interfaceYamcs.ValueOrBuilder
-
getUint64Value
public long getUint64Value()
optional uint64 uint64Value = 9;- Specified by:
getUint64Valuein interfaceYamcs.ValueOrBuilder
-
hasSint64Value
public boolean hasSint64Value()
optional sint64 sint64Value = 10;- Specified by:
hasSint64Valuein interfaceYamcs.ValueOrBuilder
-
getSint64Value
public long getSint64Value()
optional sint64 sint64Value = 10;- Specified by:
getSint64Valuein interfaceYamcs.ValueOrBuilder
-
hasBooleanValue
public boolean hasBooleanValue()
optional bool booleanValue = 11;- Specified by:
hasBooleanValuein interfaceYamcs.ValueOrBuilder
-
getBooleanValue
public boolean getBooleanValue()
optional bool booleanValue = 11;- Specified by:
getBooleanValuein interfaceYamcs.ValueOrBuilder
-
hasAggregateValue
public boolean hasAggregateValue()
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;- Specified by:
hasAggregateValuein interfaceYamcs.ValueOrBuilder
-
getAggregateValue
public Yamcs.AggregateValue getAggregateValue()
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;- Specified by:
getAggregateValuein interfaceYamcs.ValueOrBuilder
-
getAggregateValueOrBuilder
public Yamcs.AggregateValueOrBuilder getAggregateValueOrBuilder()
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;- Specified by:
getAggregateValueOrBuilderin interfaceYamcs.ValueOrBuilder
-
getArrayValueList
public List<Yamcs.Value> getArrayValueList()
repeated .yamcs.protobuf.Value arrayValue = 13;- Specified by:
getArrayValueListin interfaceYamcs.ValueOrBuilder
-
getArrayValueOrBuilderList
public List<? extends Yamcs.ValueOrBuilder> getArrayValueOrBuilderList()
repeated .yamcs.protobuf.Value arrayValue = 13;- Specified by:
getArrayValueOrBuilderListin interfaceYamcs.ValueOrBuilder
-
getArrayValueCount
public int getArrayValueCount()
repeated .yamcs.protobuf.Value arrayValue = 13;- Specified by:
getArrayValueCountin interfaceYamcs.ValueOrBuilder
-
getArrayValue
public Yamcs.Value getArrayValue(int index)
repeated .yamcs.protobuf.Value arrayValue = 13;- Specified by:
getArrayValuein interfaceYamcs.ValueOrBuilder
-
getArrayValueOrBuilder
public Yamcs.ValueOrBuilder getArrayValueOrBuilder(int index)
repeated .yamcs.protobuf.Value arrayValue = 13;- Specified by:
getArrayValueOrBuilderin interfaceYamcs.ValueOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Yamcs.Value parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Yamcs.Value parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Yamcs.Value parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Yamcs.Value parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Yamcs.Value parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Yamcs.Value parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Yamcs.Value parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Yamcs.Value parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Yamcs.Value parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Yamcs.Value parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Yamcs.Value parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Yamcs.Value parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Yamcs.Value.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Yamcs.Value.Builder newBuilder()
-
newBuilder
public static Yamcs.Value.Builder newBuilder(Yamcs.Value prototype)
-
toBuilder
public Yamcs.Value.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Yamcs.Value.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Yamcs.Value getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Yamcs.Value> parser()
-
getParserForType
public com.google.protobuf.Parser<Yamcs.Value> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Yamcs.Value getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-