Package com.google.genkit.ai.agent
Class GetSnapshotRequest
java.lang.Object
com.google.genkit.ai.agent.GetSnapshotRequest
GetSnapshotRequest is the request body for retrieving a session snapshot.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for GetSnapshotRequest. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GetSnapshotRequest.Builderbuilder()Creates a builder for GetSnapshotRequest.Returns the session ID.Returns the snapshot ID.voidsetSessionId(String sessionId) Sets the session ID.voidsetSnapshotId(String snapshotId) Sets the snapshot ID.
-
Constructor Details
-
GetSnapshotRequest
public GetSnapshotRequest()Default constructor.
-
-
Method Details
-
builder
Creates a builder for GetSnapshotRequest.- Returns:
- a new builder
-
getSnapshotId
Returns the snapshot ID.- Returns:
- the snapshot ID
-
setSnapshotId
Sets the snapshot ID.- Parameters:
snapshotId- the snapshot ID
-
getSessionId
Returns the session ID.- Returns:
- the session ID
-
setSessionId
Sets the session ID.- Parameters:
sessionId- the session ID
-