Package org.yamcs.protobuf
Class AlgorithmTrace.Run.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
org.yamcs.protobuf.AlgorithmTrace.Run.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,AlgorithmTrace.RunOrBuilder
- Enclosing class:
- AlgorithmTrace.Run
public static final class AlgorithmTrace.Run.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
implements AlgorithmTrace.RunOrBuilder
A single execution of an algorithmProtobuf type
yamcs.protobuf.processing.AlgorithmTrace.Run
-
Method Summary
Modifier and TypeMethodDescriptionaddAllInputs
(Iterable<? extends Pvalue.ParameterValue> values) Values of input parameters for this runaddAllOutputs
(Iterable<? extends Pvalue.ParameterValue> values) Values of output parameters for this runaddInputs
(int index, Pvalue.ParameterValue value) Values of input parameters for this runaddInputs
(int index, Pvalue.ParameterValue.Builder builderForValue) Values of input parameters for this runaddInputs
(Pvalue.ParameterValue value) Values of input parameters for this runaddInputs
(Pvalue.ParameterValue.Builder builderForValue) Values of input parameters for this runValues of input parameters for this runaddInputsBuilder
(int index) Values of input parameters for this runaddOutputs
(int index, Pvalue.ParameterValue value) Values of output parameters for this runaddOutputs
(int index, Pvalue.ParameterValue.Builder builderForValue) Values of output parameters for this runaddOutputs
(Pvalue.ParameterValue value) Values of output parameters for this runaddOutputs
(Pvalue.ParameterValue.Builder builderForValue) Values of output parameters for this runValues of output parameters for this runaddOutputsBuilder
(int index) Values of output parameters for this runaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Error message, if anyclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Values of input parameters for this runclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Values of output parameters for this runThe return value, if the algorithm returned something.When this run was startedclone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getError()
Error message, if anycom.google.protobuf.ByteString
Error message, if anygetInputs
(int index) Values of input parameters for this rungetInputsBuilder
(int index) Values of input parameters for this runValues of input parameters for this runint
Values of input parameters for this runValues of input parameters for this rungetInputsOrBuilder
(int index) Values of input parameters for this runList<? extends Pvalue.ParameterValueOrBuilder>
Values of input parameters for this rungetOutputs
(int index) Values of output parameters for this rungetOutputsBuilder
(int index) Values of output parameters for this runValues of output parameters for this runint
Values of output parameters for this runValues of output parameters for this rungetOutputsOrBuilder
(int index) Values of output parameters for this runList<? extends Pvalue.ParameterValueOrBuilder>
Values of output parameters for this runThe return value, if the algorithm returned something.com.google.protobuf.ByteString
The return value, if the algorithm returned something.com.google.protobuf.Timestamp
getTime()
When this run was startedcom.google.protobuf.Timestamp.Builder
When this run was startedcom.google.protobuf.TimestampOrBuilder
When this run was startedboolean
hasError()
Error message, if anyboolean
The return value, if the algorithm returned something.boolean
hasTime()
When this run was startedprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(AlgorithmTrace.Run other) mergeTime
(com.google.protobuf.Timestamp value) When this run was startedmergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeInputs
(int index) Values of input parameters for this runremoveOutputs
(int index) Values of output parameters for this runError message, if anysetErrorBytes
(com.google.protobuf.ByteString value) Error message, if anysetInputs
(int index, Pvalue.ParameterValue value) Values of input parameters for this runsetInputs
(int index, Pvalue.ParameterValue.Builder builderForValue) Values of input parameters for this runsetOutputs
(int index, Pvalue.ParameterValue value) Values of output parameters for this runsetOutputs
(int index, Pvalue.ParameterValue.Builder builderForValue) Values of output parameters for this runsetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setReturnValue
(String value) The return value, if the algorithm returned something.setReturnValueBytes
(com.google.protobuf.ByteString value) The return value, if the algorithm returned something.setTime
(com.google.protobuf.Timestamp value) When this run was startedsetTime
(com.google.protobuf.Timestamp.Builder builderForValue) When this run was startedsetUnknownFields
(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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
-
setField
public AlgorithmTrace.Run.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
-
setRepeatedField
public AlgorithmTrace.Run.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
-
addRepeatedField
public AlgorithmTrace.Run.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AlgorithmTrace.Run.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
-
mergeFrom
public AlgorithmTrace.Run.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AlgorithmTrace.Run.Builder>
- Throws:
IOException
-
hasTime
public boolean hasTime()When this run was started
optional .google.protobuf.Timestamp time = 1;
- Specified by:
hasTime
in interfaceAlgorithmTrace.RunOrBuilder
- Returns:
- Whether the time field is set.
-
getTime
public com.google.protobuf.Timestamp getTime()When this run was started
optional .google.protobuf.Timestamp time = 1;
- Specified by:
getTime
in interfaceAlgorithmTrace.RunOrBuilder
- Returns:
- The time.
-
setTime
When this run was started
optional .google.protobuf.Timestamp time = 1;
-
setTime
When this run was started
optional .google.protobuf.Timestamp time = 1;
-
mergeTime
When this run was started
optional .google.protobuf.Timestamp time = 1;
-
clearTime
When this run was started
optional .google.protobuf.Timestamp time = 1;
-
getTimeBuilder
public com.google.protobuf.Timestamp.Builder getTimeBuilder()When this run was started
optional .google.protobuf.Timestamp time = 1;
-
getTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()When this run was started
optional .google.protobuf.Timestamp time = 1;
- Specified by:
getTimeOrBuilder
in interfaceAlgorithmTrace.RunOrBuilder
-
getInputsList
Values of input parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
- Specified by:
getInputsList
in interfaceAlgorithmTrace.RunOrBuilder
-
getInputsCount
public int getInputsCount()Values of input parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
- Specified by:
getInputsCount
in interfaceAlgorithmTrace.RunOrBuilder
-
getInputs
Values of input parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
- Specified by:
getInputs
in interfaceAlgorithmTrace.RunOrBuilder
-
setInputs
Values of input parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
-
setInputs
public AlgorithmTrace.Run.Builder setInputs(int index, Pvalue.ParameterValue.Builder builderForValue) Values of input parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
-
addInputs
Values of input parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
-
addInputs
Values of input parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
-
addInputs
Values of input parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
-
addInputs
public AlgorithmTrace.Run.Builder addInputs(int index, Pvalue.ParameterValue.Builder builderForValue) Values of input parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
-
addAllInputs
Values of input parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
-
clearInputs
Values of input parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
-
removeInputs
Values of input parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
-
getInputsBuilder
Values of input parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
-
getInputsOrBuilder
Values of input parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
- Specified by:
getInputsOrBuilder
in interfaceAlgorithmTrace.RunOrBuilder
-
getInputsOrBuilderList
Values of input parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
- Specified by:
getInputsOrBuilderList
in interfaceAlgorithmTrace.RunOrBuilder
-
addInputsBuilder
Values of input parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
-
addInputsBuilder
Values of input parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
-
getInputsBuilderList
Values of input parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
-
getOutputsList
Values of output parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
- Specified by:
getOutputsList
in interfaceAlgorithmTrace.RunOrBuilder
-
getOutputsCount
public int getOutputsCount()Values of output parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
- Specified by:
getOutputsCount
in interfaceAlgorithmTrace.RunOrBuilder
-
getOutputs
Values of output parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
- Specified by:
getOutputs
in interfaceAlgorithmTrace.RunOrBuilder
-
setOutputs
Values of output parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
-
setOutputs
public AlgorithmTrace.Run.Builder setOutputs(int index, Pvalue.ParameterValue.Builder builderForValue) Values of output parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
-
addOutputs
Values of output parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
-
addOutputs
Values of output parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
-
addOutputs
Values of output parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
-
addOutputs
public AlgorithmTrace.Run.Builder addOutputs(int index, Pvalue.ParameterValue.Builder builderForValue) Values of output parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
-
addAllOutputs
Values of output parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
-
clearOutputs
Values of output parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
-
removeOutputs
Values of output parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
-
getOutputsBuilder
Values of output parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
-
getOutputsOrBuilder
Values of output parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
- Specified by:
getOutputsOrBuilder
in interfaceAlgorithmTrace.RunOrBuilder
-
getOutputsOrBuilderList
Values of output parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
- Specified by:
getOutputsOrBuilderList
in interfaceAlgorithmTrace.RunOrBuilder
-
addOutputsBuilder
Values of output parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
-
addOutputsBuilder
Values of output parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
-
getOutputsBuilderList
Values of output parameters for this run
repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
-
hasReturnValue
public boolean hasReturnValue()The return value, if the algorithm returned something. This can be useful in the context of verifiers.
optional string returnValue = 4;
- Specified by:
hasReturnValue
in interfaceAlgorithmTrace.RunOrBuilder
- Returns:
- Whether the returnValue field is set.
-
getReturnValue
The return value, if the algorithm returned something. This can be useful in the context of verifiers.
optional string returnValue = 4;
- Specified by:
getReturnValue
in interfaceAlgorithmTrace.RunOrBuilder
- Returns:
- The returnValue.
-
getReturnValueBytes
public com.google.protobuf.ByteString getReturnValueBytes()The return value, if the algorithm returned something. This can be useful in the context of verifiers.
optional string returnValue = 4;
- Specified by:
getReturnValueBytes
in interfaceAlgorithmTrace.RunOrBuilder
- Returns:
- The bytes for returnValue.
-
setReturnValue
The return value, if the algorithm returned something. This can be useful in the context of verifiers.
optional string returnValue = 4;
- Parameters:
value
- The returnValue to set.- Returns:
- This builder for chaining.
-
clearReturnValue
The return value, if the algorithm returned something. This can be useful in the context of verifiers.
optional string returnValue = 4;
- Returns:
- This builder for chaining.
-
setReturnValueBytes
The return value, if the algorithm returned something. This can be useful in the context of verifiers.
optional string returnValue = 4;
- Parameters:
value
- The bytes for returnValue to set.- Returns:
- This builder for chaining.
-
hasError
public boolean hasError()Error message, if any
optional string error = 5;
- Specified by:
hasError
in interfaceAlgorithmTrace.RunOrBuilder
- Returns:
- Whether the error field is set.
-
getError
Error message, if any
optional string error = 5;
- Specified by:
getError
in interfaceAlgorithmTrace.RunOrBuilder
- Returns:
- The error.
-
getErrorBytes
public com.google.protobuf.ByteString getErrorBytes()Error message, if any
optional string error = 5;
- Specified by:
getErrorBytes
in interfaceAlgorithmTrace.RunOrBuilder
- Returns:
- The bytes for error.
-
setError
Error message, if any
optional string error = 5;
- Parameters:
value
- The error to set.- Returns:
- This builder for chaining.
-
clearError
Error message, if any
optional string error = 5;
- Returns:
- This builder for chaining.
-
setErrorBytes
Error message, if any
optional string error = 5;
- Parameters:
value
- The bytes for error to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AlgorithmTrace.Run.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
-
mergeUnknownFields
public final AlgorithmTrace.Run.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
-