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 valueProtobuf type
yamcs.protobuf.Value- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classUnion type for storing a valuestatic enumProtobuf enumyamcs.protobuf.Value.TypeNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<Yamcs.Value>Deprecated.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanoptional .yamcs.protobuf.AggregateValue aggregateValue = 12;optional .yamcs.protobuf.AggregateValue aggregateValue = 12;getArrayValue(int index) repeated .yamcs.protobuf.Value arrayValue = 13;intrepeated .yamcs.protobuf.Value arrayValue = 13;repeated .yamcs.protobuf.Value arrayValue = 13;getArrayValueOrBuilder(int index) repeated .yamcs.protobuf.Value arrayValue = 13;List<? extends Yamcs.ValueOrBuilder>repeated .yamcs.protobuf.Value arrayValue = 13;com.google.protobuf.ByteStringoptional bytes binaryValue = 6;booleanoptional bool booleanValue = 11;static Yamcs.Valuestatic final com.google.protobuf.Descriptors.Descriptordoubleoptional double doubleValue = 3;floatoptional float floatValue = 2;com.google.protobuf.Parser<Yamcs.Value>intintoptional sint32 sint32Value = 4;longoptional sint64 sint64Value = 10;optional string stringValue = 7;com.google.protobuf.ByteStringoptional string stringValue = 7;longoptional int64 timestampValue = 8;getType()required .yamcs.protobuf.Value.Type type = 1;intoptional uint32 uint32Value = 5;longoptional uint64 uint64Value = 9;final com.google.protobuf.UnknownFieldSetbooleanoptional .yamcs.protobuf.AggregateValue aggregateValue = 12;booleanoptional bytes binaryValue = 6;booleanoptional bool booleanValue = 11;booleanoptional double doubleValue = 3;booleanoptional float floatValue = 2;inthashCode()booleanoptional sint32 sint32Value = 4;booleanoptional sint64 sint64Value = 10;booleanoptional string stringValue = 7;booleanoptional int64 timestampValue = 8;booleanhasType()required .yamcs.protobuf.Value.Type type = 1;booleanoptional uint32 uint32Value = 5;booleanoptional uint64 uint64Value = 9;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Yamcs.Value.Builderstatic Yamcs.Value.BuildernewBuilder(Yamcs.Value prototype) protected Yamcs.Value.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
FLOATVALUE_FIELD_NUMBER
public static final int FLOATVALUE_FIELD_NUMBER- See Also:
-
DOUBLEVALUE_FIELD_NUMBER
public static final int DOUBLEVALUE_FIELD_NUMBER- See Also:
-
SINT32VALUE_FIELD_NUMBER
public static final int SINT32VALUE_FIELD_NUMBER- See Also:
-
UINT32VALUE_FIELD_NUMBER
public static final int UINT32VALUE_FIELD_NUMBER- See Also:
-
BINARYVALUE_FIELD_NUMBER
public static final int BINARYVALUE_FIELD_NUMBER- See Also:
-
STRINGVALUE_FIELD_NUMBER
public static final int STRINGVALUE_FIELD_NUMBER- See Also:
-
TIMESTAMPVALUE_FIELD_NUMBER
public static final int TIMESTAMPVALUE_FIELD_NUMBER- See Also:
-
UINT64VALUE_FIELD_NUMBER
public static final int UINT64VALUE_FIELD_NUMBER- See Also:
-
SINT64VALUE_FIELD_NUMBER
public static final int SINT64VALUE_FIELD_NUMBER- See Also:
-
BOOLEANVALUE_FIELD_NUMBER
public static final int BOOLEANVALUE_FIELD_NUMBER- See Also:
-
AGGREGATEVALUE_FIELD_NUMBER
public static final int AGGREGATEVALUE_FIELD_NUMBER- See Also:
-
ARRAYVALUE_FIELD_NUMBER
public static final int ARRAYVALUE_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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- Returns:
- Whether the type field is set.
-
getType
required .yamcs.protobuf.Value.Type type = 1;- Specified by:
getTypein interfaceYamcs.ValueOrBuilder- Returns:
- The type.
-
hasFloatValue
public boolean hasFloatValue()optional float floatValue = 2;- Specified by:
hasFloatValuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the floatValue field is set.
-
getFloatValue
public float getFloatValue()optional float floatValue = 2;- Specified by:
getFloatValuein interfaceYamcs.ValueOrBuilder- Returns:
- The floatValue.
-
hasDoubleValue
public boolean hasDoubleValue()optional double doubleValue = 3;- Specified by:
hasDoubleValuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()optional double doubleValue = 3;- Specified by:
getDoubleValuein interfaceYamcs.ValueOrBuilder- Returns:
- The doubleValue.
-
hasSint32Value
public boolean hasSint32Value()optional sint32 sint32Value = 4;- Specified by:
hasSint32Valuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the sint32Value field is set.
-
getSint32Value
public int getSint32Value()optional sint32 sint32Value = 4;- Specified by:
getSint32Valuein interfaceYamcs.ValueOrBuilder- Returns:
- The sint32Value.
-
hasUint32Value
public boolean hasUint32Value()optional uint32 uint32Value = 5;- Specified by:
hasUint32Valuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the uint32Value field is set.
-
getUint32Value
public int getUint32Value()optional uint32 uint32Value = 5;- Specified by:
getUint32Valuein interfaceYamcs.ValueOrBuilder- Returns:
- The uint32Value.
-
hasBinaryValue
public boolean hasBinaryValue()optional bytes binaryValue = 6;- Specified by:
hasBinaryValuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the binaryValue field is set.
-
getBinaryValue
public com.google.protobuf.ByteString getBinaryValue()optional bytes binaryValue = 6;- Specified by:
getBinaryValuein interfaceYamcs.ValueOrBuilder- Returns:
- The binaryValue.
-
hasStringValue
public boolean hasStringValue()optional string stringValue = 7;- Specified by:
hasStringValuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the stringValue field is set.
-
getStringValue
optional string stringValue = 7;- Specified by:
getStringValuein interfaceYamcs.ValueOrBuilder- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()optional string stringValue = 7;- Specified by:
getStringValueBytesin interfaceYamcs.ValueOrBuilder- Returns:
- The bytes for stringValue.
-
hasTimestampValue
public boolean hasTimestampValue()optional int64 timestampValue = 8;- Specified by:
hasTimestampValuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the timestampValue field is set.
-
getTimestampValue
public long getTimestampValue()optional int64 timestampValue = 8;- Specified by:
getTimestampValuein interfaceYamcs.ValueOrBuilder- Returns:
- The timestampValue.
-
hasUint64Value
public boolean hasUint64Value()optional uint64 uint64Value = 9;- Specified by:
hasUint64Valuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the uint64Value field is set.
-
getUint64Value
public long getUint64Value()optional uint64 uint64Value = 9;- Specified by:
getUint64Valuein interfaceYamcs.ValueOrBuilder- Returns:
- The uint64Value.
-
hasSint64Value
public boolean hasSint64Value()optional sint64 sint64Value = 10;- Specified by:
hasSint64Valuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the sint64Value field is set.
-
getSint64Value
public long getSint64Value()optional sint64 sint64Value = 10;- Specified by:
getSint64Valuein interfaceYamcs.ValueOrBuilder- Returns:
- The sint64Value.
-
hasBooleanValue
public boolean hasBooleanValue()optional bool booleanValue = 11;- Specified by:
hasBooleanValuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the booleanValue field is set.
-
getBooleanValue
public boolean getBooleanValue()optional bool booleanValue = 11;- Specified by:
getBooleanValuein interfaceYamcs.ValueOrBuilder- Returns:
- The booleanValue.
-
hasAggregateValue
public boolean hasAggregateValue()optional .yamcs.protobuf.AggregateValue aggregateValue = 12;- Specified by:
hasAggregateValuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the aggregateValue field is set.
-
getAggregateValue
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;- Specified by:
getAggregateValuein interfaceYamcs.ValueOrBuilder- Returns:
- The aggregateValue.
-
getAggregateValueOrBuilder
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;- Specified by:
getAggregateValueOrBuilderin interfaceYamcs.ValueOrBuilder
-
getArrayValueList
repeated .yamcs.protobuf.Value arrayValue = 13;- Specified by:
getArrayValueListin interfaceYamcs.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
repeated .yamcs.protobuf.Value arrayValue = 13;- Specified by:
getArrayValuein interfaceYamcs.ValueOrBuilder
-
getArrayValueOrBuilder
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
- 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
- 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
- Throws:
IOException
-
parseFrom
public static Yamcs.Value parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Yamcs.Value parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Yamcs.Value parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
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
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-