Package org.yamcs.protobuf
Class ParameterOverride.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ParameterOverride.Builder>
org.yamcs.protobuf.ParameterOverride.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,ParameterOverrideOrBuilder
- Enclosing class:
- ParameterOverride
public static final class ParameterOverride.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ParameterOverride.Builder>
implements ParameterOverrideOrBuilder
A change to a parameter's type. This can be either due to an alarm or a calibrator change.Protobuf type
yamcs.protobuf.processing.ParameterOverride
-
Method Summary
Modifier and TypeMethodDescriptionaddAllContextAlarms
(Iterable<? extends Mdb.ContextAlarmInfo> values) Alarm properties under specific contextaddAllContextCalibrators
(Iterable<? extends Mdb.ContextCalibratorInfo> values) Calibrators under specific contextaddContextAlarms
(int index, Mdb.ContextAlarmInfo value) Alarm properties under specific contextaddContextAlarms
(int index, Mdb.ContextAlarmInfo.Builder builderForValue) Alarm properties under specific contextAlarm properties under specific contextaddContextAlarms
(Mdb.ContextAlarmInfo.Builder builderForValue) Alarm properties under specific contextAlarm properties under specific contextaddContextAlarmsBuilder
(int index) Alarm properties under specific contextaddContextCalibrators
(int index, Mdb.ContextCalibratorInfo value) Calibrators under specific contextaddContextCalibrators
(int index, Mdb.ContextCalibratorInfo.Builder builderForValue) Calibrators under specific contextCalibrators under specific contextaddContextCalibrators
(Mdb.ContextCalibratorInfo.Builder builderForValue) Calibrators under specific contextCalibrators under specific contextaddContextCalibratorsBuilder
(int index) Calibrators under specific contextaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Alarm properties under specific contextCalibrators under specific contextDefault alarm properties (when no specific context)Default calibrator (when no specific context)clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Parameter nameclone()
getContextAlarms
(int index) Alarm properties under specific contextgetContextAlarmsBuilder
(int index) Alarm properties under specific contextAlarm properties under specific contextint
Alarm properties under specific contextAlarm properties under specific contextgetContextAlarmsOrBuilder
(int index) Alarm properties under specific contextList<? extends Mdb.ContextAlarmInfoOrBuilder>
Alarm properties under specific contextgetContextCalibrators
(int index) Calibrators under specific contextgetContextCalibratorsBuilder
(int index) Calibrators under specific contextCalibrators under specific contextint
Calibrators under specific contextCalibrators under specific contextgetContextCalibratorsOrBuilder
(int index) Calibrators under specific contextList<? extends Mdb.ContextCalibratorInfoOrBuilder>
Calibrators under specific contextDefault alarm properties (when no specific context)Default alarm properties (when no specific context)Default alarm properties (when no specific context)Default calibrator (when no specific context)Default calibrator (when no specific context)Default calibrator (when no specific context)static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Parameter namecom.google.protobuf.ByteString
Parameter nameboolean
Default alarm properties (when no specific context)boolean
Default calibrator (when no specific context)boolean
Parameter nameprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeDefaultAlarm
(Mdb.AlarmInfo value) Default alarm properties (when no specific context)Default calibrator (when no specific context)mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(ParameterOverride other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeContextAlarms
(int index) Alarm properties under specific contextremoveContextCalibrators
(int index) Calibrators under specific contextsetContextAlarms
(int index, Mdb.ContextAlarmInfo value) Alarm properties under specific contextsetContextAlarms
(int index, Mdb.ContextAlarmInfo.Builder builderForValue) Alarm properties under specific contextsetContextCalibrators
(int index, Mdb.ContextCalibratorInfo value) Calibrators under specific contextsetContextCalibrators
(int index, Mdb.ContextCalibratorInfo.Builder builderForValue) Calibrators under specific contextsetDefaultAlarm
(Mdb.AlarmInfo value) Default alarm properties (when no specific context)setDefaultAlarm
(Mdb.AlarmInfo.Builder builderForValue) Default alarm properties (when no specific context)Default calibrator (when no specific context)setDefaultCalibrator
(Mdb.CalibratorInfo.Builder builderForValue) Default calibrator (when no specific context)setParameter
(String value) Parameter namesetParameterBytes
(com.google.protobuf.ByteString value) Parameter namesetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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<ParameterOverride.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<ParameterOverride.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<ParameterOverride.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<ParameterOverride.Builder>
-
setField
public ParameterOverride.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<ParameterOverride.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ParameterOverride.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ParameterOverride.Builder>
-
setRepeatedField
public ParameterOverride.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<ParameterOverride.Builder>
-
addRepeatedField
public ParameterOverride.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<ParameterOverride.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ParameterOverride.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ParameterOverride.Builder>
-
mergeFrom
public ParameterOverride.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<ParameterOverride.Builder>
- Throws:
IOException
-
hasParameter
public boolean hasParameter()Parameter name
optional string parameter = 1;
- Specified by:
hasParameter
in interfaceParameterOverrideOrBuilder
- Returns:
- Whether the parameter field is set.
-
getParameter
Parameter name
optional string parameter = 1;
- Specified by:
getParameter
in interfaceParameterOverrideOrBuilder
- Returns:
- The parameter.
-
getParameterBytes
public com.google.protobuf.ByteString getParameterBytes()Parameter name
optional string parameter = 1;
- Specified by:
getParameterBytes
in interfaceParameterOverrideOrBuilder
- Returns:
- The bytes for parameter.
-
setParameter
Parameter name
optional string parameter = 1;
- Parameters:
value
- The parameter to set.- Returns:
- This builder for chaining.
-
clearParameter
Parameter name
optional string parameter = 1;
- Returns:
- This builder for chaining.
-
setParameterBytes
Parameter name
optional string parameter = 1;
- Parameters:
value
- The bytes for parameter to set.- Returns:
- This builder for chaining.
-
hasDefaultCalibrator
public boolean hasDefaultCalibrator()Default calibrator (when no specific context)
optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 5;
- Specified by:
hasDefaultCalibrator
in interfaceParameterOverrideOrBuilder
- Returns:
- Whether the defaultCalibrator field is set.
-
getDefaultCalibrator
Default calibrator (when no specific context)
optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 5;
- Specified by:
getDefaultCalibrator
in interfaceParameterOverrideOrBuilder
- Returns:
- The defaultCalibrator.
-
setDefaultCalibrator
Default calibrator (when no specific context)
optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 5;
-
setDefaultCalibrator
Default calibrator (when no specific context)
optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 5;
-
mergeDefaultCalibrator
Default calibrator (when no specific context)
optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 5;
-
clearDefaultCalibrator
Default calibrator (when no specific context)
optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 5;
-
getDefaultCalibratorBuilder
Default calibrator (when no specific context)
optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 5;
-
getDefaultCalibratorOrBuilder
Default calibrator (when no specific context)
optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 5;
- Specified by:
getDefaultCalibratorOrBuilder
in interfaceParameterOverrideOrBuilder
-
getContextCalibratorsList
Calibrators under specific context
repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
- Specified by:
getContextCalibratorsList
in interfaceParameterOverrideOrBuilder
-
getContextCalibratorsCount
public int getContextCalibratorsCount()Calibrators under specific context
repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
- Specified by:
getContextCalibratorsCount
in interfaceParameterOverrideOrBuilder
-
getContextCalibrators
Calibrators under specific context
repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
- Specified by:
getContextCalibrators
in interfaceParameterOverrideOrBuilder
-
setContextCalibrators
Calibrators under specific context
repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
-
setContextCalibrators
public ParameterOverride.Builder setContextCalibrators(int index, Mdb.ContextCalibratorInfo.Builder builderForValue) Calibrators under specific context
repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
-
addContextCalibrators
Calibrators under specific context
repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
-
addContextCalibrators
Calibrators under specific context
repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
-
addContextCalibrators
public ParameterOverride.Builder addContextCalibrators(Mdb.ContextCalibratorInfo.Builder builderForValue) Calibrators under specific context
repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
-
addContextCalibrators
public ParameterOverride.Builder addContextCalibrators(int index, Mdb.ContextCalibratorInfo.Builder builderForValue) Calibrators under specific context
repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
-
addAllContextCalibrators
public ParameterOverride.Builder addAllContextCalibrators(Iterable<? extends Mdb.ContextCalibratorInfo> values) Calibrators under specific context
repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
-
clearContextCalibrators
Calibrators under specific context
repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
-
removeContextCalibrators
Calibrators under specific context
repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
-
getContextCalibratorsBuilder
Calibrators under specific context
repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
-
getContextCalibratorsOrBuilder
Calibrators under specific context
repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
- Specified by:
getContextCalibratorsOrBuilder
in interfaceParameterOverrideOrBuilder
-
getContextCalibratorsOrBuilderList
Calibrators under specific context
repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
- Specified by:
getContextCalibratorsOrBuilderList
in interfaceParameterOverrideOrBuilder
-
addContextCalibratorsBuilder
Calibrators under specific context
repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
-
addContextCalibratorsBuilder
Calibrators under specific context
repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
-
getContextCalibratorsBuilderList
Calibrators under specific context
repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
-
hasDefaultAlarm
public boolean hasDefaultAlarm()Default alarm properties (when no specific context)
optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 7;
- Specified by:
hasDefaultAlarm
in interfaceParameterOverrideOrBuilder
- Returns:
- Whether the defaultAlarm field is set.
-
getDefaultAlarm
Default alarm properties (when no specific context)
optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 7;
- Specified by:
getDefaultAlarm
in interfaceParameterOverrideOrBuilder
- Returns:
- The defaultAlarm.
-
setDefaultAlarm
Default alarm properties (when no specific context)
optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 7;
-
setDefaultAlarm
Default alarm properties (when no specific context)
optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 7;
-
mergeDefaultAlarm
Default alarm properties (when no specific context)
optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 7;
-
clearDefaultAlarm
Default alarm properties (when no specific context)
optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 7;
-
getDefaultAlarmBuilder
Default alarm properties (when no specific context)
optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 7;
-
getDefaultAlarmOrBuilder
Default alarm properties (when no specific context)
optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 7;
- Specified by:
getDefaultAlarmOrBuilder
in interfaceParameterOverrideOrBuilder
-
getContextAlarmsList
Alarm properties under specific context
repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
- Specified by:
getContextAlarmsList
in interfaceParameterOverrideOrBuilder
-
getContextAlarmsCount
public int getContextAlarmsCount()Alarm properties under specific context
repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
- Specified by:
getContextAlarmsCount
in interfaceParameterOverrideOrBuilder
-
getContextAlarms
Alarm properties under specific context
repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
- Specified by:
getContextAlarms
in interfaceParameterOverrideOrBuilder
-
setContextAlarms
Alarm properties under specific context
repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
-
setContextAlarms
public ParameterOverride.Builder setContextAlarms(int index, Mdb.ContextAlarmInfo.Builder builderForValue) Alarm properties under specific context
repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
-
addContextAlarms
Alarm properties under specific context
repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
-
addContextAlarms
Alarm properties under specific context
repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
-
addContextAlarms
Alarm properties under specific context
repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
-
addContextAlarms
public ParameterOverride.Builder addContextAlarms(int index, Mdb.ContextAlarmInfo.Builder builderForValue) Alarm properties under specific context
repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
-
addAllContextAlarms
public ParameterOverride.Builder addAllContextAlarms(Iterable<? extends Mdb.ContextAlarmInfo> values) Alarm properties under specific context
repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
-
clearContextAlarms
Alarm properties under specific context
repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
-
removeContextAlarms
Alarm properties under specific context
repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
-
getContextAlarmsBuilder
Alarm properties under specific context
repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
-
getContextAlarmsOrBuilder
Alarm properties under specific context
repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
- Specified by:
getContextAlarmsOrBuilder
in interfaceParameterOverrideOrBuilder
-
getContextAlarmsOrBuilderList
Alarm properties under specific context
repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
- Specified by:
getContextAlarmsOrBuilderList
in interfaceParameterOverrideOrBuilder
-
addContextAlarmsBuilder
Alarm properties under specific context
repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
-
addContextAlarmsBuilder
Alarm properties under specific context
repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
-
getContextAlarmsBuilderList
Alarm properties under specific context
repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
-
setUnknownFields
public final ParameterOverride.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ParameterOverride.Builder>
-
mergeUnknownFields
public final ParameterOverride.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ParameterOverride.Builder>
-