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 type
yamcs.protobuf.tco.TcoStatus
-
Method Summary
Modifier and TypeMethodDescriptionaddAllSamples
(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 settingsaddRepeatedField
(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 settingsaddSamples
(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 settingsaddSamples
(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 settingsaddSamples
(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 settingsThe 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 settingsaddSamplesBuilder
(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 settingsbuild()
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 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 settingsclone()
Currently used coefficients.Currently used coefficients.Currently used coefficients.com.google.protobuf.Timestamp
The time when the coefficients have been computedcom.google.protobuf.Timestamp.Builder
The time when the coefficients have been computedcom.google.protobuf.TimestampOrBuilder
The time when the coefficients have been computedstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
double
The last computed deviationgetSamples
(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 settingsgetSamplesBuilder
(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 settingsThe 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 settingsint
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 settingsThe 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 settingsgetSamplesOrBuilder
(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>
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 settingsboolean
Currently used coefficients.boolean
The time when the coefficients have been computedboolean
The last computed deviationprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeCoefficients
(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.Builder
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 settingssetCoefficients
(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 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 settingssetSamples
(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 settingsfinal TcoStatus.Builder
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 classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-
setField
public TcoStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-
addRepeatedField
public TcoStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TcoStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasCoefficients
in 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:
getCoefficients
in 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:
getCoefficientsOrBuilder
in interfaceTcoStatusOrBuilder
-
hasCoefficientsTime
public boolean hasCoefficientsTime()The time when the coefficients have been computed
optional .google.protobuf.Timestamp coefficientsTime = 2;
- Specified by:
hasCoefficientsTime
in 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:
getCoefficientsTime
in 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:
getCoefficientsTimeOrBuilder
in interfaceTcoStatusOrBuilder
-
hasDeviation
public boolean hasDeviation()The last computed deviation
optional double deviation = 3;
- Specified by:
hasDeviation
in interfaceTcoStatusOrBuilder
- Returns:
- Whether the deviation field is set.
-
getDeviation
public double getDeviation()The last computed deviation
optional double deviation = 3;
- Specified by:
getDeviation
in 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:
getSamplesList
in 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:
getSamplesCount
in 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:
getSamples
in 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:
getSamplesOrBuilder
in 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:
getSamplesOrBuilderList
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-
mergeUnknownFields
public final TcoStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TcoStatus.Builder>
-