Class Pvalue.ParameterValue

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.Pvalue.ParameterValue
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Pvalue.ParameterValueOrBuilder
Enclosing class:
Pvalue

public static final class Pvalue.ParameterValue extends com.google.protobuf.GeneratedMessageV3 implements Pvalue.ParameterValueOrBuilder
Protobuf type yamcs.protobuf.pvalue.ParameterValue
See Also:
  • Field Details

    • ID_FIELD_NUMBER

      public static final int ID_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:
    • NUMERICID_FIELD_NUMBER

      public static final int NUMERICID_FIELD_NUMBER
      See Also:
    • PARSER

      @Deprecated public static final com.google.protobuf.Parser<Pvalue.ParameterValue> PARSER
      Deprecated.
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • hasId

      public boolean hasId()
       Parameter identifier
       
      optional .yamcs.protobuf.NamedObjectId id = 1;
      Specified by:
      hasId in interface Pvalue.ParameterValueOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public Yamcs.NamedObjectId getId()
       Parameter identifier
       
      optional .yamcs.protobuf.NamedObjectId id = 1;
      Specified by:
      getId in interface Pvalue.ParameterValueOrBuilder
      Returns:
      The id.
    • getIdOrBuilder

      public Yamcs.NamedObjectIdOrBuilder getIdOrBuilder()
       Parameter identifier
       
      optional .yamcs.protobuf.NamedObjectId id = 1;
      Specified by:
      getIdOrBuilder in interface Pvalue.ParameterValueOrBuilder
    • hasRawValue

      public boolean hasRawValue()
       Raw value (uncalibrated)
       
      optional .yamcs.protobuf.Value rawValue = 2;
      Specified by:
      hasRawValue in interface Pvalue.ParameterValueOrBuilder
      Returns:
      Whether the rawValue field is set.
    • getRawValue

      public Yamcs.Value getRawValue()
       Raw value (uncalibrated)
       
      optional .yamcs.protobuf.Value rawValue = 2;
      Specified by:
      getRawValue in interface Pvalue.ParameterValueOrBuilder
      Returns:
      The rawValue.
    • getRawValueOrBuilder

      public Yamcs.ValueOrBuilder getRawValueOrBuilder()
       Raw value (uncalibrated)
       
      optional .yamcs.protobuf.Value rawValue = 2;
      Specified by:
      getRawValueOrBuilder in interface Pvalue.ParameterValueOrBuilder
    • hasEngValue

      public boolean hasEngValue()
       Engineering value (calibrated)
       
      optional .yamcs.protobuf.Value engValue = 3;
      Specified by:
      hasEngValue in interface Pvalue.ParameterValueOrBuilder
      Returns:
      Whether the engValue field is set.
    • getEngValue

      public Yamcs.Value getEngValue()
       Engineering value (calibrated)
       
      optional .yamcs.protobuf.Value engValue = 3;
      Specified by:
      getEngValue in interface Pvalue.ParameterValueOrBuilder
      Returns:
      The engValue.
    • getEngValueOrBuilder

      public Yamcs.ValueOrBuilder getEngValueOrBuilder()
       Engineering value (calibrated)
       
      optional .yamcs.protobuf.Value engValue = 3;
      Specified by:
      getEngValueOrBuilder in interface Pvalue.ParameterValueOrBuilder
    • hasAcquisitionTime

      public boolean hasAcquisitionTime()
       Time of Yamcs reception
       
      optional .google.protobuf.Timestamp acquisitionTime = 4;
      Specified by:
      hasAcquisitionTime in interface Pvalue.ParameterValueOrBuilder
      Returns:
      Whether the acquisitionTime field is set.
    • getAcquisitionTime

      public com.google.protobuf.Timestamp getAcquisitionTime()
       Time of Yamcs reception
       
      optional .google.protobuf.Timestamp acquisitionTime = 4;
      Specified by:
      getAcquisitionTime in interface Pvalue.ParameterValueOrBuilder
      Returns:
      The acquisitionTime.
    • getAcquisitionTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getAcquisitionTimeOrBuilder()
       Time of Yamcs reception
       
      optional .google.protobuf.Timestamp acquisitionTime = 4;
      Specified by:
      getAcquisitionTimeOrBuilder in interface Pvalue.ParameterValueOrBuilder
    • hasGenerationTime

      public boolean hasGenerationTime()
       Time of generation (~ packet time)
       
      optional .google.protobuf.Timestamp generationTime = 5;
      Specified by:
      hasGenerationTime in interface Pvalue.ParameterValueOrBuilder
      Returns:
      Whether the generationTime field is set.
    • getGenerationTime

      public com.google.protobuf.Timestamp getGenerationTime()
       Time of generation (~ packet time)
       
      optional .google.protobuf.Timestamp generationTime = 5;
      Specified by:
      getGenerationTime in interface Pvalue.ParameterValueOrBuilder
      Returns:
      The generationTime.
    • getGenerationTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getGenerationTimeOrBuilder()
       Time of generation (~ packet time)
       
      optional .google.protobuf.Timestamp generationTime = 5;
      Specified by:
      getGenerationTimeOrBuilder in interface Pvalue.ParameterValueOrBuilder
    • hasAcquisitionStatus

      public boolean hasAcquisitionStatus()
      optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6;
      Specified by:
      hasAcquisitionStatus in interface Pvalue.ParameterValueOrBuilder
      Returns:
      Whether the acquisitionStatus field is set.
    • getAcquisitionStatus

      public Pvalue.AcquisitionStatus getAcquisitionStatus()
      optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6;
      Specified by:
      getAcquisitionStatus in interface Pvalue.ParameterValueOrBuilder
      Returns:
      The acquisitionStatus.
    • hasProcessingStatus

      @Deprecated public boolean hasProcessingStatus()
      Deprecated.
       Deprecated: this field was originally introduced for compatibility
       with Airbus CGS/CD-MCS system. It was redundant, because when false,
       the acquisitionStatus is also set to INVALID.
       
      optional bool processingStatus = 7 [deprecated = true];
      Specified by:
      hasProcessingStatus in interface Pvalue.ParameterValueOrBuilder
      Returns:
      Whether the processingStatus field is set.
    • getProcessingStatus

      @Deprecated public boolean getProcessingStatus()
      Deprecated.
       Deprecated: this field was originally introduced for compatibility
       with Airbus CGS/CD-MCS system. It was redundant, because when false,
       the acquisitionStatus is also set to INVALID.
       
      optional bool processingStatus = 7 [deprecated = true];
      Specified by:
      getProcessingStatus in interface Pvalue.ParameterValueOrBuilder
      Returns:
      The processingStatus.
    • hasMonitoringResult

      public boolean hasMonitoringResult()
      optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;
      Specified by:
      hasMonitoringResult in interface Pvalue.ParameterValueOrBuilder
      Returns:
      Whether the monitoringResult field is set.
    • getMonitoringResult

      public Pvalue.MonitoringResult getMonitoringResult()
      optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;
      Specified by:
      getMonitoringResult in interface Pvalue.ParameterValueOrBuilder
      Returns:
      The monitoringResult.
    • hasRangeCondition

      public boolean hasRangeCondition()
      optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9;
      Specified by:
      hasRangeCondition in interface Pvalue.ParameterValueOrBuilder
      Returns:
      Whether the rangeCondition field is set.
    • getRangeCondition

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

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

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

      public int getAlarmRangeCount()
       Context-dependent ranges
       
      repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;
      Specified by:
      getAlarmRangeCount in interface Pvalue.ParameterValueOrBuilder
    • getAlarmRange

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

      public Mdb.AlarmRangeOrBuilder getAlarmRangeOrBuilder(int index)
       Context-dependent ranges
       
      repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;
      Specified by:
      getAlarmRangeOrBuilder in interface Pvalue.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 Pvalue.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:
      getExpireMillis in interface Pvalue.ParameterValueOrBuilder
      Returns:
      The expireMillis.
    • hasNumericId

      public boolean hasNumericId()
       When transferring parameters over WebSocket, this value might be used
       instead of the id above in order to reduce the bandwidth.
       Note that the id <-> numericId assignment is only valid in the context
       of a single WebSocket call.
       
      optional uint32 numericId = 27;
      Specified by:
      hasNumericId in interface Pvalue.ParameterValueOrBuilder
      Returns:
      Whether the numericId field is set.
    • getNumericId

      public int getNumericId()
       When transferring parameters over WebSocket, this value might be used
       instead of the id above in order to reduce the bandwidth.
       Note that the id <-> numericId assignment is only valid in the context
       of a single WebSocket call.
       
      optional uint32 numericId = 27;
      Specified by:
      getNumericId in interface Pvalue.ParameterValueOrBuilder
      Returns:
      The numericId.
    • 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 Pvalue.ParameterValue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Pvalue.ParameterValue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Pvalue.ParameterValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Pvalue.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 Pvalue.ParameterValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Pvalue.ParameterValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Pvalue.ParameterValue parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Pvalue.ParameterValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Pvalue.ParameterValue parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Pvalue.ParameterValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Pvalue.ParameterValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Pvalue.ParameterValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static Pvalue.ParameterValue.Builder newBuilder()
    • newBuilder

      public static Pvalue.ParameterValue.Builder newBuilder(Pvalue.ParameterValue prototype)
    • toBuilder

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

      protected Pvalue.ParameterValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Pvalue.ParameterValue getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Pvalue.ParameterValue> parser()
    • getParserForType

      public com.google.protobuf.Parser<Pvalue.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 Pvalue.ParameterValue getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder