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 unchangedProtobuf type
ParameterValue- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classthis 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<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 intstatic final intstatic final intstatic final com.google.protobuf.Parser<Db.ParameterValue>Deprecated.static 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 TypeMethodDescriptionbooleanintthis replaces the acquisitionStatus enum aboveorg.yamcs.protobuf.Pvalue.AcquisitionStatusDeprecated.longoptional int64 acquisitionTime = 4;org.yamcs.protobuf.Mdb.AlarmRangegetAlarmRange(int index) Context-dependent rangesintContext-dependent rangesList<org.yamcs.protobuf.Mdb.AlarmRange>Context-dependent rangesorg.yamcs.protobuf.Mdb.AlarmRangeOrBuildergetAlarmRangeOrBuilder(int index) Context-dependent rangesList<? extends org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder>Context-dependent rangesstatic Db.ParameterValuestatic final com.google.protobuf.Descriptors.Descriptororg.yamcs.protobuf.Yamcs.Valueoptional .yamcs.protobuf.Value engValue = 3;org.yamcs.protobuf.Yamcs.ValueOrBuilderoptional .yamcs.protobuf.Value engValue = 3;longHow 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.longoptional int64 generationTime = 5;org.yamcs.protobuf.Pvalue.MonitoringResultoptional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;getName()optional string name = 1;com.google.protobuf.ByteStringoptional string name = 1;com.google.protobuf.Parser<Db.ParameterValue>booleanoptional bool processingStatus = 7;org.yamcs.protobuf.Pvalue.RangeConditionoptional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9;org.yamcs.protobuf.Yamcs.Valueoptional .yamcs.protobuf.Value rawValue = 2;org.yamcs.protobuf.Yamcs.ValueOrBuilderoptional .yamcs.protobuf.Value rawValue = 2;intfinal com.google.protobuf.UnknownFieldSetbooleanthis replaces the acquisitionStatus enum abovebooleanDeprecated.booleanoptional int64 acquisitionTime = 4;booleanoptional .yamcs.protobuf.Value engValue = 3;booleanHow 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.booleanoptional int64 generationTime = 5;inthashCode()booleanoptional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;booleanhasName()optional string name = 1;booleanoptional bool processingStatus = 7;booleanoptional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9;booleanoptional .yamcs.protobuf.Value rawValue = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Db.ParameterValue.Builderstatic Db.ParameterValue.BuildernewBuilder(Db.ParameterValue prototype) protected Db.ParameterValue.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) 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()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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
RAWVALUE_FIELD_NUMBER
public static final int RAWVALUE_FIELD_NUMBER- See Also:
-
ENGVALUE_FIELD_NUMBER
public static final int ENGVALUE_FIELD_NUMBER- See Also:
-
ACQUISITIONTIME_FIELD_NUMBER
public static final int ACQUISITIONTIME_FIELD_NUMBER- See Also:
-
GENERATIONTIME_FIELD_NUMBER
public static final int GENERATIONTIME_FIELD_NUMBER- See Also:
-
ACQUISITIONSTATUS_FIELD_NUMBER
public static final int ACQUISITIONSTATUS_FIELD_NUMBER- See Also:
-
PROCESSINGSTATUS_FIELD_NUMBER
public static final int PROCESSINGSTATUS_FIELD_NUMBER- See Also:
-
MONITORINGRESULT_FIELD_NUMBER
public static final int MONITORINGRESULT_FIELD_NUMBER- See Also:
-
RANGECONDITION_FIELD_NUMBER
public static final int RANGECONDITION_FIELD_NUMBER- See Also:
-
ALARMRANGE_FIELD_NUMBER
public static final int ALARMRANGE_FIELD_NUMBER- See Also:
-
EXPIREMILLIS_FIELD_NUMBER
public static final int EXPIREMILLIS_FIELD_NUMBER- See Also:
-
ACQSTATUS_FIELD_NUMBER
public static final int ACQSTATUS_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
-
hasName
public boolean hasName()optional string name = 1;- Specified by:
hasNamein interfaceDb.ParameterValueOrBuilder- Returns:
- Whether the name field is set.
-
getName
optional string name = 1;- Specified by:
getNamein interfaceDb.ParameterValueOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 1;- Specified by:
getNameBytesin interfaceDb.ParameterValueOrBuilder- Returns:
- The bytes for name.
-
hasRawValue
public boolean hasRawValue()optional .yamcs.protobuf.Value rawValue = 2;- Specified by:
hasRawValuein interfaceDb.ParameterValueOrBuilder- Returns:
- Whether the rawValue field is set.
-
getRawValue
public org.yamcs.protobuf.Yamcs.Value getRawValue()optional .yamcs.protobuf.Value rawValue = 2;- Specified by:
getRawValuein interfaceDb.ParameterValueOrBuilder- Returns:
- The rawValue.
-
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- Returns:
- Whether the engValue field is set.
-
getEngValue
public org.yamcs.protobuf.Yamcs.Value getEngValue()optional .yamcs.protobuf.Value engValue = 3;- Specified by:
getEngValuein interfaceDb.ParameterValueOrBuilder- Returns:
- The engValue.
-
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- Returns:
- Whether the acquisitionTime field is set.
-
getAcquisitionTime
public long getAcquisitionTime()optional int64 acquisitionTime = 4;- Specified by:
getAcquisitionTimein interfaceDb.ParameterValueOrBuilder- Returns:
- The acquisitionTime.
-
hasGenerationTime
public boolean hasGenerationTime()optional int64 generationTime = 5;- Specified by:
hasGenerationTimein interfaceDb.ParameterValueOrBuilder- Returns:
- Whether the generationTime field is set.
-
getGenerationTime
public long getGenerationTime()optional int64 generationTime = 5;- Specified by:
getGenerationTimein interfaceDb.ParameterValueOrBuilder- Returns:
- The generationTime.
-
hasAcquisitionStatus
Deprecated.optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6 [deprecated = true];- Specified by:
hasAcquisitionStatusin interfaceDb.ParameterValueOrBuilder- Returns:
- Whether the acquisitionStatus field is set.
-
getAcquisitionStatus
Deprecated.optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6 [deprecated = true];- Specified by:
getAcquisitionStatusin interfaceDb.ParameterValueOrBuilder- Returns:
- The acquisitionStatus.
-
hasProcessingStatus
public boolean hasProcessingStatus()optional bool processingStatus = 7;- Specified by:
hasProcessingStatusin interfaceDb.ParameterValueOrBuilder- Returns:
- Whether the processingStatus field is set.
-
getProcessingStatus
public boolean getProcessingStatus()optional bool processingStatus = 7;- Specified by:
getProcessingStatusin interfaceDb.ParameterValueOrBuilder- Returns:
- The processingStatus.
-
hasMonitoringResult
public boolean hasMonitoringResult()optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;- Specified by:
hasMonitoringResultin interfaceDb.ParameterValueOrBuilder- Returns:
- Whether the monitoringResult field is set.
-
getMonitoringResult
public org.yamcs.protobuf.Pvalue.MonitoringResult getMonitoringResult()optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;- Specified by:
getMonitoringResultin interfaceDb.ParameterValueOrBuilder- Returns:
- The monitoringResult.
-
hasRangeCondition
public boolean hasRangeCondition()optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9;- Specified by:
hasRangeConditionin interfaceDb.ParameterValueOrBuilder- Returns:
- Whether the rangeCondition field is set.
-
getRangeCondition
public org.yamcs.protobuf.Pvalue.RangeCondition getRangeCondition()optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9;- Specified by:
getRangeConditionin interfaceDb.ParameterValueOrBuilder- Returns:
- The rangeCondition.
-
getAlarmRangeList
Context-dependent ranges
repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;- Specified by:
getAlarmRangeListin interfaceDb.ParameterValueOrBuilder
-
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- Returns:
- Whether the expireMillis field is set.
-
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- Returns:
- The expireMillis.
-
hasAcqStatus
public boolean hasAcqStatus()this replaces the acquisitionStatus enum above
optional int32 acqStatus = 27;- Specified by:
hasAcqStatusin interfaceDb.ParameterValueOrBuilder- Returns:
- Whether the acqStatus field is set.
-
getAcqStatus
public int getAcqStatus()this replaces the acquisitionStatus enum above
optional int32 acqStatus = 27;- Specified by:
getAcqStatusin interfaceDb.ParameterValueOrBuilder- Returns:
- The acqStatus.
-
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 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
- Throws:
IOException
-
parseFrom
public static Db.ParameterValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- 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 Db.ParameterValue.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
-