Class 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 type ParameterValue
    See Also:
    Serialized Form
    • Method Detail

      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.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 class com.google.protobuf.GeneratedMessageV3
      • getAcquisitionStatus

        public org.yamcs.protobuf.Pvalue.AcquisitionStatus getAcquisitionStatus()
        optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6;
        Specified by:
        getAcquisitionStatus in interface Db.ParameterValueOrBuilder
      • getMonitoringResult

        public org.yamcs.protobuf.Pvalue.MonitoringResult getMonitoringResult()
        optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;
        Specified by:
        getMonitoringResult in interface Db.ParameterValueOrBuilder
      • getRangeCondition

        public org.yamcs.protobuf.Pvalue.RangeCondition getRangeCondition()
        optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9;
        Specified by:
        getRangeCondition in interface Db.ParameterValueOrBuilder
      • getAlarmRangeList

        public List<org.yamcs.protobuf.Mdb.AlarmRange> getAlarmRangeList()
         Context-dependent ranges
         
        repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;
        Specified by:
        getAlarmRangeList in interface Db.ParameterValueOrBuilder
      • getAlarmRangeOrBuilderList

        public List<? extends org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder> getAlarmRangeOrBuilderList()
         Context-dependent ranges
         
        repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;
        Specified by:
        getAlarmRangeOrBuilderList in interface Db.ParameterValueOrBuilder
      • getAlarmRange

        public org.yamcs.protobuf.Mdb.AlarmRange getAlarmRange​(int index)
         Context-dependent ranges
         
        repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;
        Specified by:
        getAlarmRange in interface Db.ParameterValueOrBuilder
      • getAlarmRangeOrBuilder

        public org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder getAlarmRangeOrBuilder​(int index)
         Context-dependent ranges
         
        repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;
        Specified by:
        getAlarmRangeOrBuilder in interface Db.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:
        hasExpireMillis in interface Db.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:
        getExpireMillis in interface Db.ParameterValueOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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​(com.google.protobuf.CodedInputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws IOException
        Throws:
        IOException
      • newBuilderForType

        public Db.ParameterValue.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Db.ParameterValue.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Db.ParameterValue.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Db.ParameterValue> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Db.ParameterValue getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder