Package org.yamcs.protobuf
Interface AlgorithmStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AlgorithmStatus
,AlgorithmStatus.Builder
public interface AlgorithmStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
true if the algorithm is activeint
how many times the algorithm ran with errorsif the algorithm produced an error, the fields below contain the error message and the time when the error was raisedcom.google.protobuf.ByteString
if the algorithm produced an error, the fields below contain the error message and the time when the error was raisedcom.google.protobuf.Timestamp
optional .google.protobuf.Timestamp errorTime = 7;
com.google.protobuf.TimestampOrBuilder
optional .google.protobuf.Timestamp errorTime = 7;
long
total execution time in nanosecondscom.google.protobuf.Timestamp
when the algorithm was last runcom.google.protobuf.TimestampOrBuilder
when the algorithm was last runint
how many times the algorithm ran (successfully or with error)boolean
true if the tracing has been enabledboolean
true if the algorithm is activeboolean
how many times the algorithm ran with errorsboolean
if the algorithm produced an error, the fields below contain the error message and the time when the error was raisedboolean
optional .google.protobuf.Timestamp errorTime = 7;
boolean
total execution time in nanosecondsboolean
when the algorithm was last runboolean
how many times the algorithm ran (successfully or with error)boolean
true if the tracing has been enabledMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasActive
boolean hasActive()true if the algorithm is active
optional bool active = 1;
- Returns:
- Whether the active field is set.
-
getActive
boolean getActive()true if the algorithm is active
optional bool active = 1;
- Returns:
- The active.
-
hasTraceEnabled
boolean hasTraceEnabled()true if the tracing has been enabled
optional bool traceEnabled = 2;
- Returns:
- Whether the traceEnabled field is set.
-
getTraceEnabled
boolean getTraceEnabled()true if the tracing has been enabled
optional bool traceEnabled = 2;
- Returns:
- The traceEnabled.
-
hasRunCount
boolean hasRunCount()how many times the algorithm ran (successfully or with error)
optional uint32 runCount = 3;
- Returns:
- Whether the runCount field is set.
-
getRunCount
int getRunCount()how many times the algorithm ran (successfully or with error)
optional uint32 runCount = 3;
- Returns:
- The runCount.
-
hasLastRun
boolean hasLastRun()when the algorithm was last run
optional .google.protobuf.Timestamp lastRun = 4;
- Returns:
- Whether the lastRun field is set.
-
getLastRun
com.google.protobuf.Timestamp getLastRun()when the algorithm was last run
optional .google.protobuf.Timestamp lastRun = 4;
- Returns:
- The lastRun.
-
getLastRunOrBuilder
com.google.protobuf.TimestampOrBuilder getLastRunOrBuilder()when the algorithm was last run
optional .google.protobuf.Timestamp lastRun = 4;
-
hasErrorCount
boolean hasErrorCount()how many times the algorithm ran with errors
optional uint32 errorCount = 5;
- Returns:
- Whether the errorCount field is set.
-
getErrorCount
int getErrorCount()how many times the algorithm ran with errors
optional uint32 errorCount = 5;
- Returns:
- The errorCount.
-
hasErrorMessage
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;
- Returns:
- Whether the errorMessage field is set.
-
getErrorMessage
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;
- Returns:
- The errorMessage.
-
getErrorMessageBytes
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;
- Returns:
- The bytes for errorMessage.
-
hasErrorTime
boolean hasErrorTime()optional .google.protobuf.Timestamp errorTime = 7;
- Returns:
- Whether the errorTime field is set.
-
getErrorTime
com.google.protobuf.Timestamp getErrorTime()optional .google.protobuf.Timestamp errorTime = 7;
- Returns:
- The errorTime.
-
getErrorTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder()optional .google.protobuf.Timestamp errorTime = 7;
-
hasExecTimeNs
boolean hasExecTimeNs()total execution time in nanoseconds
optional uint64 execTimeNs = 8;
- Returns:
- Whether the execTimeNs field is set.
-
getExecTimeNs
long getExecTimeNs()total execution time in nanoseconds
optional uint64 execTimeNs = 8;
- Returns:
- The execTimeNs.
-