Package com.google.genkit.ai.agent
Class AgentAbortRequest
java.lang.Object
com.google.genkit.ai.agent.AgentAbortRequest
AgentAbortRequest is the request body for aborting an agent execution.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for AgentAbortRequest. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AgentAbortRequest.Builderbuilder()Creates a builder for AgentAbortRequest.Returns the snapshot ID to abort.voidsetSnapshotId(String snapshotId) Sets the snapshot ID to abort.
-
Constructor Details
-
AgentAbortRequest
public AgentAbortRequest()Default constructor.
-
-
Method Details
-
builder
Creates a builder for AgentAbortRequest.- Returns:
- a new builder
-
getSnapshotId
Returns the snapshot ID to abort.- Returns:
- the snapshot ID
-
setSnapshotId
Sets the snapshot ID to abort.- Parameters:
snapshotId- the snapshot ID
-