Class TcoStatus.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
org.yamcs.protobuf.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 Summary

    Modifier and Type
    Method
    Description
    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
    addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
    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
    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
    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
    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
    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
    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
     
     
     
    Currently used coefficients.
    The time when the coefficients have been computed
    The last computed deviation
    clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
     
    clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
     
    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
     
    Currently used coefficients.
    Currently used coefficients.
    Currently used coefficients.
    com.google.protobuf.Timestamp
    The time when the coefficients have been computed
    com.google.protobuf.Timestamp.Builder
    The time when the coefficients have been computed
    com.google.protobuf.TimestampOrBuilder
    The time when the coefficients have been computed
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    double
    The last computed deviation
    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
    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
    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
    int
    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
    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
    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
    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
    boolean
    Currently used coefficients.
    boolean
    The time when the coefficients have been computed
    boolean
    The last computed deviation
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
    Currently used coefficients.
    mergeCoefficientsTime(com.google.protobuf.Timestamp value)
    The time when the coefficients have been computed
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    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
    Currently used coefficients.
    Currently used coefficients.
    setCoefficientsTime(com.google.protobuf.Timestamp value)
    The time when the coefficients have been computed
    setCoefficientsTime(com.google.protobuf.Timestamp.Builder builderForValue)
    The time when the coefficients have been computed
    setDeviation(double value)
    The last computed deviation
    setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
    setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
     
    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
    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
    setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

    getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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>
    • mergeFrom

      public TcoStatus.Builder mergeFrom(TcoStatus other)
    • 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 established
       
      optional .yamcs.protobuf.tco.TcoCoefficients coefficients = 1;
      Specified by:
      hasCoefficients in interface TcoStatusOrBuilder
      Returns:
      Whether the coefficients field is set.
    • getCoefficients

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

      public TcoStatus.Builder setCoefficients(TcoCoefficients value)
      Currently used coefficients.
       If not present, the synchronization is not established
       
      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 established
       
      optional .yamcs.protobuf.tco.TcoCoefficients coefficients = 1;
    • mergeCoefficients

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

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

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

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

      public boolean hasCoefficientsTime()
      The time when the coefficients have been computed
       
      optional .google.protobuf.Timestamp coefficientsTime = 2;
      Specified by:
      hasCoefficientsTime in interface TcoStatusOrBuilder
      Returns:
      Whether the coefficientsTime field is set.
    • 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
      Returns:
      The coefficientsTime.
    • 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
      Returns:
      Whether the deviation field is set.
    • getDeviation

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

      public TcoStatus.Builder setDeviation(double value)
      The last computed deviation
       
      optional double deviation = 3;
      Parameters:
      value - The deviation to set.
      Returns:
      This builder for chaining.
    • clearDeviation

      public TcoStatus.Builder clearDeviation()
      The last computed deviation
       
      optional double deviation = 3;
      Returns:
      This builder for chaining.
    • 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>