Class AgentAbortResponse

java.lang.Object
com.google.genkit.ai.agent.AgentAbortResponse

public class AgentAbortResponse extends Object
AgentAbortResponse is the response body for an agent abort operation.
  • Constructor Details

    • AgentAbortResponse

      public AgentAbortResponse()
      Default constructor.
  • Method Details

    • builder

      public static AgentAbortResponse.Builder builder()
      Creates a builder for AgentAbortResponse.
      Returns:
      a new builder
    • getSnapshotId

      public String getSnapshotId()
      Returns the snapshot ID.
      Returns:
      the snapshot ID
    • setSnapshotId

      public void setSnapshotId(String snapshotId)
      Sets the snapshot ID.
      Parameters:
      snapshotId - the snapshot ID
    • getStatus

      public SnapshotStatus getStatus()
      Returns the resulting snapshot status.
      Returns:
      the status
    • setStatus

      public void setStatus(SnapshotStatus status)
      Sets the resulting snapshot status.
      Parameters:
      status - the status