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 typeyamcs.protobuf.processing.AlgorithmStatus- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAlgorithmStatus.BuilderProtobuf 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
-
-
Field Summary
Fields Modifier and Type Field Description static intACTIVE_FIELD_NUMBERstatic intERRORCOUNT_FIELD_NUMBERstatic intERRORMESSAGE_FIELD_NUMBERstatic intERRORTIME_FIELD_NUMBERstatic intEXECTIMENS_FIELD_NUMBERstatic intLASTRUN_FIELD_NUMBERstatic com.google.protobuf.Parser<AlgorithmStatus>PARSERDeprecated.static intRUNCOUNT_FIELD_NUMBERstatic intTRACEENABLED_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetActive()true if the algorithm is activestatic AlgorithmStatusgetDefaultInstance()AlgorithmStatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()intgetErrorCount()how many times the algorithm ran with errorsStringgetErrorMessage()if the algorithm produced an error, the fields below contain the error message and the time when the error was raisedcom.google.protobuf.ByteStringgetErrorMessageBytes()if the algorithm produced an error, the fields below contain the error message and the time when the error was raisedcom.google.protobuf.TimestampgetErrorTime()optional .google.protobuf.Timestamp errorTime = 7;com.google.protobuf.TimestampOrBuildergetErrorTimeOrBuilder()optional .google.protobuf.Timestamp errorTime = 7;longgetExecTimeNs()total execution time in nanosecondscom.google.protobuf.TimestampgetLastRun()when the algorithm was last runcom.google.protobuf.TimestampOrBuildergetLastRunOrBuilder()when the algorithm was last runcom.google.protobuf.Parser<AlgorithmStatus>getParserForType()intgetRunCount()how many times the algorithm ran (successfully or with error)intgetSerializedSize()booleangetTraceEnabled()true if the tracing has been enabledcom.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasActive()true if the algorithm is activebooleanhasErrorCount()how many times the algorithm ran with errorsbooleanhasErrorMessage()if the algorithm produced an error, the fields below contain the error message and the time when the error was raisedbooleanhasErrorTime()optional .google.protobuf.Timestamp errorTime = 7;booleanhasExecTimeNs()total execution time in nanosecondsinthashCode()booleanhasLastRun()when the algorithm was last runbooleanhasRunCount()how many times the algorithm ran (successfully or with error)booleanhasTraceEnabled()true if the tracing has been enabledprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static AlgorithmStatus.BuildernewBuilder()static AlgorithmStatus.BuildernewBuilder(AlgorithmStatus prototype)AlgorithmStatus.BuildernewBuilderForType()protected AlgorithmStatus.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.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()AlgorithmStatus.BuildertoBuilder()voidwriteTo(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, makeExtensionsImmutable, 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
-
-
-
-
Field Detail
-
ACTIVE_FIELD_NUMBER
public static final int ACTIVE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRACEENABLED_FIELD_NUMBER
public static final int TRACEENABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUNCOUNT_FIELD_NUMBER
public static final int RUNCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LASTRUN_FIELD_NUMBER
public static final int LASTRUN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERRORCOUNT_FIELD_NUMBER
public static final int ERRORCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERRORMESSAGE_FIELD_NUMBER
public static final int ERRORMESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERRORTIME_FIELD_NUMBER
public static final int ERRORTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXECTIMENS_FIELD_NUMBER
public static final int EXECTIMENS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<AlgorithmStatus> PARSER
Deprecated.
-
-
Method Detail
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasActive
public boolean hasActive()
true if the algorithm is active
optional bool active = 1;- Specified by:
hasActivein interfaceAlgorithmStatusOrBuilder
-
getActive
public boolean getActive()
true if the algorithm is active
optional bool active = 1;- Specified by:
getActivein interfaceAlgorithmStatusOrBuilder
-
hasTraceEnabled
public boolean hasTraceEnabled()
true if the tracing has been enabled
optional bool traceEnabled = 2;- Specified by:
hasTraceEnabledin interfaceAlgorithmStatusOrBuilder
-
getTraceEnabled
public boolean getTraceEnabled()
true if the tracing has been enabled
optional bool traceEnabled = 2;- Specified by:
getTraceEnabledin interfaceAlgorithmStatusOrBuilder
-
hasRunCount
public boolean hasRunCount()
how many times the algorithm ran (successfully or with error)
optional uint32 runCount = 3;- Specified by:
hasRunCountin interfaceAlgorithmStatusOrBuilder
-
getRunCount
public int getRunCount()
how many times the algorithm ran (successfully or with error)
optional uint32 runCount = 3;- Specified by:
getRunCountin interfaceAlgorithmStatusOrBuilder
-
hasLastRun
public boolean hasLastRun()
when the algorithm was last run
optional .google.protobuf.Timestamp lastRun = 4;- Specified by:
hasLastRunin interfaceAlgorithmStatusOrBuilder
-
getLastRun
public com.google.protobuf.Timestamp getLastRun()
when the algorithm was last run
optional .google.protobuf.Timestamp lastRun = 4;- Specified by:
getLastRunin interfaceAlgorithmStatusOrBuilder
-
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
-
getErrorCount
public int getErrorCount()
how many times the algorithm ran with errors
optional uint32 errorCount = 5;- Specified by:
getErrorCountin interfaceAlgorithmStatusOrBuilder
-
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:
hasErrorMessagein interfaceAlgorithmStatusOrBuilder
-
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:
getErrorMessagein interfaceAlgorithmStatusOrBuilder
-
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:
getErrorMessageBytesin interfaceAlgorithmStatusOrBuilder
-
hasErrorTime
public boolean hasErrorTime()
optional .google.protobuf.Timestamp errorTime = 7;- Specified by:
hasErrorTimein interfaceAlgorithmStatusOrBuilder
-
getErrorTime
public com.google.protobuf.Timestamp getErrorTime()
optional .google.protobuf.Timestamp errorTime = 7;- Specified by:
getErrorTimein interfaceAlgorithmStatusOrBuilder
-
getErrorTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder()
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
-
getExecTimeNs
public long getExecTimeNs()
total execution time in nanoseconds
optional uint64 execTimeNs = 8;- Specified by:
getExecTimeNsin interfaceAlgorithmStatusOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AlgorithmStatus.Builder newBuilder()
-
newBuilder
public static AlgorithmStatus.Builder newBuilder(AlgorithmStatus prototype)
-
toBuilder
public AlgorithmStatus.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AlgorithmStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AlgorithmStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-