Package org.yamcs.protobuf.alarms
Class GlobalAlarmStatus
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.yamcs.protobuf.alarms.GlobalAlarmStatus
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,GlobalAlarmStatusOrBuilder
public final class GlobalAlarmStatus extends com.google.protobuf.GeneratedMessageV3 implements GlobalAlarmStatusOrBuilder
Protobuf typeyamcs.protobuf.alarms.GlobalAlarmStatus- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGlobalAlarmStatus.BuilderProtobuf typeyamcs.protobuf.alarms.GlobalAlarmStatus-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intACKNOWLEDGEDACTIVE_FIELD_NUMBERstatic intACKNOWLEDGEDCOUNT_FIELD_NUMBERstatic com.google.protobuf.Parser<GlobalAlarmStatus>PARSERDeprecated.static intSHELVEDACTIVE_FIELD_NUMBERstatic intSHELVEDCOUNT_FIELD_NUMBERstatic intUNACKNOWLEDGEDACTIVE_FIELD_NUMBERstatic intUNACKNOWLEDGEDCOUNT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetAcknowledgedActive()true if there is at least one acknowledged alarm not OK (i.e. latest value of parameter still out of limits)intgetAcknowledgedCount()the number of active ackonwledged alarmsstatic GlobalAlarmStatusgetDefaultInstance()GlobalAlarmStatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<GlobalAlarmStatus>getParserForType()intgetSerializedSize()booleangetShelvedActive()true if there is at least one shelved alarm not OK (i.e. latest value of parameter still out of limits)intgetShelvedCount()the number of shelved alarmsbooleangetUnacknowledgedActive()true if there is at least one unacknowledged alarm not OK (i.e. latest value of parameter still out of limits)intgetUnacknowledgedCount()the number of active unacknoleged alarmscom.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAcknowledgedActive()true if there is at least one acknowledged alarm not OK (i.e. latest value of parameter still out of limits)booleanhasAcknowledgedCount()the number of active ackonwledged alarmsinthashCode()booleanhasShelvedActive()true if there is at least one shelved alarm not OK (i.e. latest value of parameter still out of limits)booleanhasShelvedCount()the number of shelved alarmsbooleanhasUnacknowledgedActive()true if there is at least one unacknowledged alarm not OK (i.e. latest value of parameter still out of limits)booleanhasUnacknowledgedCount()the number of active unacknoleged alarmsprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static GlobalAlarmStatus.BuildernewBuilder()static GlobalAlarmStatus.BuildernewBuilder(GlobalAlarmStatus prototype)GlobalAlarmStatus.BuildernewBuilderForType()protected GlobalAlarmStatus.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static GlobalAlarmStatusparseDelimitedFrom(InputStream input)static GlobalAlarmStatusparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GlobalAlarmStatusparseFrom(byte[] data)static GlobalAlarmStatusparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GlobalAlarmStatusparseFrom(com.google.protobuf.ByteString data)static GlobalAlarmStatusparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GlobalAlarmStatusparseFrom(com.google.protobuf.CodedInputStream input)static GlobalAlarmStatusparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GlobalAlarmStatusparseFrom(InputStream input)static GlobalAlarmStatusparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GlobalAlarmStatusparseFrom(ByteBuffer data)static GlobalAlarmStatusparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<GlobalAlarmStatus>parser()GlobalAlarmStatus.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
UNACKNOWLEDGEDCOUNT_FIELD_NUMBER
public static final int UNACKNOWLEDGEDCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNACKNOWLEDGEDACTIVE_FIELD_NUMBER
public static final int UNACKNOWLEDGEDACTIVE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACKNOWLEDGEDCOUNT_FIELD_NUMBER
public static final int ACKNOWLEDGEDCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACKNOWLEDGEDACTIVE_FIELD_NUMBER
public static final int ACKNOWLEDGEDACTIVE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHELVEDCOUNT_FIELD_NUMBER
public static final int SHELVEDCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHELVEDACTIVE_FIELD_NUMBER
public static final int SHELVEDACTIVE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<GlobalAlarmStatus> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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
-
hasUnacknowledgedCount
public boolean hasUnacknowledgedCount()
the number of active unacknoleged alarms
optional int32 unacknowledgedCount = 1;- Specified by:
hasUnacknowledgedCountin interfaceGlobalAlarmStatusOrBuilder- Returns:
- Whether the unacknowledgedCount field is set.
-
getUnacknowledgedCount
public int getUnacknowledgedCount()
the number of active unacknoleged alarms
optional int32 unacknowledgedCount = 1;- Specified by:
getUnacknowledgedCountin interfaceGlobalAlarmStatusOrBuilder- Returns:
- The unacknowledgedCount.
-
hasUnacknowledgedActive
public boolean hasUnacknowledgedActive()
true if there is at least one unacknowledged alarm not OK (i.e. latest value of parameter still out of limits)
optional bool unacknowledgedActive = 2;- Specified by:
hasUnacknowledgedActivein interfaceGlobalAlarmStatusOrBuilder- Returns:
- Whether the unacknowledgedActive field is set.
-
getUnacknowledgedActive
public boolean getUnacknowledgedActive()
true if there is at least one unacknowledged alarm not OK (i.e. latest value of parameter still out of limits)
optional bool unacknowledgedActive = 2;- Specified by:
getUnacknowledgedActivein interfaceGlobalAlarmStatusOrBuilder- Returns:
- The unacknowledgedActive.
-
hasAcknowledgedCount
public boolean hasAcknowledgedCount()
the number of active ackonwledged alarms
optional int32 acknowledgedCount = 3;- Specified by:
hasAcknowledgedCountin interfaceGlobalAlarmStatusOrBuilder- Returns:
- Whether the acknowledgedCount field is set.
-
getAcknowledgedCount
public int getAcknowledgedCount()
the number of active ackonwledged alarms
optional int32 acknowledgedCount = 3;- Specified by:
getAcknowledgedCountin interfaceGlobalAlarmStatusOrBuilder- Returns:
- The acknowledgedCount.
-
hasAcknowledgedActive
public boolean hasAcknowledgedActive()
true if there is at least one acknowledged alarm not OK (i.e. latest value of parameter still out of limits)
optional bool acknowledgedActive = 4;- Specified by:
hasAcknowledgedActivein interfaceGlobalAlarmStatusOrBuilder- Returns:
- Whether the acknowledgedActive field is set.
-
getAcknowledgedActive
public boolean getAcknowledgedActive()
true if there is at least one acknowledged alarm not OK (i.e. latest value of parameter still out of limits)
optional bool acknowledgedActive = 4;- Specified by:
getAcknowledgedActivein interfaceGlobalAlarmStatusOrBuilder- Returns:
- The acknowledgedActive.
-
hasShelvedCount
public boolean hasShelvedCount()
the number of shelved alarms
optional int32 shelvedCount = 5;- Specified by:
hasShelvedCountin interfaceGlobalAlarmStatusOrBuilder- Returns:
- Whether the shelvedCount field is set.
-
getShelvedCount
public int getShelvedCount()
the number of shelved alarms
optional int32 shelvedCount = 5;- Specified by:
getShelvedCountin interfaceGlobalAlarmStatusOrBuilder- Returns:
- The shelvedCount.
-
hasShelvedActive
public boolean hasShelvedActive()
true if there is at least one shelved alarm not OK (i.e. latest value of parameter still out of limits)
optional bool shelvedActive = 6;- Specified by:
hasShelvedActivein interfaceGlobalAlarmStatusOrBuilder- Returns:
- Whether the shelvedActive field is set.
-
getShelvedActive
public boolean getShelvedActive()
true if there is at least one shelved alarm not OK (i.e. latest value of parameter still out of limits)
optional bool shelvedActive = 6;- Specified by:
getShelvedActivein interfaceGlobalAlarmStatusOrBuilder- Returns:
- The shelvedActive.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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 GlobalAlarmStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GlobalAlarmStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GlobalAlarmStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GlobalAlarmStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GlobalAlarmStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GlobalAlarmStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GlobalAlarmStatus parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GlobalAlarmStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GlobalAlarmStatus parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GlobalAlarmStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static GlobalAlarmStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GlobalAlarmStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public GlobalAlarmStatus.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GlobalAlarmStatus.Builder newBuilder()
-
newBuilder
public static GlobalAlarmStatus.Builder newBuilder(GlobalAlarmStatus prototype)
-
toBuilder
public GlobalAlarmStatus.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GlobalAlarmStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static GlobalAlarmStatus getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GlobalAlarmStatus> parser()
-
getParserForType
public com.google.protobuf.Parser<GlobalAlarmStatus> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GlobalAlarmStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-