Package com.google.genkit.ai.agent
Class AgentAbortResponse
java.lang.Object
com.google.genkit.ai.agent.AgentAbortResponse
AgentAbortResponse is the response body for an agent abort operation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for AgentAbortResponse. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AgentAbortResponse.Builderbuilder()Creates a builder for AgentAbortResponse.Returns the snapshot ID.Returns the resulting snapshot status.voidsetSnapshotId(String snapshotId) Sets the snapshot ID.voidsetStatus(SnapshotStatus status) Sets the resulting snapshot status.
-
Constructor Details
-
AgentAbortResponse
public AgentAbortResponse()Default constructor.
-
-
Method Details
-
builder
Creates a builder for AgentAbortResponse.- Returns:
- a new builder
-
getSnapshotId
Returns the snapshot ID.- Returns:
- the snapshot ID
-
setSnapshotId
Sets the snapshot ID.- Parameters:
snapshotId- the snapshot ID
-
getStatus
Returns the resulting snapshot status.- Returns:
- the status
-
setStatus
Sets the resulting snapshot status.- Parameters:
status- the status
-