Package org.yamcs.protobuf
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 typeyamcs.protobuf.tco.TcoStatus
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TcoStatus.BuilderaddAllSamples(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 settingsTcoStatus.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TcoStatus.BuilderaddSamples(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 settingsTcoStatus.BuilderaddSamples(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 settingsTcoStatus.BuilderaddSamples(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 settingsTcoStatus.BuilderaddSamples(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 settingsTcoSample.BuilderaddSamplesBuilder()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 settingsTcoSample.BuilderaddSamplesBuilder(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 settingsTcoStatusbuild()TcoStatusbuildPartial()TcoStatus.Builderclear()TcoStatus.BuilderclearCoefficients()Currently used coefficients.TcoStatus.BuilderclearCoefficientsTime()The time when the coefficients have been computedTcoStatus.BuilderclearDeviation()The last computed deviationTcoStatus.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TcoStatus.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TcoStatus.BuilderclearSamples()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 settingsTcoStatus.Builderclone()TcoCoefficientsgetCoefficients()Currently used coefficients.TcoCoefficients.BuildergetCoefficientsBuilder()Currently used coefficients.TcoCoefficientsOrBuildergetCoefficientsOrBuilder()Currently used coefficients.com.google.protobuf.TimestampgetCoefficientsTime()The time when the coefficients have been computedcom.google.protobuf.Timestamp.BuildergetCoefficientsTimeBuilder()The time when the coefficients have been computedcom.google.protobuf.TimestampOrBuildergetCoefficientsTimeOrBuilder()The time when the coefficients have been computedTcoStatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()doublegetDeviation()The last computed deviationTcoSamplegetSamples(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 settingsTcoSample.BuildergetSamplesBuilder(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 settingsList<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 settingsintgetSamplesCount()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 settingsList<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 settingsTcoSampleOrBuildergetSamplesOrBuilder(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 settingsList<? 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 settingsbooleanhasCoefficients()Currently used coefficients.booleanhasCoefficientsTime()The time when the coefficients have been computedbooleanhasDeviation()The last computed deviationprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TcoStatus.BuildermergeCoefficients(TcoCoefficients value)Currently used coefficients.TcoStatus.BuildermergeCoefficientsTime(com.google.protobuf.Timestamp value)The time when the coefficients have been computedTcoStatus.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TcoStatus.BuildermergeFrom(com.google.protobuf.Message other)TcoStatus.BuildermergeFrom(TcoStatus other)TcoStatus.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TcoStatus.BuilderremoveSamples(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 settingsTcoStatus.BuildersetCoefficients(TcoCoefficients value)Currently used coefficients.TcoStatus.BuildersetCoefficients(TcoCoefficients.Builder builderForValue)Currently used coefficients.TcoStatus.BuildersetCoefficientsTime(com.google.protobuf.Timestamp value)The time when the coefficients have been computedTcoStatus.BuildersetCoefficientsTime(com.google.protobuf.Timestamp.Builder builderForValue)The time when the coefficients have been computedTcoStatus.BuildersetDeviation(double value)The last computed deviationTcoStatus.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TcoStatus.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TcoStatus.BuildersetSamples(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 settingsTcoStatus.BuildersetSamples(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 settingsTcoStatus.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
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
public 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
public TcoStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TcoStatus build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TcoStatus buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TcoStatus.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
public TcoStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-
clearOneof
public TcoStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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
public TcoStatus.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TcoStatus.Builder>
-
mergeFrom
public TcoStatus.Builder mergeFrom(TcoStatus other)
-
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 estabilished
optional .yamcs.protobuf.tco.TcoCoefficients coefficients = 1;- Specified by:
hasCoefficientsin interfaceTcoStatusOrBuilder
-
getCoefficients
public TcoCoefficients getCoefficients()
Currently used coefficients. If not present, the synchronization is not estabilished
optional .yamcs.protobuf.tco.TcoCoefficients coefficients = 1;- Specified by:
getCoefficientsin interfaceTcoStatusOrBuilder
-
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;
-
getCoefficientsOrBuilder
public TcoCoefficientsOrBuilder getCoefficientsOrBuilder()
Currently used coefficients. If not present, the synchronization is not estabilished
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
-
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
-
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:
getCoefficientsTimeOrBuilderin interfaceTcoStatusOrBuilder
-
hasDeviation
public boolean hasDeviation()
The last computed deviation
optional double deviation = 3;- Specified by:
hasDeviationin interfaceTcoStatusOrBuilder
-
getDeviation
public double getDeviation()
The last computed deviation
optional double deviation = 3;- Specified by:
getDeviationin interfaceTcoStatusOrBuilder
-
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:
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
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:
getSamplesin interfaceTcoStatusOrBuilder
-
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:
getSamplesOrBuilderin interfaceTcoStatusOrBuilder
-
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:
getSamplesOrBuilderListin interfaceTcoStatusOrBuilder
-
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:
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>
-
-