java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<TcoStatus.Builder>
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
Current status of the Time Correlation 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 TypeMethodDescriptionaddAllSamples(Iterable<? extends TcoSample> values) The last accumulated samples.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addSamples(int index, TcoSample value) The last accumulated samples.addSamples(int index, TcoSample.Builder builderForValue) The last accumulated samples.addSamples(TcoSample value) The last accumulated samples.addSamples(TcoSample.Builder builderForValue) The last accumulated samples.The last accumulated samples.addSamplesBuilder(int index) The last accumulated samples.build()clear()Currently used coefficients.The time when the coefficients have been computedThe last computed deviationclearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The last accumulated samples.clone()Currently used coefficients.Currently used coefficients.Currently used coefficients.com.google.protobuf.TimestampThe time when the coefficients have been computedcom.google.protobuf.Timestamp.BuilderThe time when the coefficients have been computedcom.google.protobuf.TimestampOrBuilderThe time when the coefficients have been computedstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptordoubleThe last computed deviationgetSamples(int index) The last accumulated samples.getSamplesBuilder(int index) The last accumulated samples.The last accumulated samples.intThe last accumulated samples.The last accumulated samples.getSamplesOrBuilder(int index) The last accumulated samples.List<? extends TcoSampleOrBuilder> The last accumulated samples.booleanCurrently used coefficients.booleanThe time when the coefficients have been computedbooleanThe last computed deviationprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCoefficients(TcoCoefficients value) Currently used coefficients.mergeCoefficientsTime(com.google.protobuf.Timestamp value) The time when the coefficients have been computedmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final TcoStatus.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeSamples(int index) The last accumulated samples.setCoefficients(TcoCoefficients value) Currently used coefficients.setCoefficients(TcoCoefficients.Builder builderForValue) Currently used coefficients.setCoefficientsTime(com.google.protobuf.Timestamp value) The time when the coefficients have been computedsetCoefficientsTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the coefficients have been computedsetDeviation(double value) The last computed deviationsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSamples(int index, TcoSample value) The last accumulated samples.setSamples(int index, TcoSample.Builder builderForValue) The last accumulated samples.final TcoStatus.BuildersetUnknownFields(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-
setField
public TcoStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-
setRepeatedField
public TcoStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-
addRepeatedField
public TcoStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TcoStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
hasCoefficientsin interfaceTcoStatusOrBuilder- Returns:
- Whether the coefficients field is set.
-
getCoefficients
Currently used coefficients. If not present, the synchronization is not established
optional .yamcs.protobuf.tco.TcoCoefficients coefficients = 1;- Specified by:
getCoefficientsin interfaceTcoStatusOrBuilder- Returns:
- The coefficients.
-
setCoefficients
Currently used coefficients. If not present, the synchronization is not established
optional .yamcs.protobuf.tco.TcoCoefficients coefficients = 1; -
setCoefficients
Currently used coefficients. If not present, the synchronization is not established
optional .yamcs.protobuf.tco.TcoCoefficients coefficients = 1; -
mergeCoefficients
Currently used coefficients. If not present, the synchronization is not established
optional .yamcs.protobuf.tco.TcoCoefficients coefficients = 1; -
clearCoefficients
Currently used coefficients. If not present, the synchronization is not established
optional .yamcs.protobuf.tco.TcoCoefficients coefficients = 1; -
getCoefficientsBuilder
Currently used coefficients. If not present, the synchronization is not established
optional .yamcs.protobuf.tco.TcoCoefficients coefficients = 1; -
getCoefficientsOrBuilder
Currently used coefficients. If not present, the synchronization is not established
optional .yamcs.protobuf.tco.TcoCoefficients coefficients = 1;- Specified by:
getCoefficientsOrBuilderin interfaceTcoStatusOrBuilder
-
hasCoefficientsTime
public boolean hasCoefficientsTime()The time when the coefficients have been computed
optional .google.protobuf.Timestamp coefficientsTime = 2;- Specified by:
hasCoefficientsTimein interfaceTcoStatusOrBuilder- 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:
getCoefficientsTimein interfaceTcoStatusOrBuilder- Returns:
- The coefficientsTime.
-
setCoefficientsTime
The time when the coefficients have been computed
optional .google.protobuf.Timestamp coefficientsTime = 2; -
setCoefficientsTime
The time when the coefficients have been computed
optional .google.protobuf.Timestamp coefficientsTime = 2; -
mergeCoefficientsTime
The time when the coefficients have been computed
optional .google.protobuf.Timestamp coefficientsTime = 2; -
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:
getCoefficientsTimeOrBuilderin interfaceTcoStatusOrBuilder
-
hasDeviation
public boolean hasDeviation()The last computed deviation
optional double deviation = 3;- Specified by:
hasDeviationin interfaceTcoStatusOrBuilder- Returns:
- Whether the deviation field is set.
-
getDeviation
public double getDeviation()The last computed deviation
optional double deviation = 3;- Specified by:
getDeviationin interfaceTcoStatusOrBuilder- Returns:
- The deviation.
-
setDeviation
The last computed deviation
optional double deviation = 3;- Parameters:
value- The deviation to set.- Returns:
- This builder for chaining.
-
clearDeviation
The last computed deviation
optional double deviation = 3;- Returns:
- This builder for chaining.
-
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:
getSamplesListin interfaceTcoStatusOrBuilder
-
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:
getSamplesCountin interfaceTcoStatusOrBuilder
-
getSamples
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:
getSamplesin interfaceTcoStatusOrBuilder
-
setSamples
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
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
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
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
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
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
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
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
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
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
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:
getSamplesOrBuilderin interfaceTcoStatusOrBuilder
-
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:
getSamplesOrBuilderListin interfaceTcoStatusOrBuilder
-
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
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
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
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-
mergeUnknownFields
public final TcoStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-