Package org.yamcs.protobuf
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
Modifier and TypeClassDescriptionstatic final class
Protobuf typeyamcs.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
Modifier and TypeFieldDescriptionstatic 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 TypeMethodDescriptionboolean
boolean
true if the algorithm is activestatic AlgorithmStatus
static final com.google.protobuf.Descriptors.Descriptor
int
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 runcom.google.protobuf.Parser<AlgorithmStatus>
int
how many times the algorithm ran (successfully or with error)int
boolean
true if the tracing has been enabledfinal com.google.protobuf.UnknownFieldSet
boolean
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 nanosecondsint
hashCode()
boolean
when the algorithm was last runboolean
how many times the algorithm ran (successfully or with error)boolean
true if the tracing has been enabledprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
static AlgorithmStatus.Builder
static AlgorithmStatus.Builder
newBuilder
(AlgorithmStatus prototype) protected AlgorithmStatus.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static AlgorithmStatus
parseDelimitedFrom
(InputStream input) static AlgorithmStatus
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AlgorithmStatus
parseFrom
(byte[] data) static AlgorithmStatus
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AlgorithmStatus
parseFrom
(com.google.protobuf.ByteString data) static AlgorithmStatus
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AlgorithmStatus
parseFrom
(com.google.protobuf.CodedInputStream input) static AlgorithmStatus
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AlgorithmStatus
parseFrom
(InputStream input) static AlgorithmStatus
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AlgorithmStatus
parseFrom
(ByteBuffer data) static AlgorithmStatus
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AlgorithmStatus>
parser()
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
-
ACTIVE_FIELD_NUMBER
public static final int ACTIVE_FIELD_NUMBER- See Also:
-
TRACEENABLED_FIELD_NUMBER
public static final int TRACEENABLED_FIELD_NUMBER- See Also:
-
RUNCOUNT_FIELD_NUMBER
public static final int RUNCOUNT_FIELD_NUMBER- See Also:
-
LASTRUN_FIELD_NUMBER
public static final int LASTRUN_FIELD_NUMBER- See Also:
-
ERRORCOUNT_FIELD_NUMBER
public static final int ERRORCOUNT_FIELD_NUMBER- See Also:
-
ERRORMESSAGE_FIELD_NUMBER
public static final int ERRORMESSAGE_FIELD_NUMBER- See Also:
-
ERRORTIME_FIELD_NUMBER
public static final int ERRORTIME_FIELD_NUMBER- See Also:
-
EXECTIMENS_FIELD_NUMBER
public static final int EXECTIMENS_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.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 classcom.google.protobuf.GeneratedMessageV3
-
hasActive
public boolean hasActive()true if the algorithm is active
optional bool active = 1;
- Specified by:
hasActive
in interfaceAlgorithmStatusOrBuilder
- 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 interfaceAlgorithmStatusOrBuilder
- Returns:
- The active.
-
hasTraceEnabled
public boolean hasTraceEnabled()true if the tracing has been enabled
optional bool traceEnabled = 2;
- Specified by:
hasTraceEnabled
in interfaceAlgorithmStatusOrBuilder
- 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 interfaceAlgorithmStatusOrBuilder
- 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 interfaceAlgorithmStatusOrBuilder
- 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 interfaceAlgorithmStatusOrBuilder
- Returns:
- The runCount.
-
hasLastRun
public boolean hasLastRun()when the algorithm was last run
optional .google.protobuf.Timestamp lastRun = 4;
- Specified by:
hasLastRun
in interfaceAlgorithmStatusOrBuilder
- 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 interfaceAlgorithmStatusOrBuilder
- 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 interfaceAlgorithmStatusOrBuilder
-
hasErrorCount
public boolean hasErrorCount()how many times the algorithm ran with errors
optional uint32 errorCount = 5;
- Specified by:
hasErrorCount
in interfaceAlgorithmStatusOrBuilder
- 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 interfaceAlgorithmStatusOrBuilder
- 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 interfaceAlgorithmStatusOrBuilder
- Returns:
- Whether the errorMessage field is set.
-
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 interfaceAlgorithmStatusOrBuilder
- 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 interfaceAlgorithmStatusOrBuilder
- Returns:
- The bytes for errorMessage.
-
hasErrorTime
public boolean hasErrorTime()optional .google.protobuf.Timestamp errorTime = 7;
- Specified by:
hasErrorTime
in interfaceAlgorithmStatusOrBuilder
- Returns:
- Whether the errorTime field is set.
-
getErrorTime
public com.google.protobuf.Timestamp getErrorTime()optional .google.protobuf.Timestamp errorTime = 7;
- Specified by:
getErrorTime
in interfaceAlgorithmStatusOrBuilder
- Returns:
- The errorTime.
-
getErrorTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder()optional .google.protobuf.Timestamp errorTime = 7;
- Specified by:
getErrorTimeOrBuilder
in interfaceAlgorithmStatusOrBuilder
-
hasExecTimeNs
public boolean hasExecTimeNs()total execution time in nanoseconds
optional uint64 execTimeNs = 8;
- Specified by:
hasExecTimeNs
in interfaceAlgorithmStatusOrBuilder
- Returns:
- Whether the execTimeNs field is set.
-
getExecTimeNs
public long getExecTimeNs()total execution time in nanoseconds
optional uint64 execTimeNs = 8;
- Specified by:
getExecTimeNs
in interfaceAlgorithmStatusOrBuilder
- Returns:
- The execTimeNs.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.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
- Throws:
IOException
-
parseFrom
public static AlgorithmStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AlgorithmStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-