Class AlgorithmTrace.Run

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.AlgorithmTrace.Run
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, AlgorithmTrace.RunOrBuilder
Enclosing class:
AlgorithmTrace

public static final class AlgorithmTrace.Run extends com.google.protobuf.GeneratedMessageV3 implements AlgorithmTrace.RunOrBuilder
 A single execution of an algorithm
 
Protobuf type yamcs.protobuf.processing.AlgorithmTrace.Run
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • 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
    • 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.
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AlgorithmTrace.Run parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AlgorithmTrace.Run parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AlgorithmTrace.Run parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AlgorithmTrace.Run parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AlgorithmTrace.Run parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AlgorithmTrace.Run parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AlgorithmTrace.Run parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AlgorithmTrace.Run parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AlgorithmTrace.Run parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AlgorithmTrace.Run parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AlgorithmTrace.Run parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AlgorithmTrace.Run parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static AlgorithmTrace.Run.Builder newBuilder()
    • newBuilder

      public static AlgorithmTrace.Run.Builder newBuilder(AlgorithmTrace.Run prototype)
    • toBuilder

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

      protected AlgorithmTrace.Run.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static AlgorithmTrace.Run getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AlgorithmTrace.Run> parser()
    • getParserForType

      public com.google.protobuf.Parser<AlgorithmTrace.Run> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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