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
Modifier and TypeClassDescriptionstatic final class
Union type for storing a valuestatic enum
Protobuf 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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final com.google.protobuf.Parser<Yamcs.Value>
Deprecated.static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
getArrayValue
(int index) repeated .yamcs.protobuf.Value arrayValue = 13;
int
repeated .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.ByteString
optional bytes binaryValue = 6;
boolean
optional bool booleanValue = 11;
static Yamcs.Value
static final com.google.protobuf.Descriptors.Descriptor
double
optional double doubleValue = 3;
float
optional float floatValue = 2;
com.google.protobuf.Parser<Yamcs.Value>
int
int
optional sint32 sint32Value = 4;
long
optional sint64 sint64Value = 10;
optional string stringValue = 7;
com.google.protobuf.ByteString
optional string stringValue = 7;
long
optional int64 timestampValue = 8;
getType()
required .yamcs.protobuf.Value.Type type = 1;
int
optional uint32 uint32Value = 5;
long
optional uint64 uint64Value = 9;
final com.google.protobuf.UnknownFieldSet
boolean
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
boolean
optional bytes binaryValue = 6;
boolean
optional bool booleanValue = 11;
boolean
optional double doubleValue = 3;
boolean
optional float floatValue = 2;
int
hashCode()
boolean
optional sint32 sint32Value = 4;
boolean
optional sint64 sint64Value = 10;
boolean
optional string stringValue = 7;
boolean
optional int64 timestampValue = 8;
boolean
hasType()
required .yamcs.protobuf.Value.Type type = 1;
boolean
optional uint32 uint32Value = 5;
boolean
optional uint64 uint64Value = 9;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
static Yamcs.Value.Builder
static Yamcs.Value.Builder
newBuilder
(Yamcs.Value prototype) protected Yamcs.Value.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Yamcs.Value
parseDelimitedFrom
(InputStream input) static Yamcs.Value
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Yamcs.Value
parseFrom
(byte[] data) static Yamcs.Value
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Yamcs.Value
parseFrom
(com.google.protobuf.ByteString data) static Yamcs.Value
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Yamcs.Value
parseFrom
(com.google.protobuf.CodedInputStream input) static Yamcs.Value
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Yamcs.Value
parseFrom
(InputStream input) static Yamcs.Value
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Yamcs.Value
parseFrom
(ByteBuffer data) static Yamcs.Value
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Yamcs.Value>
parser()
void
writeTo
(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, isStringEmpty, makeExtensionsImmutable, 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, 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
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasType
public boolean hasType()required .yamcs.protobuf.Value.Type type = 1;
- Specified by:
hasType
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the type field is set.
-
getType
required .yamcs.protobuf.Value.Type type = 1;
- Specified by:
getType
in interfaceYamcs.ValueOrBuilder
- Returns:
- The type.
-
hasFloatValue
public boolean hasFloatValue()optional float floatValue = 2;
- Specified by:
hasFloatValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the floatValue field is set.
-
getFloatValue
public float getFloatValue()optional float floatValue = 2;
- Specified by:
getFloatValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- The floatValue.
-
hasDoubleValue
public boolean hasDoubleValue()optional double doubleValue = 3;
- Specified by:
hasDoubleValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()optional double doubleValue = 3;
- Specified by:
getDoubleValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- The doubleValue.
-
hasSint32Value
public boolean hasSint32Value()optional sint32 sint32Value = 4;
- Specified by:
hasSint32Value
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the sint32Value field is set.
-
getSint32Value
public int getSint32Value()optional sint32 sint32Value = 4;
- Specified by:
getSint32Value
in interfaceYamcs.ValueOrBuilder
- Returns:
- The sint32Value.
-
hasUint32Value
public boolean hasUint32Value()optional uint32 uint32Value = 5;
- Specified by:
hasUint32Value
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the uint32Value field is set.
-
getUint32Value
public int getUint32Value()optional uint32 uint32Value = 5;
- Specified by:
getUint32Value
in interfaceYamcs.ValueOrBuilder
- Returns:
- The uint32Value.
-
hasBinaryValue
public boolean hasBinaryValue()optional bytes binaryValue = 6;
- Specified by:
hasBinaryValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the binaryValue field is set.
-
getBinaryValue
public com.google.protobuf.ByteString getBinaryValue()optional bytes binaryValue = 6;
- Specified by:
getBinaryValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- The binaryValue.
-
hasStringValue
public boolean hasStringValue()optional string stringValue = 7;
- Specified by:
hasStringValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the stringValue field is set.
-
getStringValue
optional string stringValue = 7;
- Specified by:
getStringValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()optional string stringValue = 7;
- Specified by:
getStringValueBytes
in interfaceYamcs.ValueOrBuilder
- Returns:
- The bytes for stringValue.
-
hasTimestampValue
public boolean hasTimestampValue()optional int64 timestampValue = 8;
- Specified by:
hasTimestampValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the timestampValue field is set.
-
getTimestampValue
public long getTimestampValue()optional int64 timestampValue = 8;
- Specified by:
getTimestampValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- The timestampValue.
-
hasUint64Value
public boolean hasUint64Value()optional uint64 uint64Value = 9;
- Specified by:
hasUint64Value
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the uint64Value field is set.
-
getUint64Value
public long getUint64Value()optional uint64 uint64Value = 9;
- Specified by:
getUint64Value
in interfaceYamcs.ValueOrBuilder
- Returns:
- The uint64Value.
-
hasSint64Value
public boolean hasSint64Value()optional sint64 sint64Value = 10;
- Specified by:
hasSint64Value
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the sint64Value field is set.
-
getSint64Value
public long getSint64Value()optional sint64 sint64Value = 10;
- Specified by:
getSint64Value
in interfaceYamcs.ValueOrBuilder
- Returns:
- The sint64Value.
-
hasBooleanValue
public boolean hasBooleanValue()optional bool booleanValue = 11;
- Specified by:
hasBooleanValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the booleanValue field is set.
-
getBooleanValue
public boolean getBooleanValue()optional bool booleanValue = 11;
- Specified by:
getBooleanValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- The booleanValue.
-
hasAggregateValue
public boolean hasAggregateValue()optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
- Specified by:
hasAggregateValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the aggregateValue field is set.
-
getAggregateValue
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
- Specified by:
getAggregateValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- The aggregateValue.
-
getAggregateValueOrBuilder
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
- Specified by:
getAggregateValueOrBuilder
in interfaceYamcs.ValueOrBuilder
-
getArrayValueList
repeated .yamcs.protobuf.Value arrayValue = 13;
- Specified by:
getArrayValueList
in interfaceYamcs.ValueOrBuilder
-
getArrayValueOrBuilderList
repeated .yamcs.protobuf.Value arrayValue = 13;
- Specified by:
getArrayValueOrBuilderList
in interfaceYamcs.ValueOrBuilder
-
getArrayValueCount
public int getArrayValueCount()repeated .yamcs.protobuf.Value arrayValue = 13;
- Specified by:
getArrayValueCount
in interfaceYamcs.ValueOrBuilder
-
getArrayValue
repeated .yamcs.protobuf.Value arrayValue = 13;
- Specified by:
getArrayValue
in interfaceYamcs.ValueOrBuilder
-
getArrayValueOrBuilder
repeated .yamcs.protobuf.Value arrayValue = 13;
- Specified by:
getArrayValueOrBuilder
in interfaceYamcs.ValueOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Yamcs.Value.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-