Class ExecutionAttemptReport.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExecutionAttemptReport.Builder>
io.agentscope.aistio.proto.ExecutionAttemptReport.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ExecutionAttemptReportOrBuilder, Cloneable
Enclosing class:
ExecutionAttemptReport

public static final class ExecutionAttemptReport.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExecutionAttemptReport.Builder> implements ExecutionAttemptReportOrBuilder
 ExecutionAttemptReport is fenced by attempt identity and dispatch generation.
 
Protobuf type agentscope.protocol.v1.ExecutionAttemptReport
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ExecutionAttemptReport.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.GeneratedMessage.Builder<ExecutionAttemptReport.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.GeneratedMessage.Builder<ExecutionAttemptReport.Builder>
    • getDefaultInstanceForType

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

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

      public ExecutionAttemptReport buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ExecutionAttemptReport.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<ExecutionAttemptReport.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ExecutionAttemptReport.Builder>
    • mergeFrom

      public ExecutionAttemptReport.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<ExecutionAttemptReport.Builder>
      Throws:
      IOException
    • getAttemptId

      public String getAttemptId()
      string attempt_id = 1;
      Specified by:
      getAttemptId in interface ExecutionAttemptReportOrBuilder
      Returns:
      The attemptId.
    • getAttemptIdBytes

      public com.google.protobuf.ByteString getAttemptIdBytes()
      string attempt_id = 1;
      Specified by:
      getAttemptIdBytes in interface ExecutionAttemptReportOrBuilder
      Returns:
      The bytes for attemptId.
    • setAttemptId

      public ExecutionAttemptReport.Builder setAttemptId(String value)
      string attempt_id = 1;
      Parameters:
      value - The attemptId to set.
      Returns:
      This builder for chaining.
    • clearAttemptId

      public ExecutionAttemptReport.Builder clearAttemptId()
      string attempt_id = 1;
      Returns:
      This builder for chaining.
    • setAttemptIdBytes

      public ExecutionAttemptReport.Builder setAttemptIdBytes(com.google.protobuf.ByteString value)
      string attempt_id = 1;
      Parameters:
      value - The bytes for attemptId to set.
      Returns:
      This builder for chaining.
    • getAgentTaskId

      public String getAgentTaskId()
      string agent_task_id = 2;
      Specified by:
      getAgentTaskId in interface ExecutionAttemptReportOrBuilder
      Returns:
      The agentTaskId.
    • getAgentTaskIdBytes

      public com.google.protobuf.ByteString getAgentTaskIdBytes()
      string agent_task_id = 2;
      Specified by:
      getAgentTaskIdBytes in interface ExecutionAttemptReportOrBuilder
      Returns:
      The bytes for agentTaskId.
    • setAgentTaskId

      public ExecutionAttemptReport.Builder setAgentTaskId(String value)
      string agent_task_id = 2;
      Parameters:
      value - The agentTaskId to set.
      Returns:
      This builder for chaining.
    • clearAgentTaskId

      public ExecutionAttemptReport.Builder clearAgentTaskId()
      string agent_task_id = 2;
      Returns:
      This builder for chaining.
    • setAgentTaskIdBytes

      public ExecutionAttemptReport.Builder setAgentTaskIdBytes(com.google.protobuf.ByteString value)
      string agent_task_id = 2;
      Parameters:
      value - The bytes for agentTaskId to set.
      Returns:
      This builder for chaining.
    • getRunId

      public String getRunId()
      string run_id = 3;
      Specified by:
      getRunId in interface ExecutionAttemptReportOrBuilder
      Returns:
      The runId.
    • getRunIdBytes

      public com.google.protobuf.ByteString getRunIdBytes()
      string run_id = 3;
      Specified by:
      getRunIdBytes in interface ExecutionAttemptReportOrBuilder
      Returns:
      The bytes for runId.
    • setRunId

      public ExecutionAttemptReport.Builder setRunId(String value)
      string run_id = 3;
      Parameters:
      value - The runId to set.
      Returns:
      This builder for chaining.
    • clearRunId

      public ExecutionAttemptReport.Builder clearRunId()
      string run_id = 3;
      Returns:
      This builder for chaining.
    • setRunIdBytes

      public ExecutionAttemptReport.Builder setRunIdBytes(com.google.protobuf.ByteString value)
      string run_id = 3;
      Parameters:
      value - The bytes for runId to set.
      Returns:
      This builder for chaining.
    • getNodeId

      public String getNodeId()
      string node_id = 4;
      Specified by:
      getNodeId in interface ExecutionAttemptReportOrBuilder
      Returns:
      The nodeId.
    • getNodeIdBytes

      public com.google.protobuf.ByteString getNodeIdBytes()
      string node_id = 4;
      Specified by:
      getNodeIdBytes in interface ExecutionAttemptReportOrBuilder
      Returns:
      The bytes for nodeId.
    • setNodeId

      public ExecutionAttemptReport.Builder setNodeId(String value)
      string node_id = 4;
      Parameters:
      value - The nodeId to set.
      Returns:
      This builder for chaining.
    • clearNodeId

      public ExecutionAttemptReport.Builder clearNodeId()
      string node_id = 4;
      Returns:
      This builder for chaining.
    • setNodeIdBytes

      public ExecutionAttemptReport.Builder setNodeIdBytes(com.google.protobuf.ByteString value)
      string node_id = 4;
      Parameters:
      value - The bytes for nodeId to set.
      Returns:
      This builder for chaining.
    • getGeneration

      public long getGeneration()
      int64 generation = 5;
      Specified by:
      getGeneration in interface ExecutionAttemptReportOrBuilder
      Returns:
      The generation.
    • setGeneration

      public ExecutionAttemptReport.Builder setGeneration(long value)
      int64 generation = 5;
      Parameters:
      value - The generation to set.
      Returns:
      This builder for chaining.
    • clearGeneration

      public ExecutionAttemptReport.Builder clearGeneration()
      int64 generation = 5;
      Returns:
      This builder for chaining.
    • getAction

      public String getAction()
       ack | preparing | start | heartbeat | waiting | progress | respond | complete | fail | cancelled
       
      string action = 6;
      Specified by:
      getAction in interface ExecutionAttemptReportOrBuilder
      Returns:
      The action.
    • getActionBytes

      public com.google.protobuf.ByteString getActionBytes()
       ack | preparing | start | heartbeat | waiting | progress | respond | complete | fail | cancelled
       
      string action = 6;
      Specified by:
      getActionBytes in interface ExecutionAttemptReportOrBuilder
      Returns:
      The bytes for action.
    • setAction

      public ExecutionAttemptReport.Builder setAction(String value)
       ack | preparing | start | heartbeat | waiting | progress | respond | complete | fail | cancelled
       
      string action = 6;
      Parameters:
      value - The action to set.
      Returns:
      This builder for chaining.
    • clearAction

      public ExecutionAttemptReport.Builder clearAction()
       ack | preparing | start | heartbeat | waiting | progress | respond | complete | fail | cancelled
       
      string action = 6;
      Returns:
      This builder for chaining.
    • setActionBytes

      public ExecutionAttemptReport.Builder setActionBytes(com.google.protobuf.ByteString value)
       ack | preparing | start | heartbeat | waiting | progress | respond | complete | fail | cancelled
       
      string action = 6;
      Parameters:
      value - The bytes for action to set.
      Returns:
      This builder for chaining.
    • getInputIdsList

      public com.google.protobuf.ProtocolStringList getInputIdsList()
      repeated string input_ids = 7;
      Specified by:
      getInputIdsList in interface ExecutionAttemptReportOrBuilder
      Returns:
      A list containing the inputIds.
    • getInputIdsCount

      public int getInputIdsCount()
      repeated string input_ids = 7;
      Specified by:
      getInputIdsCount in interface ExecutionAttemptReportOrBuilder
      Returns:
      The count of inputIds.
    • getInputIds

      public String getInputIds(int index)
      repeated string input_ids = 7;
      Specified by:
      getInputIds in interface ExecutionAttemptReportOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The inputIds at the given index.
    • getInputIdsBytes

      public com.google.protobuf.ByteString getInputIdsBytes(int index)
      repeated string input_ids = 7;
      Specified by:
      getInputIdsBytes in interface ExecutionAttemptReportOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the inputIds at the given index.
    • setInputIds

      public ExecutionAttemptReport.Builder setInputIds(int index, String value)
      repeated string input_ids = 7;
      Parameters:
      index - The index to set the value at.
      value - The inputIds to set.
      Returns:
      This builder for chaining.
    • addInputIds

      public ExecutionAttemptReport.Builder addInputIds(String value)
      repeated string input_ids = 7;
      Parameters:
      value - The inputIds to add.
      Returns:
      This builder for chaining.
    • addAllInputIds

      public ExecutionAttemptReport.Builder addAllInputIds(Iterable<String> values)
      repeated string input_ids = 7;
      Parameters:
      values - The inputIds to add.
      Returns:
      This builder for chaining.
    • clearInputIds

      public ExecutionAttemptReport.Builder clearInputIds()
      repeated string input_ids = 7;
      Returns:
      This builder for chaining.
    • addInputIdsBytes

      public ExecutionAttemptReport.Builder addInputIdsBytes(com.google.protobuf.ByteString value)
      repeated string input_ids = 7;
      Parameters:
      value - The bytes of the inputIds to add.
      Returns:
      This builder for chaining.
    • getContent

      public String getContent()
      string content = 8;
      Specified by:
      getContent in interface ExecutionAttemptReportOrBuilder
      Returns:
      The content.
    • getContentBytes

      public com.google.protobuf.ByteString getContentBytes()
      string content = 8;
      Specified by:
      getContentBytes in interface ExecutionAttemptReportOrBuilder
      Returns:
      The bytes for content.
    • setContent

      public ExecutionAttemptReport.Builder setContent(String value)
      string content = 8;
      Parameters:
      value - The content to set.
      Returns:
      This builder for chaining.
    • clearContent

      public ExecutionAttemptReport.Builder clearContent()
      string content = 8;
      Returns:
      This builder for chaining.
    • setContentBytes

      public ExecutionAttemptReport.Builder setContentBytes(com.google.protobuf.ByteString value)
      string content = 8;
      Parameters:
      value - The bytes for content to set.
      Returns:
      This builder for chaining.
    • getResult

      public com.google.protobuf.ByteString getResult()
      bytes result = 9;
      Specified by:
      getResult in interface ExecutionAttemptReportOrBuilder
      Returns:
      The result.
    • setResult

      public ExecutionAttemptReport.Builder setResult(com.google.protobuf.ByteString value)
      bytes result = 9;
      Parameters:
      value - The result to set.
      Returns:
      This builder for chaining.
    • clearResult

      public ExecutionAttemptReport.Builder clearResult()
      bytes result = 9;
      Returns:
      This builder for chaining.
    • getErrorCode

      public String getErrorCode()
      string error_code = 10;
      Specified by:
      getErrorCode in interface ExecutionAttemptReportOrBuilder
      Returns:
      The errorCode.
    • getErrorCodeBytes

      public com.google.protobuf.ByteString getErrorCodeBytes()
      string error_code = 10;
      Specified by:
      getErrorCodeBytes in interface ExecutionAttemptReportOrBuilder
      Returns:
      The bytes for errorCode.
    • setErrorCode

      public ExecutionAttemptReport.Builder setErrorCode(String value)
      string error_code = 10;
      Parameters:
      value - The errorCode to set.
      Returns:
      This builder for chaining.
    • clearErrorCode

      public ExecutionAttemptReport.Builder clearErrorCode()
      string error_code = 10;
      Returns:
      This builder for chaining.
    • setErrorCodeBytes

      public ExecutionAttemptReport.Builder setErrorCodeBytes(com.google.protobuf.ByteString value)
      string error_code = 10;
      Parameters:
      value - The bytes for errorCode to set.
      Returns:
      This builder for chaining.
    • getErrorMessage

      public String getErrorMessage()
      string error_message = 11;
      Specified by:
      getErrorMessage in interface ExecutionAttemptReportOrBuilder
      Returns:
      The errorMessage.
    • getErrorMessageBytes

      public com.google.protobuf.ByteString getErrorMessageBytes()
      string error_message = 11;
      Specified by:
      getErrorMessageBytes in interface ExecutionAttemptReportOrBuilder
      Returns:
      The bytes for errorMessage.
    • setErrorMessage

      public ExecutionAttemptReport.Builder setErrorMessage(String value)
      string error_message = 11;
      Parameters:
      value - The errorMessage to set.
      Returns:
      This builder for chaining.
    • clearErrorMessage

      public ExecutionAttemptReport.Builder clearErrorMessage()
      string error_message = 11;
      Returns:
      This builder for chaining.
    • setErrorMessageBytes

      public ExecutionAttemptReport.Builder setErrorMessageBytes(com.google.protobuf.ByteString value)
      string error_message = 11;
      Parameters:
      value - The bytes for errorMessage to set.
      Returns:
      This builder for chaining.
    • getCheckpoint

      public com.google.protobuf.ByteString getCheckpoint()
      bytes checkpoint = 12;
      Specified by:
      getCheckpoint in interface ExecutionAttemptReportOrBuilder
      Returns:
      The checkpoint.
    • setCheckpoint

      public ExecutionAttemptReport.Builder setCheckpoint(com.google.protobuf.ByteString value)
      bytes checkpoint = 12;
      Parameters:
      value - The checkpoint to set.
      Returns:
      This builder for chaining.
    • clearCheckpoint

      public ExecutionAttemptReport.Builder clearCheckpoint()
      bytes checkpoint = 12;
      Returns:
      This builder for chaining.
    • getUsage

      public com.google.protobuf.ByteString getUsage()
      bytes usage = 13;
      Specified by:
      getUsage in interface ExecutionAttemptReportOrBuilder
      Returns:
      The usage.
    • setUsage

      public ExecutionAttemptReport.Builder setUsage(com.google.protobuf.ByteString value)
      bytes usage = 13;
      Parameters:
      value - The usage to set.
      Returns:
      This builder for chaining.
    • clearUsage

      public ExecutionAttemptReport.Builder clearUsage()
      bytes usage = 13;
      Returns:
      This builder for chaining.
    • getIdempotencyKey

      public String getIdempotencyKey()
      string idempotency_key = 14;
      Specified by:
      getIdempotencyKey in interface ExecutionAttemptReportOrBuilder
      Returns:
      The idempotencyKey.
    • getIdempotencyKeyBytes

      public com.google.protobuf.ByteString getIdempotencyKeyBytes()
      string idempotency_key = 14;
      Specified by:
      getIdempotencyKeyBytes in interface ExecutionAttemptReportOrBuilder
      Returns:
      The bytes for idempotencyKey.
    • setIdempotencyKey

      public ExecutionAttemptReport.Builder setIdempotencyKey(String value)
      string idempotency_key = 14;
      Parameters:
      value - The idempotencyKey to set.
      Returns:
      This builder for chaining.
    • clearIdempotencyKey

      public ExecutionAttemptReport.Builder clearIdempotencyKey()
      string idempotency_key = 14;
      Returns:
      This builder for chaining.
    • setIdempotencyKeyBytes

      public ExecutionAttemptReport.Builder setIdempotencyKeyBytes(com.google.protobuf.ByteString value)
      string idempotency_key = 14;
      Parameters:
      value - The bytes for idempotencyKey to set.
      Returns:
      This builder for chaining.
    • getAttemptToken

      public String getAttemptToken()
      string attempt_token = 15;
      Specified by:
      getAttemptToken in interface ExecutionAttemptReportOrBuilder
      Returns:
      The attemptToken.
    • getAttemptTokenBytes

      public com.google.protobuf.ByteString getAttemptTokenBytes()
      string attempt_token = 15;
      Specified by:
      getAttemptTokenBytes in interface ExecutionAttemptReportOrBuilder
      Returns:
      The bytes for attemptToken.
    • setAttemptToken

      public ExecutionAttemptReport.Builder setAttemptToken(String value)
      string attempt_token = 15;
      Parameters:
      value - The attemptToken to set.
      Returns:
      This builder for chaining.
    • clearAttemptToken

      public ExecutionAttemptReport.Builder clearAttemptToken()
      string attempt_token = 15;
      Returns:
      This builder for chaining.
    • setAttemptTokenBytes

      public ExecutionAttemptReport.Builder setAttemptTokenBytes(com.google.protobuf.ByteString value)
      string attempt_token = 15;
      Parameters:
      value - The bytes for attemptToken to set.
      Returns:
      This builder for chaining.