java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.AlarmData
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,AlarmDataOrBuilder
public final class AlarmData
extends com.google.protobuf.GeneratedMessageV3
implements AlarmDataOrBuilder
Summary of an alarm applicable for Parameter or Event (possibly other in the future) alarms. Contains detailed information on the value occurrence that initially triggered the alarm, the most severe value since it originally triggered, and the latest value at the time of your request.Protobuf type
yamcs.protobuf.alarms.AlarmData- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSummary of an alarm applicable for Parameter or Event (possibly other in the future) alarms.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<AlarmData>Deprecated.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanif the operator has acknowledged the alarmoptional .yamcs.protobuf.alarms.AcknowledgeInfo acknowledgeInfo = 8;optional .yamcs.protobuf.alarms.AcknowledgeInfo acknowledgeInfo = 8;optional .yamcs.protobuf.alarms.ClearInfo clearInfo = 17;optional .yamcs.protobuf.alarms.ClearInfo clearInfo = 17;intgetCount()Number of samples received for the objectstatic AlarmDatastatic final com.google.protobuf.Descriptors.DescriptorAdditional detail in case the alarm is of type EVENTAdditional detail in case the alarm is of type EVENTgetId()For parameter alarms, this is the id of the parameters For event alarms - the id.namespace is /yamcs/event/<EVENT_SOURCE>, unless EVENT_SOURCE starts with a "/" in which case the namespace is just the <EVENT_SOURCE> - the id.name is the <EVENT_TYPE>For parameter alarms, this is the id of the parameters For event alarms - the id.namespace is /yamcs/event/<EVENT_SOURCE>, unless EVENT_SOURCE starts with a "/" in which case the namespace is just the <EVENT_SOURCE> - the id.name is the <EVENT_TYPE>booleanWhether the alarm will stay triggered even when the process is OKoptional .yamcs.protobuf.alarms.AlarmNotificationType notificationType = 9;Additional detail in case the alarm is of type PARAMETERAdditional detail in case the alarm is of type PARAMETERcom.google.protobuf.Parser<AlarmData>booleanAn alarm is in pending state if the minViolations has not been reached The alarm is not actually triggered in this case This is only sent when truebooleanif the process that generated the alarm is ok (i.e. parameter is within limits)booleanWhether this alarm may be updated by this processor.intDistinguisher between multiple alarms for the same idintoptional .yamcs.protobuf.alarms.AlarmSeverity severity = 5;Details in case the alarm was shelvedDetails in case the alarm was shelvedbooleantriggered is same with processOK except when the alarm is latchingcom.google.protobuf.Timestampoptional .google.protobuf.Timestamp triggerTime = 2;com.google.protobuf.TimestampOrBuilderoptional .google.protobuf.Timestamp triggerTime = 2;getType()optional .yamcs.protobuf.alarms.AlarmType type = 1;final com.google.protobuf.UnknownFieldSetcom.google.protobuf.TimestampTime when the alarm was last updatedcom.google.protobuf.TimestampOrBuilderTime when the alarm was last updatedintNumber of times the object was in alarm statebooleanif the operator has acknowledged the alarmbooleanoptional .yamcs.protobuf.alarms.AcknowledgeInfo acknowledgeInfo = 8;booleanoptional .yamcs.protobuf.alarms.ClearInfo clearInfo = 17;booleanhasCount()Number of samples received for the objectbooleanAdditional detail in case the alarm is of type EVENTinthashCode()booleanhasId()For parameter alarms, this is the id of the parameters For event alarms - the id.namespace is /yamcs/event/<EVENT_SOURCE>, unless EVENT_SOURCE starts with a "/" in which case the namespace is just the <EVENT_SOURCE> - the id.name is the <EVENT_TYPE>booleanWhether the alarm will stay triggered even when the process is OKbooleanoptional .yamcs.protobuf.alarms.AlarmNotificationType notificationType = 9;booleanAdditional detail in case the alarm is of type PARAMETERbooleanAn alarm is in pending state if the minViolations has not been reached The alarm is not actually triggered in this case This is only sent when truebooleanif the process that generated the alarm is ok (i.e. parameter is within limits)booleanWhether this alarm may be updated by this processor.booleanDistinguisher between multiple alarms for the same idbooleanoptional .yamcs.protobuf.alarms.AlarmSeverity severity = 5;booleanDetails in case the alarm was shelvedbooleantriggered is same with processOK except when the alarm is latchingbooleanoptional .google.protobuf.Timestamp triggerTime = 2;booleanhasType()optional .yamcs.protobuf.alarms.AlarmType type = 1;booleanTime when the alarm was last updatedbooleanNumber of times the object was in alarm stateprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic AlarmData.Builderstatic AlarmData.BuildernewBuilder(AlarmData prototype) protected AlarmData.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static AlarmDataparseDelimitedFrom(InputStream input) static AlarmDataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AlarmDataparseFrom(byte[] data) static AlarmDataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AlarmDataparseFrom(com.google.protobuf.ByteString data) static AlarmDataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AlarmDataparseFrom(com.google.protobuf.CodedInputStream input) static AlarmDataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AlarmDataparseFrom(InputStream input) static AlarmDataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AlarmDataparseFrom(ByteBuffer data) static AlarmDataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AlarmData>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
TRIGGERTIME_FIELD_NUMBER
public static final int TRIGGERTIME_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
SEQNUM_FIELD_NUMBER
public static final int SEQNUM_FIELD_NUMBER- See Also:
-
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER- See Also:
-
VIOLATIONS_FIELD_NUMBER
public static final int VIOLATIONS_FIELD_NUMBER- See Also:
-
COUNT_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER- See Also:
-
ACKNOWLEDGEINFO_FIELD_NUMBER
public static final int ACKNOWLEDGEINFO_FIELD_NUMBER- See Also:
-
NOTIFICATIONTYPE_FIELD_NUMBER
public static final int NOTIFICATIONTYPE_FIELD_NUMBER- See Also:
-
PARAMETERDETAIL_FIELD_NUMBER
public static final int PARAMETERDETAIL_FIELD_NUMBER- See Also:
-
EVENTDETAIL_FIELD_NUMBER
public static final int EVENTDETAIL_FIELD_NUMBER- See Also:
-
LATCHING_FIELD_NUMBER
public static final int LATCHING_FIELD_NUMBER- See Also:
-
PROCESSOK_FIELD_NUMBER
public static final int PROCESSOK_FIELD_NUMBER- See Also:
-
TRIGGERED_FIELD_NUMBER
public static final int TRIGGERED_FIELD_NUMBER- See Also:
-
ACKNOWLEDGED_FIELD_NUMBER
public static final int ACKNOWLEDGED_FIELD_NUMBER- See Also:
-
SHELVEINFO_FIELD_NUMBER
public static final int SHELVEINFO_FIELD_NUMBER- See Also:
-
CLEARINFO_FIELD_NUMBER
public static final int CLEARINFO_FIELD_NUMBER- See Also:
-
UPDATETIME_FIELD_NUMBER
public static final int UPDATETIME_FIELD_NUMBER- See Also:
-
READONLY_FIELD_NUMBER
public static final int READONLY_FIELD_NUMBER- See Also:
-
PENDING_FIELD_NUMBER
public static final int PENDING_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasType
public boolean hasType()optional .yamcs.protobuf.alarms.AlarmType type = 1;- Specified by:
hasTypein interfaceAlarmDataOrBuilder- Returns:
- Whether the type field is set.
-
getType
optional .yamcs.protobuf.alarms.AlarmType type = 1;- Specified by:
getTypein interfaceAlarmDataOrBuilder- Returns:
- The type.
-
hasTriggerTime
public boolean hasTriggerTime()optional .google.protobuf.Timestamp triggerTime = 2;- Specified by:
hasTriggerTimein interfaceAlarmDataOrBuilder- Returns:
- Whether the triggerTime field is set.
-
getTriggerTime
public com.google.protobuf.Timestamp getTriggerTime()optional .google.protobuf.Timestamp triggerTime = 2;- Specified by:
getTriggerTimein interfaceAlarmDataOrBuilder- Returns:
- The triggerTime.
-
getTriggerTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getTriggerTimeOrBuilder()optional .google.protobuf.Timestamp triggerTime = 2;- Specified by:
getTriggerTimeOrBuilderin interfaceAlarmDataOrBuilder
-
hasId
public boolean hasId()For parameter alarms, this is the id of the parameters For event alarms - the id.namespace is /yamcs/event/<EVENT_SOURCE>, unless EVENT_SOURCE starts with a "/" in which case the namespace is just the <EVENT_SOURCE> - the id.name is the <EVENT_TYPE>optional .yamcs.protobuf.NamedObjectId id = 3;- Specified by:
hasIdin interfaceAlarmDataOrBuilder- Returns:
- Whether the id field is set.
-
getId
For parameter alarms, this is the id of the parameters For event alarms - the id.namespace is /yamcs/event/<EVENT_SOURCE>, unless EVENT_SOURCE starts with a "/" in which case the namespace is just the <EVENT_SOURCE> - the id.name is the <EVENT_TYPE>optional .yamcs.protobuf.NamedObjectId id = 3;- Specified by:
getIdin interfaceAlarmDataOrBuilder- Returns:
- The id.
-
getIdOrBuilder
For parameter alarms, this is the id of the parameters For event alarms - the id.namespace is /yamcs/event/<EVENT_SOURCE>, unless EVENT_SOURCE starts with a "/" in which case the namespace is just the <EVENT_SOURCE> - the id.name is the <EVENT_TYPE>optional .yamcs.protobuf.NamedObjectId id = 3;- Specified by:
getIdOrBuilderin interfaceAlarmDataOrBuilder
-
hasSeqNum
public boolean hasSeqNum()Distinguisher between multiple alarms for the same id
optional uint32 seqNum = 4;- Specified by:
hasSeqNumin interfaceAlarmDataOrBuilder- Returns:
- Whether the seqNum field is set.
-
getSeqNum
public int getSeqNum()Distinguisher between multiple alarms for the same id
optional uint32 seqNum = 4;- Specified by:
getSeqNumin interfaceAlarmDataOrBuilder- Returns:
- The seqNum.
-
hasSeverity
public boolean hasSeverity()optional .yamcs.protobuf.alarms.AlarmSeverity severity = 5;- Specified by:
hasSeverityin interfaceAlarmDataOrBuilder- Returns:
- Whether the severity field is set.
-
getSeverity
optional .yamcs.protobuf.alarms.AlarmSeverity severity = 5;- Specified by:
getSeverityin interfaceAlarmDataOrBuilder- Returns:
- The severity.
-
hasViolations
public boolean hasViolations()Number of times the object was in alarm state
optional uint32 violations = 6;- Specified by:
hasViolationsin interfaceAlarmDataOrBuilder- Returns:
- Whether the violations field is set.
-
getViolations
public int getViolations()Number of times the object was in alarm state
optional uint32 violations = 6;- Specified by:
getViolationsin interfaceAlarmDataOrBuilder- Returns:
- The violations.
-
hasCount
public boolean hasCount()Number of samples received for the object
optional uint32 count = 7;- Specified by:
hasCountin interfaceAlarmDataOrBuilder- Returns:
- Whether the count field is set.
-
getCount
public int getCount()Number of samples received for the object
optional uint32 count = 7;- Specified by:
getCountin interfaceAlarmDataOrBuilder- Returns:
- The count.
-
hasAcknowledgeInfo
public boolean hasAcknowledgeInfo()optional .yamcs.protobuf.alarms.AcknowledgeInfo acknowledgeInfo = 8;- Specified by:
hasAcknowledgeInfoin interfaceAlarmDataOrBuilder- Returns:
- Whether the acknowledgeInfo field is set.
-
getAcknowledgeInfo
optional .yamcs.protobuf.alarms.AcknowledgeInfo acknowledgeInfo = 8;- Specified by:
getAcknowledgeInfoin interfaceAlarmDataOrBuilder- Returns:
- The acknowledgeInfo.
-
getAcknowledgeInfoOrBuilder
optional .yamcs.protobuf.alarms.AcknowledgeInfo acknowledgeInfo = 8;- Specified by:
getAcknowledgeInfoOrBuilderin interfaceAlarmDataOrBuilder
-
hasNotificationType
public boolean hasNotificationType()optional .yamcs.protobuf.alarms.AlarmNotificationType notificationType = 9;- Specified by:
hasNotificationTypein interfaceAlarmDataOrBuilder- Returns:
- Whether the notificationType field is set.
-
getNotificationType
optional .yamcs.protobuf.alarms.AlarmNotificationType notificationType = 9;- Specified by:
getNotificationTypein interfaceAlarmDataOrBuilder- Returns:
- The notificationType.
-
hasParameterDetail
public boolean hasParameterDetail()Additional detail in case the alarm is of type PARAMETER
optional .yamcs.protobuf.alarms.ParameterAlarmData parameterDetail = 10;- Specified by:
hasParameterDetailin interfaceAlarmDataOrBuilder- Returns:
- Whether the parameterDetail field is set.
-
getParameterDetail
Additional detail in case the alarm is of type PARAMETER
optional .yamcs.protobuf.alarms.ParameterAlarmData parameterDetail = 10;- Specified by:
getParameterDetailin interfaceAlarmDataOrBuilder- Returns:
- The parameterDetail.
-
getParameterDetailOrBuilder
Additional detail in case the alarm is of type PARAMETER
optional .yamcs.protobuf.alarms.ParameterAlarmData parameterDetail = 10;- Specified by:
getParameterDetailOrBuilderin interfaceAlarmDataOrBuilder
-
hasEventDetail
public boolean hasEventDetail()Additional detail in case the alarm is of type EVENT
optional .yamcs.protobuf.alarms.EventAlarmData eventDetail = 11;- Specified by:
hasEventDetailin interfaceAlarmDataOrBuilder- Returns:
- Whether the eventDetail field is set.
-
getEventDetail
Additional detail in case the alarm is of type EVENT
optional .yamcs.protobuf.alarms.EventAlarmData eventDetail = 11;- Specified by:
getEventDetailin interfaceAlarmDataOrBuilder- Returns:
- The eventDetail.
-
getEventDetailOrBuilder
Additional detail in case the alarm is of type EVENT
optional .yamcs.protobuf.alarms.EventAlarmData eventDetail = 11;- Specified by:
getEventDetailOrBuilderin interfaceAlarmDataOrBuilder
-
hasLatching
public boolean hasLatching()Whether the alarm will stay triggered even when the process is OK
optional bool latching = 12;- Specified by:
hasLatchingin interfaceAlarmDataOrBuilder- Returns:
- Whether the latching field is set.
-
getLatching
public boolean getLatching()Whether the alarm will stay triggered even when the process is OK
optional bool latching = 12;- Specified by:
getLatchingin interfaceAlarmDataOrBuilder- Returns:
- The latching.
-
hasProcessOK
public boolean hasProcessOK()if the process that generated the alarm is ok (i.e. parameter is within limits)
optional bool processOK = 13;- Specified by:
hasProcessOKin interfaceAlarmDataOrBuilder- Returns:
- Whether the processOK field is set.
-
getProcessOK
public boolean getProcessOK()if the process that generated the alarm is ok (i.e. parameter is within limits)
optional bool processOK = 13;- Specified by:
getProcessOKin interfaceAlarmDataOrBuilder- Returns:
- The processOK.
-
hasTriggered
public boolean hasTriggered()triggered is same with processOK except when the alarm is latching
optional bool triggered = 14;- Specified by:
hasTriggeredin interfaceAlarmDataOrBuilder- Returns:
- Whether the triggered field is set.
-
getTriggered
public boolean getTriggered()triggered is same with processOK except when the alarm is latching
optional bool triggered = 14;- Specified by:
getTriggeredin interfaceAlarmDataOrBuilder- Returns:
- The triggered.
-
hasAcknowledged
public boolean hasAcknowledged()if the operator has acknowledged the alarm
optional bool acknowledged = 15;- Specified by:
hasAcknowledgedin interfaceAlarmDataOrBuilder- Returns:
- Whether the acknowledged field is set.
-
getAcknowledged
public boolean getAcknowledged()if the operator has acknowledged the alarm
optional bool acknowledged = 15;- Specified by:
getAcknowledgedin interfaceAlarmDataOrBuilder- Returns:
- The acknowledged.
-
hasShelveInfo
public boolean hasShelveInfo()Details in case the alarm was shelved
optional .yamcs.protobuf.alarms.ShelveInfo shelveInfo = 16;- Specified by:
hasShelveInfoin interfaceAlarmDataOrBuilder- Returns:
- Whether the shelveInfo field is set.
-
getShelveInfo
Details in case the alarm was shelved
optional .yamcs.protobuf.alarms.ShelveInfo shelveInfo = 16;- Specified by:
getShelveInfoin interfaceAlarmDataOrBuilder- Returns:
- The shelveInfo.
-
getShelveInfoOrBuilder
Details in case the alarm was shelved
optional .yamcs.protobuf.alarms.ShelveInfo shelveInfo = 16;- Specified by:
getShelveInfoOrBuilderin interfaceAlarmDataOrBuilder
-
hasClearInfo
public boolean hasClearInfo()optional .yamcs.protobuf.alarms.ClearInfo clearInfo = 17;- Specified by:
hasClearInfoin interfaceAlarmDataOrBuilder- Returns:
- Whether the clearInfo field is set.
-
getClearInfo
optional .yamcs.protobuf.alarms.ClearInfo clearInfo = 17;- Specified by:
getClearInfoin interfaceAlarmDataOrBuilder- Returns:
- The clearInfo.
-
getClearInfoOrBuilder
optional .yamcs.protobuf.alarms.ClearInfo clearInfo = 17;- Specified by:
getClearInfoOrBuilderin interfaceAlarmDataOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Time when the alarm was last updated
optional .google.protobuf.Timestamp updateTime = 18;- Specified by:
hasUpdateTimein interfaceAlarmDataOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Time when the alarm was last updated
optional .google.protobuf.Timestamp updateTime = 18;- Specified by:
getUpdateTimein interfaceAlarmDataOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Time when the alarm was last updated
optional .google.protobuf.Timestamp updateTime = 18;- Specified by:
getUpdateTimeOrBuilderin interfaceAlarmDataOrBuilder
-
hasReadonly
public boolean hasReadonly()Whether this alarm may be updated by this processor. Set to false when the alarms are mirrored from another Yamcs instance.
optional bool readonly = 19;- Specified by:
hasReadonlyin interfaceAlarmDataOrBuilder- Returns:
- Whether the readonly field is set.
-
getReadonly
public boolean getReadonly()Whether this alarm may be updated by this processor. Set to false when the alarms are mirrored from another Yamcs instance.
optional bool readonly = 19;- Specified by:
getReadonlyin interfaceAlarmDataOrBuilder- Returns:
- The readonly.
-
hasPending
public boolean hasPending()An alarm is in pending state if the minViolations has not been reached The alarm is not actually triggered in this case This is only sent when true
optional bool pending = 20;- Specified by:
hasPendingin interfaceAlarmDataOrBuilder- Returns:
- Whether the pending field is set.
-
getPending
public boolean getPending()An alarm is in pending state if the minViolations has not been reached The alarm is not actually triggered in this case This is only sent when true
optional bool pending = 20;- Specified by:
getPendingin interfaceAlarmDataOrBuilder- Returns:
- The pending.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AlarmData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AlarmData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AlarmData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AlarmData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AlarmData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AlarmData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AlarmData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AlarmData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AlarmData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AlarmData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-