Class ExecutionAttemptReport

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.agentscope.aistio.proto.ExecutionAttemptReport
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ExecutionAttemptReportOrBuilder, Serializable

public final class ExecutionAttemptReport extends com.google.protobuf.GeneratedMessage implements ExecutionAttemptReportOrBuilder
 ExecutionAttemptReport is fenced by attempt identity and dispatch generation.
 
Protobuf type agentscope.protocol.v1.ExecutionAttemptReport
See Also:
  • Field Details

  • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • getGeneration

      public long getGeneration()
      int64 generation = 5;
      Specified by:
      getGeneration in interface ExecutionAttemptReportOrBuilder
      Returns:
      The generation.
    • 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.
    • 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.
    • 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.
    • getResult

      public com.google.protobuf.ByteString getResult()
      bytes result = 9;
      Specified by:
      getResult in interface ExecutionAttemptReportOrBuilder
      Returns:
      The result.
    • 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.
    • 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.
    • getCheckpoint

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

      public com.google.protobuf.ByteString getUsage()
      bytes usage = 13;
      Specified by:
      getUsage in interface ExecutionAttemptReportOrBuilder
      Returns:
      The usage.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 ExecutionAttemptReport parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static ExecutionAttemptReport parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static ExecutionAttemptReport parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static ExecutionAttemptReport.Builder newBuilder()
    • newBuilder

      public static ExecutionAttemptReport.Builder newBuilder(ExecutionAttemptReport prototype)
    • toBuilder

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

      protected ExecutionAttemptReport.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ExecutionAttemptReport getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ExecutionAttemptReport> 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.GeneratedMessage
    • getDefaultInstanceForType

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