Class ParameterOverride

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.ParameterOverride
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, ParameterOverrideOrBuilder

public final class ParameterOverride extends com.google.protobuf.GeneratedMessageV3 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
See Also:
  • Field Details

    • PARAMETER_FIELD_NUMBER

      public static final int PARAMETER_FIELD_NUMBER
      See Also:
    • DEFAULTCALIBRATOR_FIELD_NUMBER

      public static final int DEFAULTCALIBRATOR_FIELD_NUMBER
      See Also:
    • CONTEXTCALIBRATORS_FIELD_NUMBER

      public static final int CONTEXTCALIBRATORS_FIELD_NUMBER
      See Also:
    • DEFAULTALARM_FIELD_NUMBER

      public static final int DEFAULTALARM_FIELD_NUMBER
      See Also:
    • CONTEXTALARMS_FIELD_NUMBER

      public static final int CONTEXTALARMS_FIELD_NUMBER
      See Also:
    • PARSER

      @Deprecated public static final com.google.protobuf.Parser<ParameterOverride> PARSER
      Deprecated.
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • 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
    • 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.
    • 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.
    • 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
    • getContextCalibratorsOrBuilderList

      public List<? extends Mdb.ContextCalibratorInfoOrBuilder> getContextCalibratorsOrBuilderList()
       Calibrators under specific context
       
      repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
      Specified by:
      getContextCalibratorsOrBuilderList 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
    • getContextCalibratorsOrBuilder

      public Mdb.ContextCalibratorInfoOrBuilder getContextCalibratorsOrBuilder(int index)
       Calibrators under specific context
       
      repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 6;
      Specified by:
      getContextCalibratorsOrBuilder in interface ParameterOverrideOrBuilder
    • 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.
    • 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
    • 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
    • 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
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ParameterOverride parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ParameterOverride parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ParameterOverride parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ParameterOverride parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ParameterOverride parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ParameterOverride parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ParameterOverride parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ParameterOverride parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ParameterOverride parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ParameterOverride parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ParameterOverride parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ParameterOverride parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ParameterOverride.Builder newBuilder()
    • newBuilder

      public static ParameterOverride.Builder newBuilder(ParameterOverride prototype)
    • toBuilder

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

      protected ParameterOverride.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ParameterOverride getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ParameterOverride> parser()
    • getParserForType

      public com.google.protobuf.Parser<ParameterOverride> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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