Class AlgorithmStatus

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.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:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final com.google.protobuf.Parser<AlgorithmStatus>
    Deprecated.
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
    true if the algorithm is active
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    int
    how many times the algorithm ran with errors
    if the algorithm produced an error, the fields below contain the error message and the time when the error was raised
    com.google.protobuf.ByteString
    if the algorithm produced an error, the fields below contain the error message and the time when the error was raised
    com.google.protobuf.Timestamp
    optional .google.protobuf.Timestamp errorTime = 7;
    com.google.protobuf.TimestampOrBuilder
    optional .google.protobuf.Timestamp errorTime = 7;
    long
    total execution time in nanoseconds
    com.google.protobuf.Timestamp
    when the algorithm was last run
    com.google.protobuf.TimestampOrBuilder
    when the algorithm was last run
    com.google.protobuf.Parser<AlgorithmStatus>
     
    int
    how many times the algorithm ran (successfully or with error)
    int
     
    boolean
    true if the tracing has been enabled
    final com.google.protobuf.UnknownFieldSet
     
    boolean
    true if the algorithm is active
    boolean
    how many times the algorithm ran with errors
    boolean
    if the algorithm produced an error, the fields below contain the error message and the time when the error was raised
    boolean
    optional .google.protobuf.Timestamp errorTime = 7;
    boolean
    total execution time in nanoseconds
    int
     
    boolean
    when the algorithm was last run
    boolean
    how many times the algorithm ran (successfully or with error)
    boolean
    true if the tracing has been enabled
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<AlgorithmStatus>
     
     
    void
    writeTo(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

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
  • Field Details

  • Method Details

    • 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.
    • getErrorTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder()
      optional .google.protobuf.Timestamp errorTime = 7;
      Specified by:
      getErrorTimeOrBuilder in interface AlgorithmStatusOrBuilder
    • 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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AlgorithmStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AlgorithmStatus parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AlgorithmStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AlgorithmStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • 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
    • newBuilder

      public static AlgorithmStatus.Builder newBuilder()
    • newBuilder

      public static AlgorithmStatus.Builder newBuilder(AlgorithmStatus prototype)
    • 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
    • getDefaultInstance

      public static AlgorithmStatus getDefaultInstance()
    • 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