Class Pvalue.ParameterValue.Builder

    • Method Detail

      • 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.Builder<Pvalue.ParameterValue.Builder>
      • clear

        public Pvalue.ParameterValue.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Pvalue.ParameterValue.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Pvalue.ParameterValue.Builder>
      • getDefaultInstanceForType

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

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

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

        public Pvalue.ParameterValue.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Pvalue.ParameterValue.Builder>
      • clearField

        public Pvalue.ParameterValue.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Pvalue.ParameterValue.Builder>
      • clearOneof

        public Pvalue.ParameterValue.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Pvalue.ParameterValue.Builder>
      • setRepeatedField

        public Pvalue.ParameterValue.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Pvalue.ParameterValue.Builder>
      • addRepeatedField

        public Pvalue.ParameterValue.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Pvalue.ParameterValue.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Pvalue.ParameterValue.Builder>
      • mergeFrom

        public Pvalue.ParameterValue.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Pvalue.ParameterValue.Builder>
        Throws:
        IOException
      • 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.
      • getRawValueBuilder

        public Yamcs.Value.Builder getRawValueBuilder()
         Raw value (uncalibrated)
         
        optional .yamcs.protobuf.Value rawValue = 2;
      • 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.
      • clearEngValue

        public Pvalue.ParameterValue.Builder clearEngValue()
         Engineering value (calibrated)
         
        optional .yamcs.protobuf.Value engValue = 3;
      • getEngValueBuilder

        public Yamcs.Value.Builder getEngValueBuilder()
         Engineering value (calibrated)
         
        optional .yamcs.protobuf.Value engValue = 3;
      • 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.
      • setAcquisitionTime

        public Pvalue.ParameterValue.Builder setAcquisitionTime​(com.google.protobuf.Timestamp value)
         Time of Yamcs reception
         
        optional .google.protobuf.Timestamp acquisitionTime = 4;
      • setAcquisitionTime

        public Pvalue.ParameterValue.Builder setAcquisitionTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Time of Yamcs reception
         
        optional .google.protobuf.Timestamp acquisitionTime = 4;
      • mergeAcquisitionTime

        public Pvalue.ParameterValue.Builder mergeAcquisitionTime​(com.google.protobuf.Timestamp value)
         Time of Yamcs reception
         
        optional .google.protobuf.Timestamp acquisitionTime = 4;
      • clearAcquisitionTime

        public Pvalue.ParameterValue.Builder clearAcquisitionTime()
         Time of Yamcs reception
         
        optional .google.protobuf.Timestamp acquisitionTime = 4;
      • getAcquisitionTimeBuilder

        public com.google.protobuf.Timestamp.Builder getAcquisitionTimeBuilder()
         Time of Yamcs reception
         
        optional .google.protobuf.Timestamp acquisitionTime = 4;
      • 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.
      • setGenerationTime

        public Pvalue.ParameterValue.Builder setGenerationTime​(com.google.protobuf.Timestamp value)
         Time of generation (~ packet time)
         
        optional .google.protobuf.Timestamp generationTime = 5;
      • setGenerationTime

        public Pvalue.ParameterValue.Builder setGenerationTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Time of generation (~ packet time)
         
        optional .google.protobuf.Timestamp generationTime = 5;
      • mergeGenerationTime

        public Pvalue.ParameterValue.Builder mergeGenerationTime​(com.google.protobuf.Timestamp value)
         Time of generation (~ packet time)
         
        optional .google.protobuf.Timestamp generationTime = 5;
      • clearGenerationTime

        public Pvalue.ParameterValue.Builder clearGenerationTime()
         Time of generation (~ packet time)
         
        optional .google.protobuf.Timestamp generationTime = 5;
      • getGenerationTimeBuilder

        public com.google.protobuf.Timestamp.Builder getGenerationTimeBuilder()
         Time of generation (~ packet time)
         
        optional .google.protobuf.Timestamp generationTime = 5;
      • 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.
      • setAcquisitionStatus

        public Pvalue.ParameterValue.Builder setAcquisitionStatus​(Pvalue.AcquisitionStatus value)
        optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6;
        Parameters:
        value - The acquisitionStatus to set.
        Returns:
        This builder for chaining.
      • clearAcquisitionStatus

        public Pvalue.ParameterValue.Builder clearAcquisitionStatus()
        optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6;
        Returns:
        This builder for chaining.
      • 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.
      • setProcessingStatus

        @Deprecated
        public Pvalue.ParameterValue.Builder setProcessingStatus​(boolean value)
        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];
        Parameters:
        value - The processingStatus to set.
        Returns:
        This builder for chaining.
      • clearProcessingStatus

        @Deprecated
        public Pvalue.ParameterValue.Builder clearProcessingStatus()
        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];
        Returns:
        This builder for chaining.
      • 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.
      • setMonitoringResult

        public Pvalue.ParameterValue.Builder setMonitoringResult​(Pvalue.MonitoringResult value)
        optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;
        Parameters:
        value - The monitoringResult to set.
        Returns:
        This builder for chaining.
      • clearMonitoringResult

        public Pvalue.ParameterValue.Builder clearMonitoringResult()
        optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;
        Returns:
        This builder for chaining.
      • 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.
      • setRangeCondition

        public Pvalue.ParameterValue.Builder setRangeCondition​(Pvalue.RangeCondition value)
        optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9;
        Parameters:
        value - The rangeCondition to set.
        Returns:
        This builder for chaining.
      • clearRangeCondition

        public Pvalue.ParameterValue.Builder clearRangeCondition()
        optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9;
        Returns:
        This builder for chaining.
      • clearAlarmRange

        public Pvalue.ParameterValue.Builder clearAlarmRange()
         Context-dependent ranges
         
        repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;
      • removeAlarmRange

        public Pvalue.ParameterValue.Builder removeAlarmRange​(int index)
         Context-dependent ranges
         
        repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;
      • getAlarmRangeBuilder

        public Mdb.AlarmRange.Builder getAlarmRangeBuilder​(int index)
         Context-dependent ranges
         
        repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;
      • addAlarmRangeBuilder

        public Mdb.AlarmRange.Builder addAlarmRangeBuilder()
         Context-dependent ranges
         
        repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;
      • addAlarmRangeBuilder

        public Mdb.AlarmRange.Builder addAlarmRangeBuilder​(int index)
         Context-dependent ranges
         
        repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;
      • getAlarmRangeBuilderList

        public List<Mdb.AlarmRange.Builder> getAlarmRangeBuilderList()
         Context-dependent ranges
         
        repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;
      • 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.
      • setExpireMillis

        public Pvalue.ParameterValue.Builder setExpireMillis​(long value)
         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;
        Parameters:
        value - The expireMillis to set.
        Returns:
        This builder for chaining.
      • clearExpireMillis

        public Pvalue.ParameterValue.Builder clearExpireMillis()
         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;
        Returns:
        This builder for chaining.
      • 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.
      • setNumericId

        public Pvalue.ParameterValue.Builder setNumericId​(int value)
         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;
        Parameters:
        value - The numericId to set.
        Returns:
        This builder for chaining.
      • clearNumericId

        public Pvalue.ParameterValue.Builder clearNumericId()
         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;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Pvalue.ParameterValue.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Pvalue.ParameterValue.Builder>
      • mergeUnknownFields

        public final Pvalue.ParameterValue.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Pvalue.ParameterValue.Builder>