Package org.yamcs.protobuf
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional .yamcs.protobuf.events.Event currentEvent = 3;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional .yamcs.protobuf.events.Event triggerEvent = 1;
clone()
optional .yamcs.protobuf.events.Event currentEvent = 3;
optional .yamcs.protobuf.events.Event currentEvent = 3;
optional .yamcs.protobuf.events.Event currentEvent = 3;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
optional .yamcs.protobuf.events.Event triggerEvent = 1;
optional .yamcs.protobuf.events.Event triggerEvent = 1;
optional .yamcs.protobuf.events.Event triggerEvent = 1;
boolean
optional .yamcs.protobuf.events.Event currentEvent = 3;
boolean
optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
boolean
optional .yamcs.protobuf.events.Event triggerEvent = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeCurrentEvent
(Event value) optional .yamcs.protobuf.events.Event currentEvent = 3;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(EventAlarmData other) mergeMostSevereEvent
(Event value) optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
mergeTriggerEvent
(Event value) optional .yamcs.protobuf.events.Event triggerEvent = 1;
final EventAlarmData.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setCurrentEvent
(Event value) optional .yamcs.protobuf.events.Event currentEvent = 3;
setCurrentEvent
(Event.Builder builderForValue) optional .yamcs.protobuf.events.Event currentEvent = 3;
setMostSevereEvent
(Event value) optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
setMostSevereEvent
(Event.Builder builderForValue) optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTriggerEvent
(Event value) optional .yamcs.protobuf.events.Event triggerEvent = 1;
setTriggerEvent
(Event.Builder builderForValue) optional .yamcs.protobuf.events.Event triggerEvent = 1;
final EventAlarmData.Builder
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<EventAlarmData.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<EventAlarmData.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<EventAlarmData.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<EventAlarmData.Builder>
-
setField
public EventAlarmData.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<EventAlarmData.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventAlarmData.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventAlarmData.Builder>
-
addRepeatedField
public EventAlarmData.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<EventAlarmData.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EventAlarmData.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EventAlarmData.Builder>
- Throws:
IOException
-
hasTriggerEvent
public boolean hasTriggerEvent()optional .yamcs.protobuf.events.Event triggerEvent = 1;
- Specified by:
hasTriggerEvent
in interfaceEventAlarmDataOrBuilder
- Returns:
- Whether the triggerEvent field is set.
-
getTriggerEvent
optional .yamcs.protobuf.events.Event triggerEvent = 1;
- Specified by:
getTriggerEvent
in interfaceEventAlarmDataOrBuilder
- Returns:
- The triggerEvent.
-
setTriggerEvent
optional .yamcs.protobuf.events.Event triggerEvent = 1;
-
setTriggerEvent
optional .yamcs.protobuf.events.Event triggerEvent = 1;
-
mergeTriggerEvent
optional .yamcs.protobuf.events.Event triggerEvent = 1;
-
clearTriggerEvent
optional .yamcs.protobuf.events.Event triggerEvent = 1;
-
getTriggerEventBuilder
optional .yamcs.protobuf.events.Event triggerEvent = 1;
-
getTriggerEventOrBuilder
optional .yamcs.protobuf.events.Event triggerEvent = 1;
- Specified by:
getTriggerEventOrBuilder
in interfaceEventAlarmDataOrBuilder
-
hasMostSevereEvent
public boolean hasMostSevereEvent()optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
- Specified by:
hasMostSevereEvent
in interfaceEventAlarmDataOrBuilder
- Returns:
- Whether the mostSevereEvent field is set.
-
getMostSevereEvent
optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
- Specified by:
getMostSevereEvent
in interfaceEventAlarmDataOrBuilder
- Returns:
- The mostSevereEvent.
-
setMostSevereEvent
optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
-
setMostSevereEvent
optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
-
mergeMostSevereEvent
optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
-
clearMostSevereEvent
optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
-
getMostSevereEventBuilder
optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
-
getMostSevereEventOrBuilder
optional .yamcs.protobuf.events.Event mostSevereEvent = 2;
- Specified by:
getMostSevereEventOrBuilder
in interfaceEventAlarmDataOrBuilder
-
hasCurrentEvent
public boolean hasCurrentEvent()optional .yamcs.protobuf.events.Event currentEvent = 3;
- Specified by:
hasCurrentEvent
in interfaceEventAlarmDataOrBuilder
- Returns:
- Whether the currentEvent field is set.
-
getCurrentEvent
optional .yamcs.protobuf.events.Event currentEvent = 3;
- Specified by:
getCurrentEvent
in interfaceEventAlarmDataOrBuilder
- Returns:
- The currentEvent.
-
setCurrentEvent
optional .yamcs.protobuf.events.Event currentEvent = 3;
-
setCurrentEvent
optional .yamcs.protobuf.events.Event currentEvent = 3;
-
mergeCurrentEvent
optional .yamcs.protobuf.events.Event currentEvent = 3;
-
clearCurrentEvent
optional .yamcs.protobuf.events.Event currentEvent = 3;
-
getCurrentEventBuilder
optional .yamcs.protobuf.events.Event currentEvent = 3;
-
getCurrentEventOrBuilder
optional .yamcs.protobuf.events.Event currentEvent = 3;
- Specified by:
getCurrentEventOrBuilder
in interfaceEventAlarmDataOrBuilder
-
setUnknownFields
public final EventAlarmData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventAlarmData.Builder>
-
mergeUnknownFields
public final EventAlarmData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventAlarmData.Builder>
-