Class EventAlarmData.Builder

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

public static final class EventAlarmData.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EventAlarmData.Builder> implements EventAlarmDataOrBuilder
Protobuf type yamcs.protobuf.alarms.EventAlarmData
  • 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<EventAlarmData.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public EventAlarmData.Builder mergeFrom(EventAlarmData other)
    • isInitialized

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

      public EventAlarmData.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<EventAlarmData.Builder>
      Throws:
      IOException
    • hasTriggerEvent

      public boolean hasTriggerEvent()
      optional .yamcs.protobuf.events.Event triggerEvent = 1;
      Specified by:
      hasTriggerEvent in interface EventAlarmDataOrBuilder
      Returns:
      Whether the triggerEvent field is set.
    • getTriggerEvent

      public Event getTriggerEvent()
      optional .yamcs.protobuf.events.Event triggerEvent = 1;
      Specified by:
      getTriggerEvent in interface EventAlarmDataOrBuilder
      Returns:
      The triggerEvent.
    • setTriggerEvent

      public EventAlarmData.Builder setTriggerEvent(Event value)
      optional .yamcs.protobuf.events.Event triggerEvent = 1;
    • setTriggerEvent

      public EventAlarmData.Builder setTriggerEvent(Event.Builder builderForValue)
      optional .yamcs.protobuf.events.Event triggerEvent = 1;
    • mergeTriggerEvent

      public EventAlarmData.Builder mergeTriggerEvent(Event value)
      optional .yamcs.protobuf.events.Event triggerEvent = 1;
    • clearTriggerEvent

      public EventAlarmData.Builder clearTriggerEvent()
      optional .yamcs.protobuf.events.Event triggerEvent = 1;
    • getTriggerEventBuilder

      public Event.Builder getTriggerEventBuilder()
      optional .yamcs.protobuf.events.Event triggerEvent = 1;
    • getTriggerEventOrBuilder

      public EventOrBuilder getTriggerEventOrBuilder()
      optional .yamcs.protobuf.events.Event triggerEvent = 1;
      Specified by:
      getTriggerEventOrBuilder in interface EventAlarmDataOrBuilder
    • hasMostSevereEvent

      public boolean hasMostSevereEvent()
      optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
      Specified by:
      hasMostSevereEvent in interface EventAlarmDataOrBuilder
      Returns:
      Whether the mostSevereEvent field is set.
    • getMostSevereEvent

      public Event getMostSevereEvent()
      optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
      Specified by:
      getMostSevereEvent in interface EventAlarmDataOrBuilder
      Returns:
      The mostSevereEvent.
    • setMostSevereEvent

      public EventAlarmData.Builder setMostSevereEvent(Event value)
      optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
    • setMostSevereEvent

      public EventAlarmData.Builder setMostSevereEvent(Event.Builder builderForValue)
      optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
    • mergeMostSevereEvent

      public EventAlarmData.Builder mergeMostSevereEvent(Event value)
      optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
    • clearMostSevereEvent

      public EventAlarmData.Builder clearMostSevereEvent()
      optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
    • getMostSevereEventBuilder

      public Event.Builder getMostSevereEventBuilder()
      optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
    • getMostSevereEventOrBuilder

      public EventOrBuilder getMostSevereEventOrBuilder()
      optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
      Specified by:
      getMostSevereEventOrBuilder in interface EventAlarmDataOrBuilder
    • hasCurrentEvent

      public boolean hasCurrentEvent()
      optional .yamcs.protobuf.events.Event currentEvent = 3;
      Specified by:
      hasCurrentEvent in interface EventAlarmDataOrBuilder
      Returns:
      Whether the currentEvent field is set.
    • getCurrentEvent

      public Event getCurrentEvent()
      optional .yamcs.protobuf.events.Event currentEvent = 3;
      Specified by:
      getCurrentEvent in interface EventAlarmDataOrBuilder
      Returns:
      The currentEvent.
    • setCurrentEvent

      public EventAlarmData.Builder setCurrentEvent(Event value)
      optional .yamcs.protobuf.events.Event currentEvent = 3;
    • setCurrentEvent

      public EventAlarmData.Builder setCurrentEvent(Event.Builder builderForValue)
      optional .yamcs.protobuf.events.Event currentEvent = 3;
    • mergeCurrentEvent

      public EventAlarmData.Builder mergeCurrentEvent(Event value)
      optional .yamcs.protobuf.events.Event currentEvent = 3;
    • clearCurrentEvent

      public EventAlarmData.Builder clearCurrentEvent()
      optional .yamcs.protobuf.events.Event currentEvent = 3;
    • getCurrentEventBuilder

      public Event.Builder getCurrentEventBuilder()
      optional .yamcs.protobuf.events.Event currentEvent = 3;
    • getCurrentEventOrBuilder

      public EventOrBuilder getCurrentEventOrBuilder()
      optional .yamcs.protobuf.events.Event currentEvent = 3;
      Specified by:
      getCurrentEventOrBuilder in interface EventAlarmDataOrBuilder
    • setUnknownFields

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

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