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 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<ParameterOverride.Builder>
    • clear

      public ParameterOverride.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<ParameterOverride.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<ParameterOverride.Builder>
    • getDefaultInstanceForType

      public ParameterOverride getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ParameterOverride build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ParameterOverride buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public ParameterOverride.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<ParameterOverride.Builder>
    • setField

      public ParameterOverride.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<ParameterOverride.Builder>
    • clearField

      public ParameterOverride.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<ParameterOverride.Builder>
    • clearOneof

      public ParameterOverride.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<ParameterOverride.Builder>
    • setRepeatedField

      public ParameterOverride.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<ParameterOverride.Builder>
    • addRepeatedField

      public ParameterOverride.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<ParameterOverride.Builder>
    • mergeFrom

      public ParameterOverride.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<ParameterOverride.Builder>
    • mergeFrom

      public ParameterOverride.Builder mergeFrom(ParameterOverride other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 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<ParameterOverride.Builder>
      Throws:
      IOException
    • hasParameter

      public boolean hasParameter()
       Parameter name
       
      optional string parameter = 1;
      Specified by:
      hasParameter in interface ParameterOverrideOrBuilder
      Returns:
      Whether the parameter field is set.
    • getParameter

      public String getParameter()
       Parameter name
       
      optional string parameter = 1;
      Specified by:
      getParameter in interface ParameterOverrideOrBuilder
      Returns:
      The parameter.
    • getParameterBytes

      public com.google.protobuf.ByteString getParameterBytes()
       Parameter name
       
      optional string parameter = 1;
      Specified by:
      getParameterBytes in interface ParameterOverrideOrBuilder
      Returns:
      The bytes for parameter.
    • setParameter

      public ParameterOverride.Builder setParameter(String value)
       Parameter name
       
      optional string parameter = 1;
      Parameters:
      value - The parameter to set.
      Returns:
      This builder for chaining.
    • clearParameter

      public ParameterOverride.Builder clearParameter()
       Parameter name
       
      optional string parameter = 1;
      Returns:
      This builder for chaining.
    • setParameterBytes

      public ParameterOverride.Builder setParameterBytes(com.google.protobuf.ByteString value)
       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 interface ParameterOverrideOrBuilder
      Returns:
      Whether the defaultCalibrator field is set.
    • getDefaultCalibrator

      public Mdb.CalibratorInfo getDefaultCalibrator()
       Default calibrator (when no specific context)
       
      optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 5;
      Specified by:
      getDefaultCalibrator in interface ParameterOverrideOrBuilder
      Returns:
      The defaultCalibrator.
    • setDefaultCalibrator

      public ParameterOverride.Builder setDefaultCalibrator(Mdb.CalibratorInfo value)
       Default calibrator (when no specific context)
       
      optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 5;
    • setDefaultCalibrator

      public ParameterOverride.Builder setDefaultCalibrator(Mdb.CalibratorInfo.Builder builderForValue)
       Default calibrator (when no specific context)
       
      optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 5;
    • mergeDefaultCalibrator

      public ParameterOverride.Builder mergeDefaultCalibrator(Mdb.CalibratorInfo value)
       Default calibrator (when no specific context)
       
      optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 5;
    • clearDefaultCalibrator

      public ParameterOverride.Builder clearDefaultCalibrator()
       Default calibrator (when no specific context)
       
      optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 5;
    • getDefaultCalibratorBuilder

      public Mdb.CalibratorInfo.Builder getDefaultCalibratorBuilder()
       Default calibrator (when no specific context)
       
      optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 5;
    • getDefaultCalibratorOrBuilder

      public Mdb.CalibratorInfoOrBuilder getDefaultCalibratorOrBuilder()
       Default calibrator (when no specific context)
       
      optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 5;
      Specified by:
      getDefaultCalibratorOrBuilder in interface ParameterOverrideOrBuilder
    • getContextCalibratorsList

      public List<Mdb.ContextCalibratorInfo> getContextCalibratorsList()
       Calibrators under specific context
       
      repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
      Specified by:
      getContextCalibratorsList in interface ParameterOverrideOrBuilder
    • getContextCalibratorsCount

      public int getContextCalibratorsCount()
       Calibrators under specific context
       
      repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
      Specified by:
      getContextCalibratorsCount in interface ParameterOverrideOrBuilder
    • getContextCalibrators

      public Mdb.ContextCalibratorInfo getContextCalibrators(int index)
       Calibrators under specific context
       
      repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
      Specified by:
      getContextCalibrators in interface ParameterOverrideOrBuilder
    • setContextCalibrators

      public ParameterOverride.Builder setContextCalibrators(int index, Mdb.ContextCalibratorInfo value)
       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

      public ParameterOverride.Builder addContextCalibrators(Mdb.ContextCalibratorInfo value)
       Calibrators under specific context
       
      repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
    • addContextCalibrators

      public ParameterOverride.Builder addContextCalibrators(int index, Mdb.ContextCalibratorInfo value)
       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

      public ParameterOverride.Builder clearContextCalibrators()
       Calibrators under specific context
       
      repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
    • removeContextCalibrators

      public ParameterOverride.Builder removeContextCalibrators(int index)
       Calibrators under specific context
       
      repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
    • getContextCalibratorsBuilder

      public Mdb.ContextCalibratorInfo.Builder getContextCalibratorsBuilder(int index)
       Calibrators under specific context
       
      repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
    • getContextCalibratorsOrBuilder

      public Mdb.ContextCalibratorInfoOrBuilder getContextCalibratorsOrBuilder(int index)
       Calibrators under specific context
       
      repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
      Specified by:
      getContextCalibratorsOrBuilder in interface ParameterOverrideOrBuilder
    • getContextCalibratorsOrBuilderList

      public List<? extends Mdb.ContextCalibratorInfoOrBuilder> getContextCalibratorsOrBuilderList()
       Calibrators under specific context
       
      repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
      Specified by:
      getContextCalibratorsOrBuilderList in interface ParameterOverrideOrBuilder
    • addContextCalibratorsBuilder

      public Mdb.ContextCalibratorInfo.Builder addContextCalibratorsBuilder()
       Calibrators under specific context
       
      repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
    • addContextCalibratorsBuilder

      public Mdb.ContextCalibratorInfo.Builder addContextCalibratorsBuilder(int index)
       Calibrators under specific context
       
      repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
    • getContextCalibratorsBuilderList

      public List<Mdb.ContextCalibratorInfo.Builder> 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 interface ParameterOverrideOrBuilder
      Returns:
      Whether the defaultAlarm field is set.
    • getDefaultAlarm

      public Mdb.AlarmInfo getDefaultAlarm()
       Default alarm properties (when no specific context)
       
      optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 7;
      Specified by:
      getDefaultAlarm in interface ParameterOverrideOrBuilder
      Returns:
      The defaultAlarm.
    • setDefaultAlarm

      public ParameterOverride.Builder setDefaultAlarm(Mdb.AlarmInfo value)
       Default alarm properties (when no specific context)
       
      optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 7;
    • setDefaultAlarm

      public ParameterOverride.Builder setDefaultAlarm(Mdb.AlarmInfo.Builder builderForValue)
       Default alarm properties (when no specific context)
       
      optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 7;
    • mergeDefaultAlarm

      public ParameterOverride.Builder mergeDefaultAlarm(Mdb.AlarmInfo value)
       Default alarm properties (when no specific context)
       
      optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 7;
    • clearDefaultAlarm

      public ParameterOverride.Builder clearDefaultAlarm()
       Default alarm properties (when no specific context)
       
      optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 7;
    • getDefaultAlarmBuilder

      public Mdb.AlarmInfo.Builder getDefaultAlarmBuilder()
       Default alarm properties (when no specific context)
       
      optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 7;
    • getDefaultAlarmOrBuilder

      public Mdb.AlarmInfoOrBuilder getDefaultAlarmOrBuilder()
       Default alarm properties (when no specific context)
       
      optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 7;
      Specified by:
      getDefaultAlarmOrBuilder in interface ParameterOverrideOrBuilder
    • getContextAlarmsList

      public List<Mdb.ContextAlarmInfo> getContextAlarmsList()
       Alarm properties under specific context
       
      repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
      Specified by:
      getContextAlarmsList in interface ParameterOverrideOrBuilder
    • getContextAlarmsCount

      public int getContextAlarmsCount()
       Alarm properties under specific context
       
      repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
      Specified by:
      getContextAlarmsCount in interface ParameterOverrideOrBuilder
    • getContextAlarms

      public Mdb.ContextAlarmInfo getContextAlarms(int index)
       Alarm properties under specific context
       
      repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
      Specified by:
      getContextAlarms in interface ParameterOverrideOrBuilder
    • setContextAlarms

      public ParameterOverride.Builder setContextAlarms(int index, Mdb.ContextAlarmInfo value)
       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

      public ParameterOverride.Builder addContextAlarms(Mdb.ContextAlarmInfo value)
       Alarm properties under specific context
       
      repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
    • addContextAlarms

      public ParameterOverride.Builder addContextAlarms(int index, Mdb.ContextAlarmInfo value)
       Alarm properties under specific context
       
      repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
    • addContextAlarms

      public ParameterOverride.Builder addContextAlarms(Mdb.ContextAlarmInfo.Builder builderForValue)
       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

      public ParameterOverride.Builder clearContextAlarms()
       Alarm properties under specific context
       
      repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
    • removeContextAlarms

      public ParameterOverride.Builder removeContextAlarms(int index)
       Alarm properties under specific context
       
      repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
    • getContextAlarmsBuilder

      public Mdb.ContextAlarmInfo.Builder getContextAlarmsBuilder(int index)
       Alarm properties under specific context
       
      repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
    • getContextAlarmsOrBuilder

      public Mdb.ContextAlarmInfoOrBuilder getContextAlarmsOrBuilder(int index)
       Alarm properties under specific context
       
      repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
      Specified by:
      getContextAlarmsOrBuilder in interface ParameterOverrideOrBuilder
    • getContextAlarmsOrBuilderList

      public List<? extends Mdb.ContextAlarmInfoOrBuilder> getContextAlarmsOrBuilderList()
       Alarm properties under specific context
       
      repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
      Specified by:
      getContextAlarmsOrBuilderList in interface ParameterOverrideOrBuilder
    • addContextAlarmsBuilder

      public Mdb.ContextAlarmInfo.Builder addContextAlarmsBuilder()
       Alarm properties under specific context
       
      repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
    • addContextAlarmsBuilder

      public Mdb.ContextAlarmInfo.Builder addContextAlarmsBuilder(int index)
       Alarm properties under specific context
       
      repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 8;
    • getContextAlarmsBuilderList

      public List<Mdb.ContextAlarmInfo.Builder> 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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ParameterOverride.Builder>
    • mergeUnknownFields

      public final ParameterOverride.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<ParameterOverride.Builder>