Class Pvalue.ParameterValue

    • Method Detail

      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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
      • newBuilderForType

        public Pvalue.ParameterValue.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • 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
      • 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