java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<AlgorithmStatus.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<AlgorithmStatus.Builder>
org.yamcs.protobuf.AlgorithmStatus.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,AlgorithmStatusOrBuilder
- Enclosing class:
AlgorithmStatus
public static final class AlgorithmStatus.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<AlgorithmStatus.Builder>
implements AlgorithmStatusOrBuilder
Protobuf type
yamcs.protobuf.processing.AlgorithmStatus-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()true if the algorithm is activehow many times the algorithm ran with errorsError message in case the algorithm produced an error.Error time in case the algorithm produced an error.total execution time in nanosecondsclearField(com.google.protobuf.Descriptors.FieldDescriptor field) when the algorithm was last runclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) how many times the algorithm ran (successfully or with error)true if the tracing has been enabledclone()booleantrue if the algorithm is activestatic 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.Timestamp.BuilderError 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.Timestamp.Builderwhen the algorithm was last runcom.google.protobuf.TimestampOrBuilderwhen the algorithm was last runinthow many times the algorithm ran (successfully or with error)booleantrue 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 nanosecondsbooleanwhen the algorithm was last runbooleanhow many times the algorithm ran (successfully or with error)booleantrue if the tracing has been enabledprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeErrorTime(com.google.protobuf.Timestamp value) Error time in case the algorithm produced an error.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(AlgorithmStatus other) mergeLastRun(com.google.protobuf.Timestamp value) when the algorithm was last runfinal AlgorithmStatus.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setActive(boolean value) true if the algorithm is activesetErrorCount(int value) how many times the algorithm ran with errorssetErrorMessage(String value) Error message in case the algorithm produced an error.setErrorMessageBytes(com.google.protobuf.ByteString value) Error message in case the algorithm produced an error.setErrorTime(com.google.protobuf.Timestamp value) Error time in case the algorithm produced an error.setErrorTime(com.google.protobuf.Timestamp.Builder builderForValue) Error time in case the algorithm produced an error.setExecTimeNs(long value) total execution time in nanosecondssetLastRun(com.google.protobuf.Timestamp value) when the algorithm was last runsetLastRun(com.google.protobuf.Timestamp.Builder builderForValue) when the algorithm was last runsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRunCount(int value) how many times the algorithm ran (successfully or with error)setTraceEnabled(boolean value) true if the tracing has been enabledfinal AlgorithmStatus.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<AlgorithmStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmStatus.Builder>
-
setField
public AlgorithmStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmStatus.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmStatus.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmStatus.Builder>
-
setRepeatedField
public AlgorithmStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmStatus.Builder>
-
addRepeatedField
public AlgorithmStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmStatus.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AlgorithmStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmStatus.Builder>
-
mergeFrom
public AlgorithmStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AlgorithmStatus.Builder>- Throws:
IOException
-
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.
-
setActive
true if the algorithm is active
optional bool active = 1;- Parameters:
value- The active to set.- Returns:
- This builder for chaining.
-
clearActive
true if the algorithm is active
optional bool active = 1;- Returns:
- This builder for chaining.
-
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.
-
setTraceEnabled
true if the tracing has been enabled
optional bool traceEnabled = 2;- Parameters:
value- The traceEnabled to set.- Returns:
- This builder for chaining.
-
clearTraceEnabled
true if the tracing has been enabled
optional bool traceEnabled = 2;- Returns:
- This builder for chaining.
-
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.
-
setRunCount
how many times the algorithm ran (successfully or with error)
optional uint32 runCount = 3;- Parameters:
value- The runCount to set.- Returns:
- This builder for chaining.
-
clearRunCount
how many times the algorithm ran (successfully or with error)
optional uint32 runCount = 3;- Returns:
- This builder for chaining.
-
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.
-
setLastRun
when the algorithm was last run
optional .google.protobuf.Timestamp lastRun = 4; -
setLastRun
when the algorithm was last run
optional .google.protobuf.Timestamp lastRun = 4; -
mergeLastRun
when the algorithm was last run
optional .google.protobuf.Timestamp lastRun = 4; -
clearLastRun
when the algorithm was last run
optional .google.protobuf.Timestamp lastRun = 4; -
getLastRunBuilder
public com.google.protobuf.Timestamp.Builder getLastRunBuilder()when the algorithm was last run
optional .google.protobuf.Timestamp lastRun = 4; -
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.
-
setErrorCount
how many times the algorithm ran with errors
optional uint32 errorCount = 5;- Parameters:
value- The errorCount to set.- Returns:
- This builder for chaining.
-
clearErrorCount
how many times the algorithm ran with errors
optional uint32 errorCount = 5;- Returns:
- This builder for chaining.
-
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.
-
setErrorMessage
Error message in case the algorithm produced an error.
optional string errorMessage = 6;- Parameters:
value- The errorMessage to set.- Returns:
- This builder for chaining.
-
clearErrorMessage
Error message in case the algorithm produced an error.
optional string errorMessage = 6;- Returns:
- This builder for chaining.
-
setErrorMessageBytes
Error message in case the algorithm produced an error.
optional string errorMessage = 6;- Parameters:
value- The bytes for errorMessage to set.- Returns:
- This builder for chaining.
-
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.
-
setErrorTime
Error time in case the algorithm produced an error.
optional .google.protobuf.Timestamp errorTime = 7; -
setErrorTime
Error time in case the algorithm produced an error.
optional .google.protobuf.Timestamp errorTime = 7; -
mergeErrorTime
Error time in case the algorithm produced an error.
optional .google.protobuf.Timestamp errorTime = 7; -
clearErrorTime
Error time in case the algorithm produced an error.
optional .google.protobuf.Timestamp errorTime = 7; -
getErrorTimeBuilder
public com.google.protobuf.Timestamp.Builder getErrorTimeBuilder()Error time in case the algorithm produced an error.
optional .google.protobuf.Timestamp errorTime = 7; -
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.
-
setExecTimeNs
total execution time in nanoseconds
optional uint64 execTimeNs = 8;- Parameters:
value- The execTimeNs to set.- Returns:
- This builder for chaining.
-
clearExecTimeNs
total execution time in nanoseconds
optional uint64 execTimeNs = 8;- Returns:
- This builder for chaining.
-
setUnknownFields
public final AlgorithmStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmStatus.Builder>
-
mergeUnknownFields
public final AlgorithmStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmStatus.Builder>
-