Package org.yamcs.protobuf
Class AlgorithmStatus.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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 typeyamcs.protobuf.processing.AlgorithmStatus
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AlgorithmStatus.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AlgorithmStatusbuild()AlgorithmStatusbuildPartial()AlgorithmStatus.Builderclear()AlgorithmStatus.BuilderclearActive()true if the algorithm is activeAlgorithmStatus.BuilderclearErrorCount()how many times the algorithm ran with errorsAlgorithmStatus.BuilderclearErrorMessage()if the algorithm produced an error, the fields below contain the error message and the time when the error was raisedAlgorithmStatus.BuilderclearErrorTime()optional .google.protobuf.Timestamp errorTime = 7;AlgorithmStatus.BuilderclearExecTimeNs()total execution time in nanosecondsAlgorithmStatus.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AlgorithmStatus.BuilderclearLastRun()when the algorithm was last runAlgorithmStatus.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AlgorithmStatus.BuilderclearRunCount()how many times the algorithm ran (successfully or with error)AlgorithmStatus.BuilderclearTraceEnabled()true if the tracing has been enabledAlgorithmStatus.Builderclone()booleangetActive()true if the algorithm is activeAlgorithmStatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.Timestamp.BuildergetErrorTimeBuilder()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.Timestamp.BuildergetLastRunBuilder()when the algorithm was last runcom.google.protobuf.TimestampOrBuildergetLastRunOrBuilder()when the algorithm was last runintgetRunCount()how many times the algorithm ran (successfully or with error)booleangetTraceEnabled()true if the tracing has been enabledbooleanhasActive()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 nanosecondsbooleanhasLastRun()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()AlgorithmStatus.BuildermergeErrorTime(com.google.protobuf.Timestamp value)optional .google.protobuf.Timestamp errorTime = 7;AlgorithmStatus.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AlgorithmStatus.BuildermergeFrom(com.google.protobuf.Message other)AlgorithmStatus.BuildermergeFrom(AlgorithmStatus other)AlgorithmStatus.BuildermergeLastRun(com.google.protobuf.Timestamp value)when the algorithm was last runAlgorithmStatus.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AlgorithmStatus.BuildersetActive(boolean value)true if the algorithm is activeAlgorithmStatus.BuildersetErrorCount(int value)how many times the algorithm ran with errorsAlgorithmStatus.BuildersetErrorMessage(String value)if the algorithm produced an error, the fields below contain the error message and the time when the error was raisedAlgorithmStatus.BuildersetErrorMessageBytes(com.google.protobuf.ByteString value)if the algorithm produced an error, the fields below contain the error message and the time when the error was raisedAlgorithmStatus.BuildersetErrorTime(com.google.protobuf.Timestamp value)optional .google.protobuf.Timestamp errorTime = 7;AlgorithmStatus.BuildersetErrorTime(com.google.protobuf.Timestamp.Builder builderForValue)optional .google.protobuf.Timestamp errorTime = 7;AlgorithmStatus.BuildersetExecTimeNs(long value)total execution time in nanosecondsAlgorithmStatus.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AlgorithmStatus.BuildersetLastRun(com.google.protobuf.Timestamp value)when the algorithm was last runAlgorithmStatus.BuildersetLastRun(com.google.protobuf.Timestamp.Builder builderForValue)when the algorithm was last runAlgorithmStatus.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AlgorithmStatus.BuildersetRunCount(int value)how many times the algorithm ran (successfully or with error)AlgorithmStatus.BuildersetTraceEnabled(boolean value)true if the tracing has been enabledAlgorithmStatus.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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
public 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
public AlgorithmStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AlgorithmStatus build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AlgorithmStatus buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AlgorithmStatus.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
public AlgorithmStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmStatus.Builder>
-
clearOneof
public AlgorithmStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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
public AlgorithmStatus.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AlgorithmStatus.Builder>
-
mergeFrom
public AlgorithmStatus.Builder mergeFrom(AlgorithmStatus other)
-
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
-
getActive
public boolean getActive()
true if the algorithm is active
optional bool active = 1;- Specified by:
getActivein interfaceAlgorithmStatusOrBuilder
-
setActive
public AlgorithmStatus.Builder setActive(boolean value)
true if the algorithm is active
optional bool active = 1;
-
clearActive
public AlgorithmStatus.Builder clearActive()
true if the algorithm is active
optional bool active = 1;
-
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
-
setTraceEnabled
public AlgorithmStatus.Builder setTraceEnabled(boolean value)
true if the tracing has been enabled
optional bool traceEnabled = 2;
-
clearTraceEnabled
public AlgorithmStatus.Builder clearTraceEnabled()
true if the tracing has been enabled
optional bool traceEnabled = 2;
-
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
-
setRunCount
public AlgorithmStatus.Builder setRunCount(int value)
how many times the algorithm ran (successfully or with error)
optional uint32 runCount = 3;
-
clearRunCount
public AlgorithmStatus.Builder clearRunCount()
how many times the algorithm ran (successfully or with error)
optional uint32 runCount = 3;
-
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
-
setLastRun
public AlgorithmStatus.Builder setLastRun(com.google.protobuf.Timestamp value)
when the algorithm was last run
optional .google.protobuf.Timestamp lastRun = 4;
-
setLastRun
public AlgorithmStatus.Builder setLastRun(com.google.protobuf.Timestamp.Builder builderForValue)
when the algorithm was last run
optional .google.protobuf.Timestamp lastRun = 4;
-
mergeLastRun
public AlgorithmStatus.Builder mergeLastRun(com.google.protobuf.Timestamp value)
when the algorithm was last run
optional .google.protobuf.Timestamp lastRun = 4;
-
clearLastRun
public AlgorithmStatus.Builder 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
-
getErrorCount
public int getErrorCount()
how many times the algorithm ran with errors
optional uint32 errorCount = 5;- Specified by:
getErrorCountin interfaceAlgorithmStatusOrBuilder
-
setErrorCount
public AlgorithmStatus.Builder setErrorCount(int value)
how many times the algorithm ran with errors
optional uint32 errorCount = 5;
-
clearErrorCount
public AlgorithmStatus.Builder clearErrorCount()
how many times the algorithm ran with errors
optional uint32 errorCount = 5;
-
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
-
setErrorMessage
public AlgorithmStatus.Builder setErrorMessage(String value)
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;
-
clearErrorMessage
public AlgorithmStatus.Builder clearErrorMessage()
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;
-
setErrorMessageBytes
public AlgorithmStatus.Builder setErrorMessageBytes(com.google.protobuf.ByteString value)
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;
-
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
-
setErrorTime
public AlgorithmStatus.Builder setErrorTime(com.google.protobuf.Timestamp value)
optional .google.protobuf.Timestamp errorTime = 7;
-
setErrorTime
public AlgorithmStatus.Builder setErrorTime(com.google.protobuf.Timestamp.Builder builderForValue)
optional .google.protobuf.Timestamp errorTime = 7;
-
mergeErrorTime
public AlgorithmStatus.Builder mergeErrorTime(com.google.protobuf.Timestamp value)
optional .google.protobuf.Timestamp errorTime = 7;
-
clearErrorTime
public AlgorithmStatus.Builder clearErrorTime()
optional .google.protobuf.Timestamp errorTime = 7;
-
getErrorTimeBuilder
public com.google.protobuf.Timestamp.Builder getErrorTimeBuilder()
optional .google.protobuf.Timestamp errorTime = 7;
-
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
-
setExecTimeNs
public AlgorithmStatus.Builder setExecTimeNs(long value)
total execution time in nanoseconds
optional uint64 execTimeNs = 8;
-
clearExecTimeNs
public AlgorithmStatus.Builder clearExecTimeNs()
total execution time in nanoseconds
optional uint64 execTimeNs = 8;
-
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>
-
-