Package org.yamcs.yarch.protobuf
Class Db.ParameterValue
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.yamcs.yarch.protobuf.Db.ParameterValue
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Db.ParameterValueOrBuilder
- Enclosing class:
- Db
public static final class Db.ParameterValue extends com.google.protobuf.GeneratedMessageV3 implements Db.ParameterValueOrBuilder
this message has been copied in Yamcs 5 from pvalue.proto and is used when storing parameter values in tables (ParameterValueColumnSerializer.java). if the name of the parameter is the same with the column name, it is not stored. For compatiblity with Yamcs 4, the protobuf field numbers are kept unchanged
Protobuf typeParameterValue- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDb.ParameterValue.Builderthis message has been copied in Yamcs 5 from pvalue.proto and is used when storing parameter values in tables (ParameterValueColumnSerializer.java).-
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 intACQUISITIONSTATUS_FIELD_NUMBERstatic intACQUISITIONTIME_FIELD_NUMBERstatic intALARMRANGE_FIELD_NUMBERstatic intENGVALUE_FIELD_NUMBERstatic intEXPIREMILLIS_FIELD_NUMBERstatic intGENERATIONTIME_FIELD_NUMBERstatic intMONITORINGRESULT_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic com.google.protobuf.Parser<Db.ParameterValue>PARSERDeprecated.static intPROCESSINGSTATUS_FIELD_NUMBERstatic intRANGECONDITION_FIELD_NUMBERstatic intRAWVALUE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)org.yamcs.protobuf.Pvalue.AcquisitionStatusgetAcquisitionStatus()optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6;longgetAcquisitionTime()optional int64 acquisitionTime = 4;org.yamcs.protobuf.Mdb.AlarmRangegetAlarmRange(int index)Context-dependent rangesintgetAlarmRangeCount()Context-dependent rangesList<org.yamcs.protobuf.Mdb.AlarmRange>getAlarmRangeList()Context-dependent rangesorg.yamcs.protobuf.Mdb.AlarmRangeOrBuildergetAlarmRangeOrBuilder(int index)Context-dependent rangesList<? extends org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder>getAlarmRangeOrBuilderList()Context-dependent rangesstatic Db.ParameterValuegetDefaultInstance()Db.ParameterValuegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()org.yamcs.protobuf.Yamcs.ValuegetEngValue()optional .yamcs.protobuf.Value engValue = 3;org.yamcs.protobuf.Yamcs.ValueOrBuildergetEngValueOrBuilder()optional .yamcs.protobuf.Value engValue = 3;longgetExpireMillis()How long (in milliseconds) this parameter value is valid Note that there is an option when subscribing to parameters to get updated when the parameter values expire.longgetGenerationTime()optional int64 generationTime = 5;org.yamcs.protobuf.Pvalue.MonitoringResultgetMonitoringResult()optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;StringgetName()optional string name = 1;com.google.protobuf.ByteStringgetNameBytes()optional string name = 1;com.google.protobuf.Parser<Db.ParameterValue>getParserForType()booleangetProcessingStatus()optional bool processingStatus = 7;org.yamcs.protobuf.Pvalue.RangeConditiongetRangeCondition()optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9;org.yamcs.protobuf.Yamcs.ValuegetRawValue()optional .yamcs.protobuf.Value rawValue = 2;org.yamcs.protobuf.Yamcs.ValueOrBuildergetRawValueOrBuilder()optional .yamcs.protobuf.Value rawValue = 2;intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAcquisitionStatus()optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6;booleanhasAcquisitionTime()optional int64 acquisitionTime = 4;booleanhasEngValue()optional .yamcs.protobuf.Value engValue = 3;booleanhasExpireMillis()How long (in milliseconds) this parameter value is valid Note that there is an option when subscribing to parameters to get updated when the parameter values expire.booleanhasGenerationTime()optional int64 generationTime = 5;inthashCode()booleanhasMonitoringResult()optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;booleanhasName()optional string name = 1;booleanhasProcessingStatus()optional bool processingStatus = 7;booleanhasRangeCondition()optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9;booleanhasRawValue()optional .yamcs.protobuf.Value rawValue = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Db.ParameterValue.BuildernewBuilder()static Db.ParameterValue.BuildernewBuilder(Db.ParameterValue prototype)Db.ParameterValue.BuildernewBuilderForType()protected Db.ParameterValue.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static Db.ParameterValueparseDelimitedFrom(InputStream input)static Db.ParameterValueparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Db.ParameterValueparseFrom(byte[] data)static Db.ParameterValueparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Db.ParameterValueparseFrom(com.google.protobuf.ByteString data)static Db.ParameterValueparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Db.ParameterValueparseFrom(com.google.protobuf.CodedInputStream input)static Db.ParameterValueparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Db.ParameterValueparseFrom(InputStream input)static Db.ParameterValueparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Db.ParameterValueparseFrom(ByteBuffer data)static Db.ParameterValueparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Db.ParameterValue>parser()Db.ParameterValue.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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RAWVALUE_FIELD_NUMBER
public static final int RAWVALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENGVALUE_FIELD_NUMBER
public static final int ENGVALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACQUISITIONTIME_FIELD_NUMBER
public static final int ACQUISITIONTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GENERATIONTIME_FIELD_NUMBER
public static final int GENERATIONTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACQUISITIONSTATUS_FIELD_NUMBER
public static final int ACQUISITIONSTATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROCESSINGSTATUS_FIELD_NUMBER
public static final int PROCESSINGSTATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MONITORINGRESULT_FIELD_NUMBER
public static final int MONITORINGRESULT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RANGECONDITION_FIELD_NUMBER
public static final int RANGECONDITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALARMRANGE_FIELD_NUMBER
public static final int ALARMRANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPIREMILLIS_FIELD_NUMBER
public static final int EXPIREMILLIS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Db.ParameterValue> 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
-
hasName
public boolean hasName()
optional string name = 1;- Specified by:
hasNamein interfaceDb.ParameterValueOrBuilder
-
getName
public String getName()
optional string name = 1;- Specified by:
getNamein interfaceDb.ParameterValueOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
optional string name = 1;- Specified by:
getNameBytesin interfaceDb.ParameterValueOrBuilder
-
hasRawValue
public boolean hasRawValue()
optional .yamcs.protobuf.Value rawValue = 2;- Specified by:
hasRawValuein interfaceDb.ParameterValueOrBuilder
-
getRawValue
public org.yamcs.protobuf.Yamcs.Value getRawValue()
optional .yamcs.protobuf.Value rawValue = 2;- Specified by:
getRawValuein interfaceDb.ParameterValueOrBuilder
-
getRawValueOrBuilder
public org.yamcs.protobuf.Yamcs.ValueOrBuilder getRawValueOrBuilder()
optional .yamcs.protobuf.Value rawValue = 2;- Specified by:
getRawValueOrBuilderin interfaceDb.ParameterValueOrBuilder
-
hasEngValue
public boolean hasEngValue()
optional .yamcs.protobuf.Value engValue = 3;- Specified by:
hasEngValuein interfaceDb.ParameterValueOrBuilder
-
getEngValue
public org.yamcs.protobuf.Yamcs.Value getEngValue()
optional .yamcs.protobuf.Value engValue = 3;- Specified by:
getEngValuein interfaceDb.ParameterValueOrBuilder
-
getEngValueOrBuilder
public org.yamcs.protobuf.Yamcs.ValueOrBuilder getEngValueOrBuilder()
optional .yamcs.protobuf.Value engValue = 3;- Specified by:
getEngValueOrBuilderin interfaceDb.ParameterValueOrBuilder
-
hasAcquisitionTime
public boolean hasAcquisitionTime()
optional int64 acquisitionTime = 4;- Specified by:
hasAcquisitionTimein interfaceDb.ParameterValueOrBuilder
-
getAcquisitionTime
public long getAcquisitionTime()
optional int64 acquisitionTime = 4;- Specified by:
getAcquisitionTimein interfaceDb.ParameterValueOrBuilder
-
hasGenerationTime
public boolean hasGenerationTime()
optional int64 generationTime = 5;- Specified by:
hasGenerationTimein interfaceDb.ParameterValueOrBuilder
-
getGenerationTime
public long getGenerationTime()
optional int64 generationTime = 5;- Specified by:
getGenerationTimein interfaceDb.ParameterValueOrBuilder
-
hasAcquisitionStatus
public boolean hasAcquisitionStatus()
optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6;- Specified by:
hasAcquisitionStatusin interfaceDb.ParameterValueOrBuilder
-
getAcquisitionStatus
public org.yamcs.protobuf.Pvalue.AcquisitionStatus getAcquisitionStatus()
optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6;- Specified by:
getAcquisitionStatusin interfaceDb.ParameterValueOrBuilder
-
hasProcessingStatus
public boolean hasProcessingStatus()
optional bool processingStatus = 7;- Specified by:
hasProcessingStatusin interfaceDb.ParameterValueOrBuilder
-
getProcessingStatus
public boolean getProcessingStatus()
optional bool processingStatus = 7;- Specified by:
getProcessingStatusin interfaceDb.ParameterValueOrBuilder
-
hasMonitoringResult
public boolean hasMonitoringResult()
optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;- Specified by:
hasMonitoringResultin interfaceDb.ParameterValueOrBuilder
-
getMonitoringResult
public org.yamcs.protobuf.Pvalue.MonitoringResult getMonitoringResult()
optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;- Specified by:
getMonitoringResultin interfaceDb.ParameterValueOrBuilder
-
hasRangeCondition
public boolean hasRangeCondition()
optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9;- Specified by:
hasRangeConditionin interfaceDb.ParameterValueOrBuilder
-
getRangeCondition
public org.yamcs.protobuf.Pvalue.RangeCondition getRangeCondition()
optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9;- Specified by:
getRangeConditionin interfaceDb.ParameterValueOrBuilder
-
getAlarmRangeList
public List<org.yamcs.protobuf.Mdb.AlarmRange> getAlarmRangeList()
Context-dependent ranges
repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;- Specified by:
getAlarmRangeListin interfaceDb.ParameterValueOrBuilder
-
getAlarmRangeOrBuilderList
public List<? extends org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder> getAlarmRangeOrBuilderList()
Context-dependent ranges
repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;- Specified by:
getAlarmRangeOrBuilderListin interfaceDb.ParameterValueOrBuilder
-
getAlarmRangeCount
public int getAlarmRangeCount()
Context-dependent ranges
repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;- Specified by:
getAlarmRangeCountin interfaceDb.ParameterValueOrBuilder
-
getAlarmRange
public org.yamcs.protobuf.Mdb.AlarmRange getAlarmRange(int index)
Context-dependent ranges
repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;- Specified by:
getAlarmRangein interfaceDb.ParameterValueOrBuilder
-
getAlarmRangeOrBuilder
public org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder getAlarmRangeOrBuilder(int index)
Context-dependent ranges
repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;- Specified by:
getAlarmRangeOrBuilderin interfaceDb.ParameterValueOrBuilder
-
hasExpireMillis
public boolean hasExpireMillis()
How long (in milliseconds) this parameter value is valid Note that there is an option when subscribing to parameters to get updated when the parameter values expire.
optional int64 expireMillis = 26;- Specified by:
hasExpireMillisin interfaceDb.ParameterValueOrBuilder
-
getExpireMillis
public long getExpireMillis()
How long (in milliseconds) this parameter value is valid Note that there is an option when subscribing to parameters to get updated when the parameter values expire.
optional int64 expireMillis = 26;- Specified by:
getExpireMillisin interfaceDb.ParameterValueOrBuilder
-
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 Db.ParameterValue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Db.ParameterValue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Db.ParameterValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Db.ParameterValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Db.ParameterValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Db.ParameterValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Db.ParameterValue parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Db.ParameterValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Db.ParameterValue parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Db.ParameterValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Db.ParameterValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Db.ParameterValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Db.ParameterValue.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Db.ParameterValue.Builder newBuilder()
-
newBuilder
public static Db.ParameterValue.Builder newBuilder(Db.ParameterValue prototype)
-
toBuilder
public Db.ParameterValue.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Db.ParameterValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Db.ParameterValue getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Db.ParameterValue> parser()
-
getParserForType
public com.google.protobuf.Parser<Db.ParameterValue> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Db.ParameterValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-