Class Mdb.ContextAlarmInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Mdb.ContextAlarmInfo.Builder>
org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Mdb.ContextAlarmInfoOrBuilder
Enclosing class:
Mdb.ContextAlarmInfo

public static final class Mdb.ContextAlarmInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Mdb.ContextAlarmInfo.Builder> implements Mdb.ContextAlarmInfoOrBuilder
Protobuf type yamcs.protobuf.mdb.ContextAlarmInfo
  • 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<Mdb.ContextAlarmInfo.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<Mdb.ContextAlarmInfo.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<Mdb.ContextAlarmInfo.Builder>
    • getDefaultInstanceForType

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

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

      public Mdb.ContextAlarmInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<Mdb.ContextAlarmInfo.Builder>
    • setField

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

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

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

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

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

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

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Mdb.ContextAlarmInfo.Builder>
    • mergeFrom

      public Mdb.ContextAlarmInfo.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<Mdb.ContextAlarmInfo.Builder>
      Throws:
      IOException
    • getComparisonList

      public List<Mdb.ComparisonInfo> getComparisonList()
      repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
      Specified by:
      getComparisonList in interface Mdb.ContextAlarmInfoOrBuilder
    • getComparisonCount

      public int getComparisonCount()
      repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
      Specified by:
      getComparisonCount in interface Mdb.ContextAlarmInfoOrBuilder
    • getComparison

      public Mdb.ComparisonInfo getComparison(int index)
      repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
      Specified by:
      getComparison in interface Mdb.ContextAlarmInfoOrBuilder
    • setComparison

      public Mdb.ContextAlarmInfo.Builder setComparison(int index, Mdb.ComparisonInfo value)
      repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
    • setComparison

      public Mdb.ContextAlarmInfo.Builder setComparison(int index, Mdb.ComparisonInfo.Builder builderForValue)
      repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
    • addComparison

      public Mdb.ContextAlarmInfo.Builder addComparison(Mdb.ComparisonInfo value)
      repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
    • addComparison

      public Mdb.ContextAlarmInfo.Builder addComparison(int index, Mdb.ComparisonInfo value)
      repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
    • addComparison

      public Mdb.ContextAlarmInfo.Builder addComparison(Mdb.ComparisonInfo.Builder builderForValue)
      repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
    • addComparison

      public Mdb.ContextAlarmInfo.Builder addComparison(int index, Mdb.ComparisonInfo.Builder builderForValue)
      repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
    • addAllComparison

      public Mdb.ContextAlarmInfo.Builder addAllComparison(Iterable<? extends Mdb.ComparisonInfo> values)
      repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
    • clearComparison

      public Mdb.ContextAlarmInfo.Builder clearComparison()
      repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
    • removeComparison

      public Mdb.ContextAlarmInfo.Builder removeComparison(int index)
      repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
    • getComparisonBuilder

      public Mdb.ComparisonInfo.Builder getComparisonBuilder(int index)
      repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
    • getComparisonOrBuilder

      public Mdb.ComparisonInfoOrBuilder getComparisonOrBuilder(int index)
      repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
      Specified by:
      getComparisonOrBuilder in interface Mdb.ContextAlarmInfoOrBuilder
    • getComparisonOrBuilderList

      public List<? extends Mdb.ComparisonInfoOrBuilder> getComparisonOrBuilderList()
      repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
      Specified by:
      getComparisonOrBuilderList in interface Mdb.ContextAlarmInfoOrBuilder
    • addComparisonBuilder

      public Mdb.ComparisonInfo.Builder addComparisonBuilder()
      repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
    • addComparisonBuilder

      public Mdb.ComparisonInfo.Builder addComparisonBuilder(int index)
      repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
    • getComparisonBuilderList

      public List<Mdb.ComparisonInfo.Builder> getComparisonBuilderList()
      repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
    • hasAlarm

      public boolean hasAlarm()
      optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;
      Specified by:
      hasAlarm in interface Mdb.ContextAlarmInfoOrBuilder
      Returns:
      Whether the alarm field is set.
    • getAlarm

      public Mdb.AlarmInfo getAlarm()
      optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;
      Specified by:
      getAlarm in interface Mdb.ContextAlarmInfoOrBuilder
      Returns:
      The alarm.
    • setAlarm

      optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;
    • setAlarm

      public Mdb.ContextAlarmInfo.Builder setAlarm(Mdb.AlarmInfo.Builder builderForValue)
      optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;
    • mergeAlarm

      public Mdb.ContextAlarmInfo.Builder mergeAlarm(Mdb.AlarmInfo value)
      optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;
    • clearAlarm

      public Mdb.ContextAlarmInfo.Builder clearAlarm()
      optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;
    • getAlarmBuilder

      public Mdb.AlarmInfo.Builder getAlarmBuilder()
      optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;
    • getAlarmOrBuilder

      public Mdb.AlarmInfoOrBuilder getAlarmOrBuilder()
      optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;
      Specified by:
      getAlarmOrBuilder in interface Mdb.ContextAlarmInfoOrBuilder
    • hasContext

      public boolean hasContext()
       This can be used in UpdateParameterRequest to pass a context
       that is parsed on the server, according to the rules in the
       excel spreadsheet. Either this or a comparison has to be
       used (not both at the same time)
       
      optional string context = 3;
      Specified by:
      hasContext in interface Mdb.ContextAlarmInfoOrBuilder
      Returns:
      Whether the context field is set.
    • getContext

      public String getContext()
       This can be used in UpdateParameterRequest to pass a context
       that is parsed on the server, according to the rules in the
       excel spreadsheet. Either this or a comparison has to be
       used (not both at the same time)
       
      optional string context = 3;
      Specified by:
      getContext in interface Mdb.ContextAlarmInfoOrBuilder
      Returns:
      The context.
    • getContextBytes

      public com.google.protobuf.ByteString getContextBytes()
       This can be used in UpdateParameterRequest to pass a context
       that is parsed on the server, according to the rules in the
       excel spreadsheet. Either this or a comparison has to be
       used (not both at the same time)
       
      optional string context = 3;
      Specified by:
      getContextBytes in interface Mdb.ContextAlarmInfoOrBuilder
      Returns:
      The bytes for context.
    • setContext

      public Mdb.ContextAlarmInfo.Builder setContext(String value)
       This can be used in UpdateParameterRequest to pass a context
       that is parsed on the server, according to the rules in the
       excel spreadsheet. Either this or a comparison has to be
       used (not both at the same time)
       
      optional string context = 3;
      Parameters:
      value - The context to set.
      Returns:
      This builder for chaining.
    • clearContext

      public Mdb.ContextAlarmInfo.Builder clearContext()
       This can be used in UpdateParameterRequest to pass a context
       that is parsed on the server, according to the rules in the
       excel spreadsheet. Either this or a comparison has to be
       used (not both at the same time)
       
      optional string context = 3;
      Returns:
      This builder for chaining.
    • setContextBytes

      public Mdb.ContextAlarmInfo.Builder setContextBytes(com.google.protobuf.ByteString value)
       This can be used in UpdateParameterRequest to pass a context
       that is parsed on the server, according to the rules in the
       excel spreadsheet. Either this or a comparison has to be
       used (not both at the same time)
       
      optional string context = 3;
      Parameters:
      value - The bytes for context to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Mdb.ContextAlarmInfo.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<Mdb.ContextAlarmInfo.Builder>
    • mergeUnknownFields

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