java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class AlgorithmStatus
extends com.google.protobuf.GeneratedMessage
implements AlgorithmStatusOrBuilder
Protobuf type
yamcs.protobuf.processing.AlgorithmStatus- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeyamcs.protobuf.processing.AlgorithmStatusNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleantrue if the algorithm is activestatic AlgorithmStatusstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorinthow many times the algorithm ran with errorsError message in case the algorithm produced an error.com.google.protobuf.ByteStringError message in case the algorithm produced an error.com.google.protobuf.TimestampError time in case the algorithm produced an error.com.google.protobuf.TimestampOrBuilderError time in case the algorithm produced an error.longtotal execution time in nanosecondscom.google.protobuf.Timestampwhen the algorithm was last runcom.google.protobuf.TimestampOrBuilderwhen the algorithm was last runcom.google.protobuf.Parser<AlgorithmStatus> inthow many times the algorithm ran (successfully or with error)intbooleantrue if the tracing has been enabledbooleantrue if the algorithm is activebooleanhow many times the algorithm ran with errorsbooleanError message in case the algorithm produced an error.booleanError time in case the algorithm produced an error.booleantotal execution time in nanosecondsinthashCode()booleanwhen the algorithm was last runbooleanhow many times the algorithm ran (successfully or with error)booleantrue if the tracing has been enabledprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic AlgorithmStatus.Builderstatic AlgorithmStatus.BuildernewBuilder(AlgorithmStatus prototype) protected AlgorithmStatus.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AlgorithmStatusparseDelimitedFrom(InputStream input) static AlgorithmStatusparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AlgorithmStatusparseFrom(byte[] data) static AlgorithmStatusparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AlgorithmStatusparseFrom(com.google.protobuf.ByteString data) static AlgorithmStatusparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AlgorithmStatusparseFrom(com.google.protobuf.CodedInputStream input) static AlgorithmStatusparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AlgorithmStatusparseFrom(InputStream input) static AlgorithmStatusparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AlgorithmStatusparseFrom(ByteBuffer data) static AlgorithmStatusparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AlgorithmStatus> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, 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:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasActive
public boolean hasActive()true if the algorithm is active
optional bool active = 1;- Specified by:
hasActivein interfaceAlgorithmStatusOrBuilder- Returns:
- Whether the active field is set.
-
getActive
public boolean getActive()true if the algorithm is active
optional bool active = 1;- Specified by:
getActivein interfaceAlgorithmStatusOrBuilder- Returns:
- The active.
-
hasTraceEnabled
public boolean hasTraceEnabled()true if the tracing has been enabled
optional bool traceEnabled = 2;- Specified by:
hasTraceEnabledin 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:
getTraceEnabledin interfaceAlgorithmStatusOrBuilder- Returns:
- The traceEnabled.
-
hasRunCount
public boolean hasRunCount()how many times the algorithm ran (successfully or with error)
optional uint32 runCount = 3;- Specified by:
hasRunCountin 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:
getRunCountin interfaceAlgorithmStatusOrBuilder- Returns:
- The runCount.
-
hasLastRun
public boolean hasLastRun()when the algorithm was last run
optional .google.protobuf.Timestamp lastRun = 4;- Specified by:
hasLastRunin 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:
getLastRunin 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:
getLastRunOrBuilderin interfaceAlgorithmStatusOrBuilder
-
hasErrorCount
public boolean hasErrorCount()how many times the algorithm ran with errors
optional uint32 errorCount = 5;- Specified by:
hasErrorCountin 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:
getErrorCountin interfaceAlgorithmStatusOrBuilder- Returns:
- The errorCount.
-
hasErrorMessage
public boolean hasErrorMessage()Error message in case the algorithm produced an error.
optional string errorMessage = 6;- Specified by:
hasErrorMessagein interfaceAlgorithmStatusOrBuilder- Returns:
- Whether the errorMessage field is set.
-
getErrorMessage
Error message in case the algorithm produced an error.
optional string errorMessage = 6;- Specified by:
getErrorMessagein interfaceAlgorithmStatusOrBuilder- Returns:
- The errorMessage.
-
getErrorMessageBytes
public com.google.protobuf.ByteString getErrorMessageBytes()Error message in case the algorithm produced an error.
optional string errorMessage = 6;- Specified by:
getErrorMessageBytesin interfaceAlgorithmStatusOrBuilder- Returns:
- The bytes for errorMessage.
-
hasErrorTime
public boolean hasErrorTime()Error time in case the algorithm produced an error.
optional .google.protobuf.Timestamp errorTime = 7;- Specified by:
hasErrorTimein interfaceAlgorithmStatusOrBuilder- Returns:
- Whether the errorTime field is set.
-
getErrorTime
public com.google.protobuf.Timestamp getErrorTime()Error time in case the algorithm produced an error.
optional .google.protobuf.Timestamp errorTime = 7;- Specified by:
getErrorTimein interfaceAlgorithmStatusOrBuilder- Returns:
- The errorTime.
-
getErrorTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder()Error time in case the algorithm produced an error.
optional .google.protobuf.Timestamp errorTime = 7;- Specified by:
getErrorTimeOrBuilderin interfaceAlgorithmStatusOrBuilder
-
hasExecTimeNs
public boolean hasExecTimeNs()total execution time in nanoseconds
optional uint64 execTimeNs = 8;- Specified by:
hasExecTimeNsin interfaceAlgorithmStatusOrBuilder- Returns:
- Whether the execTimeNs field is set.
-
getExecTimeNs
public long getExecTimeNs()total execution time in nanoseconds
optional uint64 execTimeNs = 8;- Specified by:
getExecTimeNsin interfaceAlgorithmStatusOrBuilder- Returns:
- The execTimeNs.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AlgorithmStatus.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-