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 algorithm
 
Protobuf type yamcs.protobuf.processing.AlgorithmTrace.Run
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
    • getDefaultInstanceForType

      public AlgorithmTrace.Run getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public AlgorithmTrace.Run build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AlgorithmTrace.Run buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
    • clearField

      public AlgorithmTrace.Run.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
    • clearOneof

      public AlgorithmTrace.Run.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
    • mergeFrom

      public AlgorithmTrace.Run.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AlgorithmTrace.Run.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface AlgorithmTrace.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 interface AlgorithmTrace.RunOrBuilder
      Returns:
      The time.
    • setTime

      public AlgorithmTrace.Run.Builder setTime(com.google.protobuf.Timestamp value)
       When this run was started
       
      optional .google.protobuf.Timestamp time = 1;
    • setTime

      public AlgorithmTrace.Run.Builder setTime(com.google.protobuf.Timestamp.Builder builderForValue)
       When this run was started
       
      optional .google.protobuf.Timestamp time = 1;
    • mergeTime

      public AlgorithmTrace.Run.Builder mergeTime(com.google.protobuf.Timestamp value)
       When this run was started
       
      optional .google.protobuf.Timestamp time = 1;
    • clearTime

      public AlgorithmTrace.Run.Builder 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 interface AlgorithmTrace.RunOrBuilder
    • getInputsList

      public List<Pvalue.ParameterValue> getInputsList()
       Values of input parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
      Specified by:
      getInputsList in interface AlgorithmTrace.RunOrBuilder
    • getInputsCount

      public int getInputsCount()
       Values of input parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
      Specified by:
      getInputsCount in interface AlgorithmTrace.RunOrBuilder
    • getInputs

      public Pvalue.ParameterValue getInputs(int index)
       Values of input parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
      Specified by:
      getInputs in interface AlgorithmTrace.RunOrBuilder
    • setInputs

      public AlgorithmTrace.Run.Builder setInputs(int index, Pvalue.ParameterValue value)
       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

      public AlgorithmTrace.Run.Builder addInputs(int index, Pvalue.ParameterValue value)
       Values of input parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
    • addInputs

      public AlgorithmTrace.Run.Builder addInputs(Pvalue.ParameterValue.Builder builderForValue)
       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

      public AlgorithmTrace.Run.Builder addAllInputs(Iterable<? extends Pvalue.ParameterValue> values)
       Values of input parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
    • clearInputs

      public AlgorithmTrace.Run.Builder clearInputs()
       Values of input parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
    • removeInputs

      public AlgorithmTrace.Run.Builder removeInputs(int index)
       Values of input parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
    • getInputsBuilder

      public Pvalue.ParameterValue.Builder getInputsBuilder(int index)
       Values of input parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
    • getInputsOrBuilder

      public Pvalue.ParameterValueOrBuilder getInputsOrBuilder(int index)
       Values of input parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
      Specified by:
      getInputsOrBuilder in interface AlgorithmTrace.RunOrBuilder
    • getInputsOrBuilderList

      public List<? extends Pvalue.ParameterValueOrBuilder> getInputsOrBuilderList()
       Values of input parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
      Specified by:
      getInputsOrBuilderList in interface AlgorithmTrace.RunOrBuilder
    • addInputsBuilder

      public Pvalue.ParameterValue.Builder addInputsBuilder()
       Values of input parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
    • addInputsBuilder

      public Pvalue.ParameterValue.Builder addInputsBuilder(int index)
       Values of input parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
    • getInputsBuilderList

      public List<Pvalue.ParameterValue.Builder> getInputsBuilderList()
       Values of input parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue inputs = 2;
    • getOutputsList

      public List<Pvalue.ParameterValue> getOutputsList()
       Values of output parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
      Specified by:
      getOutputsList in interface AlgorithmTrace.RunOrBuilder
    • getOutputsCount

      public int getOutputsCount()
       Values of output parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
      Specified by:
      getOutputsCount in interface AlgorithmTrace.RunOrBuilder
    • getOutputs

      public Pvalue.ParameterValue getOutputs(int index)
       Values of output parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
      Specified by:
      getOutputs in interface AlgorithmTrace.RunOrBuilder
    • setOutputs

      public AlgorithmTrace.Run.Builder setOutputs(int index, Pvalue.ParameterValue value)
       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

      public AlgorithmTrace.Run.Builder addOutputs(int index, Pvalue.ParameterValue value)
       Values of output parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
    • addOutputs

      public AlgorithmTrace.Run.Builder addOutputs(Pvalue.ParameterValue.Builder builderForValue)
       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

      public AlgorithmTrace.Run.Builder addAllOutputs(Iterable<? extends Pvalue.ParameterValue> values)
       Values of output parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
    • clearOutputs

      public AlgorithmTrace.Run.Builder clearOutputs()
       Values of output parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
    • removeOutputs

      public AlgorithmTrace.Run.Builder removeOutputs(int index)
       Values of output parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
    • getOutputsBuilder

      public Pvalue.ParameterValue.Builder getOutputsBuilder(int index)
       Values of output parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
    • getOutputsOrBuilder

      public Pvalue.ParameterValueOrBuilder getOutputsOrBuilder(int index)
       Values of output parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
      Specified by:
      getOutputsOrBuilder in interface AlgorithmTrace.RunOrBuilder
    • getOutputsOrBuilderList

      public List<? extends Pvalue.ParameterValueOrBuilder> getOutputsOrBuilderList()
       Values of output parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
      Specified by:
      getOutputsOrBuilderList in interface AlgorithmTrace.RunOrBuilder
    • addOutputsBuilder

      public Pvalue.ParameterValue.Builder addOutputsBuilder()
       Values of output parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
    • addOutputsBuilder

      public Pvalue.ParameterValue.Builder addOutputsBuilder(int index)
       Values of output parameters for this run
       
      repeated .yamcs.protobuf.pvalue.ParameterValue outputs = 3;
    • getOutputsBuilderList

      public List<Pvalue.ParameterValue.Builder> 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 interface AlgorithmTrace.RunOrBuilder
      Returns:
      Whether the returnValue field is set.
    • getReturnValue

      public String 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 interface AlgorithmTrace.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 interface AlgorithmTrace.RunOrBuilder
      Returns:
      The bytes for returnValue.
    • setReturnValue

      public AlgorithmTrace.Run.Builder setReturnValue(String value)
       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

      public AlgorithmTrace.Run.Builder 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

      public AlgorithmTrace.Run.Builder setReturnValueBytes(com.google.protobuf.ByteString value)
       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 interface AlgorithmTrace.RunOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      public String getError()
       Error message, if any
       
      optional string error = 5;
      Specified by:
      getError in interface AlgorithmTrace.RunOrBuilder
      Returns:
      The error.
    • getErrorBytes

      public com.google.protobuf.ByteString getErrorBytes()
       Error message, if any
       
      optional string error = 5;
      Specified by:
      getErrorBytes in interface AlgorithmTrace.RunOrBuilder
      Returns:
      The bytes for error.
    • setError

      public AlgorithmTrace.Run.Builder setError(String value)
       Error message, if any
       
      optional string error = 5;
      Parameters:
      value - The error to set.
      Returns:
      This builder for chaining.
    • clearError

      public AlgorithmTrace.Run.Builder clearError()
       Error message, if any
       
      optional string error = 5;
      Returns:
      This builder for chaining.
    • setErrorBytes

      public AlgorithmTrace.Run.Builder setErrorBytes(com.google.protobuf.ByteString value)
       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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>
    • mergeUnknownFields

      public final AlgorithmTrace.Run.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AlgorithmTrace.Run.Builder>