Uses of Class
com.google.genkit.ai.agent.SessionSnapshot
Packages that use SessionSnapshot
Package
Description
This package provides types for the Genkit agents feature, including enums and models for agent
state snapshots, agent execution lifecycle, and agent-related operations.
DynamoDB-backed agent session persistence.
Azure Cosmos DB-backed agent session persistence.
Firestore-backed session store for Genkit agents.
MongoDB-backed agent session persistence.
PostgreSQL-backed agent session persistence.
-
Uses of SessionSnapshot in com.google.genkit.ai.agent
Methods in com.google.genkit.ai.agent that return SessionSnapshotModifier and TypeMethodDescriptionSnapshotMutator.apply(SessionSnapshot<S> existing) Applies the mutation.SessionSnapshot.Builder.build()AgentTransport.getSnapshot(GetSnapshotRequest req) Retrieves a session snapshot.FileSessionStore.getSnapshot(GetSnapshotOptions opts) Retrieves a session snapshot.InMemorySessionStore.getSnapshot(GetSnapshotOptions opts) Retrieves a session snapshot.SnapshotReader.getSnapshot(GetSnapshotOptions opts) Retrieves a session snapshot.Agent.getSnapshotData(GetSnapshotRequest req) AgentApi.getSnapshotData(GetSnapshotRequest req) Retrieves a session snapshot by snapshot ID or session ID.SessionRunner.lastSnapshot()Returns the last persisted (or in-memory) snapshot, ornullif no turn has completed.Methods in com.google.genkit.ai.agent with parameters of type SessionSnapshotModifier and TypeMethodDescriptionSnapshotMutator.apply(SessionSnapshot<S> existing) Applies the mutation.Method parameters in com.google.genkit.ai.agent with type arguments of type SessionSnapshotModifier and TypeMethodDescriptionFileSessionStore.onSnapshotStateChange(String snapshotId, Consumer<SessionSnapshot<?>> cb, SessionStoreOptions options) Subscribes to status changes for the snapshot identified bysnapshotId.InMemorySessionStore.onSnapshotStateChange(String snapshotId, Consumer<SessionSnapshot<?>> cb, SessionStoreOptions options) Subscribes to status changes for the snapshot identified bysnapshotId.SnapshotSubscriber.onSnapshotStateChange(String snapshotId, Consumer<SessionSnapshot<?>> cb, SessionStoreOptions options) Subscribes to status changes for the snapshot identified bysnapshotId. -
Uses of SessionSnapshot in com.google.genkit.ai.agent.internal
Methods in com.google.genkit.ai.agent.internal that return SessionSnapshotModifier and TypeMethodDescriptionInProcessTransport.getSnapshot(GetSnapshotRequest req) static <S> SessionSnapshot<S> LeafSelection.selectLeaf(List<SessionSnapshot<S>> snapshots, boolean rejectBranching) Selects the leaf snapshot from the given list.Method parameters in com.google.genkit.ai.agent.internal with type arguments of type SessionSnapshotModifier and TypeMethodDescriptionstatic <S> SessionSnapshot<S> LeafSelection.selectLeaf(List<SessionSnapshot<S>> snapshots, boolean rejectBranching) Selects the leaf snapshot from the given list. -
Uses of SessionSnapshot in com.google.genkit.client
Methods in com.google.genkit.client that return SessionSnapshot -
Uses of SessionSnapshot in com.google.genkit.plugins.awsbedrock.session
Methods in com.google.genkit.plugins.awsbedrock.session that return SessionSnapshotModifier and TypeMethodDescriptionDynamoDbSessionStore.getSnapshot(GetSnapshotOptions opts) Retrieves a session snapshot.Method parameters in com.google.genkit.plugins.awsbedrock.session with type arguments of type SessionSnapshotModifier and TypeMethodDescriptionDynamoDbSessionStore.onSnapshotStateChange(String snapshotId, Consumer<SessionSnapshot<?>> cb, SessionStoreOptions storeOpts) Subscribes to status changes for the snapshot identified bysnapshotId. -
Uses of SessionSnapshot in com.google.genkit.plugins.azurefoundry.session
Methods in com.google.genkit.plugins.azurefoundry.session that return SessionSnapshotModifier and TypeMethodDescriptionCosmosSessionStore.getSnapshot(GetSnapshotOptions opts) Retrieves a session snapshot.Method parameters in com.google.genkit.plugins.azurefoundry.session with type arguments of type SessionSnapshotModifier and TypeMethodDescriptionCosmosSessionStore.onSnapshotStateChange(String snapshotId, Consumer<SessionSnapshot<?>> cb, SessionStoreOptions storeOpts) Subscribes to status changes for the snapshot identified bysnapshotId. -
Uses of SessionSnapshot in com.google.genkit.plugins.firebase.session
Methods in com.google.genkit.plugins.firebase.session that return SessionSnapshotModifier and TypeMethodDescriptionFirestoreSessionStore.getSnapshot(GetSnapshotOptions opts) Retrieves a session snapshot.Method parameters in com.google.genkit.plugins.firebase.session with type arguments of type SessionSnapshotModifier and TypeMethodDescriptionFirestoreSessionStore.onSnapshotStateChange(String snapshotId, Consumer<SessionSnapshot<?>> cb, SessionStoreOptions options) Subscribes to status changes for the snapshot identified bysnapshotId. -
Uses of SessionSnapshot in com.google.genkit.plugins.mongodb.session
Methods in com.google.genkit.plugins.mongodb.session that return SessionSnapshotModifier and TypeMethodDescriptionMongoSessionStore.getSnapshot(GetSnapshotOptions opts) Retrieves a session snapshot.Method parameters in com.google.genkit.plugins.mongodb.session with type arguments of type SessionSnapshotModifier and TypeMethodDescriptionMongoSessionStore.onSnapshotStateChange(String snapshotId, Consumer<SessionSnapshot<?>> cb, SessionStoreOptions storeOpts) Subscribes to status changes for the snapshot identified bysnapshotId. -
Uses of SessionSnapshot in com.google.genkit.plugins.postgresql.session
Methods in com.google.genkit.plugins.postgresql.session that return SessionSnapshotModifier and TypeMethodDescriptionPostgresSessionStore.getSnapshot(GetSnapshotOptions opts) Retrieves a session snapshot.Method parameters in com.google.genkit.plugins.postgresql.session with type arguments of type SessionSnapshotModifier and TypeMethodDescriptionPostgresSessionStore.onSnapshotStateChange(String snapshotId, Consumer<SessionSnapshot<?>> cb, SessionStoreOptions storeOpts) Subscribes to status changes for the snapshot identified bysnapshotId.