Class TcoStatus.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, TcoStatusOrBuilder
    Enclosing class:
    TcoStatus

    public static final class TcoStatus.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
    implements TcoStatusOrBuilder
    If the TCO is used only for verifying the synchronization, the message will 
     contain only the validity, accuracy and deviation.
     
    Protobuf type yamcs.protobuf.tco.TcoStatus
    • 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<TcoStatus.Builder>
      • clear

        public TcoStatus.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<TcoStatus.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<TcoStatus.Builder>
      • getDefaultInstanceForType

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

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

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

        public TcoStatus.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<TcoStatus.Builder>
      • setField

        public TcoStatus.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                          Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
      • clearField

        public TcoStatus.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<TcoStatus.Builder>
      • clearOneof

        public TcoStatus.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<TcoStatus.Builder>
      • setRepeatedField

        public TcoStatus.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<TcoStatus.Builder>
      • addRepeatedField

        public TcoStatus.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<TcoStatus.Builder>
      • mergeFrom

        public TcoStatus.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TcoStatus.Builder>
      • isInitialized

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

        public TcoStatus.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<TcoStatus.Builder>
        Throws:
        IOException
      • hasCoefficients

        public boolean hasCoefficients()
        Currently used coefficients.
         If not present, the synchronization is not estabilished
         
        optional .yamcs.protobuf.tco.TcoCoefficients coefficients = 1;
        Specified by:
        hasCoefficients in interface TcoStatusOrBuilder
      • getCoefficients

        public TcoCoefficients getCoefficients()
        Currently used coefficients.
         If not present, the synchronization is not estabilished
         
        optional .yamcs.protobuf.tco.TcoCoefficients coefficients = 1;
        Specified by:
        getCoefficients in interface TcoStatusOrBuilder
      • setCoefficients

        public TcoStatus.Builder setCoefficients​(TcoCoefficients value)
        Currently used coefficients.
         If not present, the synchronization is not estabilished
         
        optional .yamcs.protobuf.tco.TcoCoefficients coefficients = 1;
      • setCoefficients

        public TcoStatus.Builder setCoefficients​(TcoCoefficients.Builder builderForValue)
        Currently used coefficients.
         If not present, the synchronization is not estabilished
         
        optional .yamcs.protobuf.tco.TcoCoefficients coefficients = 1;
      • mergeCoefficients

        public TcoStatus.Builder mergeCoefficients​(TcoCoefficients value)
        Currently used coefficients.
         If not present, the synchronization is not estabilished
         
        optional .yamcs.protobuf.tco.TcoCoefficients coefficients = 1;
      • clearCoefficients

        public TcoStatus.Builder clearCoefficients()
        Currently used coefficients.
         If not present, the synchronization is not estabilished
         
        optional .yamcs.protobuf.tco.TcoCoefficients coefficients = 1;
      • getCoefficientsBuilder

        public TcoCoefficients.Builder getCoefficientsBuilder()
        Currently used coefficients.
         If not present, the synchronization is not estabilished
         
        optional .yamcs.protobuf.tco.TcoCoefficients coefficients = 1;
      • hasCoefficientsTime

        public boolean hasCoefficientsTime()
        The time when the coefficients have been computed
         
        optional .google.protobuf.Timestamp coefficientsTime = 2;
        Specified by:
        hasCoefficientsTime in interface TcoStatusOrBuilder
      • getCoefficientsTime

        public com.google.protobuf.Timestamp getCoefficientsTime()
        The time when the coefficients have been computed
         
        optional .google.protobuf.Timestamp coefficientsTime = 2;
        Specified by:
        getCoefficientsTime in interface TcoStatusOrBuilder
      • setCoefficientsTime

        public TcoStatus.Builder setCoefficientsTime​(com.google.protobuf.Timestamp value)
        The time when the coefficients have been computed
         
        optional .google.protobuf.Timestamp coefficientsTime = 2;
      • setCoefficientsTime

        public TcoStatus.Builder setCoefficientsTime​(com.google.protobuf.Timestamp.Builder builderForValue)
        The time when the coefficients have been computed
         
        optional .google.protobuf.Timestamp coefficientsTime = 2;
      • mergeCoefficientsTime

        public TcoStatus.Builder mergeCoefficientsTime​(com.google.protobuf.Timestamp value)
        The time when the coefficients have been computed
         
        optional .google.protobuf.Timestamp coefficientsTime = 2;
      • clearCoefficientsTime

        public TcoStatus.Builder clearCoefficientsTime()
        The time when the coefficients have been computed
         
        optional .google.protobuf.Timestamp coefficientsTime = 2;
      • getCoefficientsTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCoefficientsTimeBuilder()
        The time when the coefficients have been computed
         
        optional .google.protobuf.Timestamp coefficientsTime = 2;
      • getCoefficientsTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCoefficientsTimeOrBuilder()
        The time when the coefficients have been computed
         
        optional .google.protobuf.Timestamp coefficientsTime = 2;
        Specified by:
        getCoefficientsTimeOrBuilder in interface TcoStatusOrBuilder
      • hasDeviation

        public boolean hasDeviation()
        The last computed deviation
         
        optional double deviation = 3;
        Specified by:
        hasDeviation in interface TcoStatusOrBuilder
      • getDeviation

        public double getDeviation()
        The last computed deviation
         
        optional double deviation = 3;
        Specified by:
        getDeviation in interface TcoStatusOrBuilder
      • setDeviation

        public TcoStatus.Builder setDeviation​(double value)
        The last computed deviation
         
        optional double deviation = 3;
      • clearDeviation

        public TcoStatus.Builder clearDeviation()
        The last computed deviation
         
        optional double deviation = 3;
      • getSamplesList

        public List<TcoSample> getSamplesList()
        The last accumulated samples
        These are not necessary those from which the coefficients 
        have been calculated because the coefficients will only 
        be recalculated when the deviation is higher than the accuracy settings
         
        repeated .yamcs.protobuf.tco.TcoSample samples = 4;
        Specified by:
        getSamplesList in interface TcoStatusOrBuilder
      • getSamplesCount

        public int getSamplesCount()
        The last accumulated samples
        These are not necessary those from which the coefficients 
        have been calculated because the coefficients will only 
        be recalculated when the deviation is higher than the accuracy settings
         
        repeated .yamcs.protobuf.tco.TcoSample samples = 4;
        Specified by:
        getSamplesCount in interface TcoStatusOrBuilder
      • getSamples

        public TcoSample getSamples​(int index)
        The last accumulated samples
        These are not necessary those from which the coefficients 
        have been calculated because the coefficients will only 
        be recalculated when the deviation is higher than the accuracy settings
         
        repeated .yamcs.protobuf.tco.TcoSample samples = 4;
        Specified by:
        getSamples in interface TcoStatusOrBuilder
      • setSamples

        public TcoStatus.Builder setSamples​(int index,
                                            TcoSample value)
        The last accumulated samples
        These are not necessary those from which the coefficients 
        have been calculated because the coefficients will only 
        be recalculated when the deviation is higher than the accuracy settings
         
        repeated .yamcs.protobuf.tco.TcoSample samples = 4;
      • setSamples

        public TcoStatus.Builder setSamples​(int index,
                                            TcoSample.Builder builderForValue)
        The last accumulated samples
        These are not necessary those from which the coefficients 
        have been calculated because the coefficients will only 
        be recalculated when the deviation is higher than the accuracy settings
         
        repeated .yamcs.protobuf.tco.TcoSample samples = 4;
      • addSamples

        public TcoStatus.Builder addSamples​(TcoSample value)
        The last accumulated samples
        These are not necessary those from which the coefficients 
        have been calculated because the coefficients will only 
        be recalculated when the deviation is higher than the accuracy settings
         
        repeated .yamcs.protobuf.tco.TcoSample samples = 4;
      • addSamples

        public TcoStatus.Builder addSamples​(int index,
                                            TcoSample value)
        The last accumulated samples
        These are not necessary those from which the coefficients 
        have been calculated because the coefficients will only 
        be recalculated when the deviation is higher than the accuracy settings
         
        repeated .yamcs.protobuf.tco.TcoSample samples = 4;
      • addSamples

        public TcoStatus.Builder addSamples​(TcoSample.Builder builderForValue)
        The last accumulated samples
        These are not necessary those from which the coefficients 
        have been calculated because the coefficients will only 
        be recalculated when the deviation is higher than the accuracy settings
         
        repeated .yamcs.protobuf.tco.TcoSample samples = 4;
      • addSamples

        public TcoStatus.Builder addSamples​(int index,
                                            TcoSample.Builder builderForValue)
        The last accumulated samples
        These are not necessary those from which the coefficients 
        have been calculated because the coefficients will only 
        be recalculated when the deviation is higher than the accuracy settings
         
        repeated .yamcs.protobuf.tco.TcoSample samples = 4;
      • addAllSamples

        public TcoStatus.Builder addAllSamples​(Iterable<? extends TcoSample> values)
        The last accumulated samples
        These are not necessary those from which the coefficients 
        have been calculated because the coefficients will only 
        be recalculated when the deviation is higher than the accuracy settings
         
        repeated .yamcs.protobuf.tco.TcoSample samples = 4;
      • clearSamples

        public TcoStatus.Builder clearSamples()
        The last accumulated samples
        These are not necessary those from which the coefficients 
        have been calculated because the coefficients will only 
        be recalculated when the deviation is higher than the accuracy settings
         
        repeated .yamcs.protobuf.tco.TcoSample samples = 4;
      • removeSamples

        public TcoStatus.Builder removeSamples​(int index)
        The last accumulated samples
        These are not necessary those from which the coefficients 
        have been calculated because the coefficients will only 
        be recalculated when the deviation is higher than the accuracy settings
         
        repeated .yamcs.protobuf.tco.TcoSample samples = 4;
      • getSamplesBuilder

        public TcoSample.Builder getSamplesBuilder​(int index)
        The last accumulated samples
        These are not necessary those from which the coefficients 
        have been calculated because the coefficients will only 
        be recalculated when the deviation is higher than the accuracy settings
         
        repeated .yamcs.protobuf.tco.TcoSample samples = 4;
      • getSamplesOrBuilder

        public TcoSampleOrBuilder getSamplesOrBuilder​(int index)
        The last accumulated samples
        These are not necessary those from which the coefficients 
        have been calculated because the coefficients will only 
        be recalculated when the deviation is higher than the accuracy settings
         
        repeated .yamcs.protobuf.tco.TcoSample samples = 4;
        Specified by:
        getSamplesOrBuilder in interface TcoStatusOrBuilder
      • getSamplesOrBuilderList

        public List<? extends TcoSampleOrBuilder> getSamplesOrBuilderList()
        The last accumulated samples
        These are not necessary those from which the coefficients 
        have been calculated because the coefficients will only 
        be recalculated when the deviation is higher than the accuracy settings
         
        repeated .yamcs.protobuf.tco.TcoSample samples = 4;
        Specified by:
        getSamplesOrBuilderList in interface TcoStatusOrBuilder
      • addSamplesBuilder

        public TcoSample.Builder addSamplesBuilder()
        The last accumulated samples
        These are not necessary those from which the coefficients 
        have been calculated because the coefficients will only 
        be recalculated when the deviation is higher than the accuracy settings
         
        repeated .yamcs.protobuf.tco.TcoSample samples = 4;
      • addSamplesBuilder

        public TcoSample.Builder addSamplesBuilder​(int index)
        The last accumulated samples
        These are not necessary those from which the coefficients 
        have been calculated because the coefficients will only 
        be recalculated when the deviation is higher than the accuracy settings
         
        repeated .yamcs.protobuf.tco.TcoSample samples = 4;
      • getSamplesBuilderList

        public List<TcoSample.Builder> getSamplesBuilderList()
        The last accumulated samples
        These are not necessary those from which the coefficients 
        have been calculated because the coefficients will only 
        be recalculated when the deviation is higher than the accuracy settings
         
        repeated .yamcs.protobuf.tco.TcoSample samples = 4;
      • setUnknownFields

        public final TcoStatus.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<TcoStatus.Builder>
      • mergeUnknownFields

        public final TcoStatus.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<TcoStatus.Builder>