Class AlgorithmStatus

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, AlgorithmStatusOrBuilder

    public final class AlgorithmStatus
    extends com.google.protobuf.GeneratedMessageV3
    implements AlgorithmStatusOrBuilder
    Protobuf type yamcs.protobuf.processing.AlgorithmStatus
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  AlgorithmStatus.Builder
      Protobuf type yamcs.protobuf.processing.AlgorithmStatus
      • 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
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • 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
      • hasActive

        public boolean hasActive()
        true if the algorithm is active
         
        optional bool active = 1;
        Specified by:
        hasActive in interface AlgorithmStatusOrBuilder
        Returns:
        Whether the active field is set.
      • getActive

        public boolean getActive()
        true if the algorithm is active
         
        optional bool active = 1;
        Specified by:
        getActive in interface AlgorithmStatusOrBuilder
        Returns:
        The active.
      • hasTraceEnabled

        public boolean hasTraceEnabled()
        true if the tracing has been enabled 
         
        optional bool traceEnabled = 2;
        Specified by:
        hasTraceEnabled in interface AlgorithmStatusOrBuilder
        Returns:
        Whether the traceEnabled field is set.
      • getTraceEnabled

        public boolean getTraceEnabled()
        true if the tracing has been enabled 
         
        optional bool traceEnabled = 2;
        Specified by:
        getTraceEnabled in interface AlgorithmStatusOrBuilder
        Returns:
        The traceEnabled.
      • hasRunCount

        public boolean hasRunCount()
         how many times the algorithm ran (successfully or with error)
         
        optional uint32 runCount = 3;
        Specified by:
        hasRunCount in interface AlgorithmStatusOrBuilder
        Returns:
        Whether the runCount field is set.
      • getRunCount

        public int getRunCount()
         how many times the algorithm ran (successfully or with error)
         
        optional uint32 runCount = 3;
        Specified by:
        getRunCount in interface AlgorithmStatusOrBuilder
        Returns:
        The runCount.
      • hasLastRun

        public boolean hasLastRun()
         when the algorithm was last run
         
        optional .google.protobuf.Timestamp lastRun = 4;
        Specified by:
        hasLastRun in interface AlgorithmStatusOrBuilder
        Returns:
        Whether the lastRun field is set.
      • getLastRun

        public com.google.protobuf.Timestamp getLastRun()
         when the algorithm was last run
         
        optional .google.protobuf.Timestamp lastRun = 4;
        Specified by:
        getLastRun in interface AlgorithmStatusOrBuilder
        Returns:
        The lastRun.
      • getLastRunOrBuilder

        public com.google.protobuf.TimestampOrBuilder getLastRunOrBuilder()
         when the algorithm was last run
         
        optional .google.protobuf.Timestamp lastRun = 4;
        Specified by:
        getLastRunOrBuilder in interface AlgorithmStatusOrBuilder
      • hasErrorCount

        public boolean hasErrorCount()
         how many times the algorithm ran with errors
         
        optional uint32 errorCount = 5;
        Specified by:
        hasErrorCount in interface AlgorithmStatusOrBuilder
        Returns:
        Whether the errorCount field is set.
      • getErrorCount

        public int getErrorCount()
         how many times the algorithm ran with errors
         
        optional uint32 errorCount = 5;
        Specified by:
        getErrorCount in interface AlgorithmStatusOrBuilder
        Returns:
        The errorCount.
      • hasErrorMessage

        public boolean hasErrorMessage()
         if the algorithm produced an error, 
         the fields below contain the error message and the time when the error was raised 
         
        optional string errorMessage = 6;
        Specified by:
        hasErrorMessage in interface AlgorithmStatusOrBuilder
        Returns:
        Whether the errorMessage field is set.
      • getErrorMessage

        public String getErrorMessage()
         if the algorithm produced an error, 
         the fields below contain the error message and the time when the error was raised 
         
        optional string errorMessage = 6;
        Specified by:
        getErrorMessage in interface AlgorithmStatusOrBuilder
        Returns:
        The errorMessage.
      • getErrorMessageBytes

        public com.google.protobuf.ByteString getErrorMessageBytes()
         if the algorithm produced an error, 
         the fields below contain the error message and the time when the error was raised 
         
        optional string errorMessage = 6;
        Specified by:
        getErrorMessageBytes in interface AlgorithmStatusOrBuilder
        Returns:
        The bytes for errorMessage.
      • hasErrorTime

        public boolean hasErrorTime()
        optional .google.protobuf.Timestamp errorTime = 7;
        Specified by:
        hasErrorTime in interface AlgorithmStatusOrBuilder
        Returns:
        Whether the errorTime field is set.
      • getErrorTime

        public com.google.protobuf.Timestamp getErrorTime()
        optional .google.protobuf.Timestamp errorTime = 7;
        Specified by:
        getErrorTime in interface AlgorithmStatusOrBuilder
        Returns:
        The errorTime.
      • hasExecTimeNs

        public boolean hasExecTimeNs()
        total execution time in nanoseconds
         
        optional uint64 execTimeNs = 8;
        Specified by:
        hasExecTimeNs in interface AlgorithmStatusOrBuilder
        Returns:
        Whether the execTimeNs field is set.
      • getExecTimeNs

        public long getExecTimeNs()
        total execution time in nanoseconds
         
        optional uint64 execTimeNs = 8;
        Specified by:
        getExecTimeNs in interface AlgorithmStatusOrBuilder
        Returns:
        The execTimeNs.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static AlgorithmStatus parseFrom​(ByteBuffer data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AlgorithmStatus parseFrom​(ByteBuffer data,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AlgorithmStatus parseFrom​(com.google.protobuf.ByteString data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AlgorithmStatus parseFrom​(com.google.protobuf.ByteString data,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AlgorithmStatus parseFrom​(byte[] data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AlgorithmStatus parseFrom​(byte[] data,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AlgorithmStatus parseFrom​(com.google.protobuf.CodedInputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws IOException
        Throws:
        IOException
      • newBuilderForType

        public AlgorithmStatus.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public AlgorithmStatus.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected AlgorithmStatus.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • parser

        public static com.google.protobuf.Parser<AlgorithmStatus> parser()
      • getParserForType

        public com.google.protobuf.Parser<AlgorithmStatus> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public AlgorithmStatus getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder