Uses of Interface
com.google.adk.platform.UuidProvider
Packages that use UuidProvider
Package
Description
Seams for the system operations behind ADK-generated timestamps and ids.
-
Uses of UuidProvider in com.google.adk.agents
Methods in com.google.adk.agents that return UuidProviderModifier and TypeMethodDescriptionInvocationContext.uuidProvider()Returns theUuidProviderfor this invocation.Methods in com.google.adk.agents with parameters of type UuidProviderModifier and TypeMethodDescriptionstatic StringInvocationContext.newInvocationContextId(UuidProvider uuidProvider) Generates a new unique ID for an invocation context using the givenUuidProvider.InvocationContext.Builder.uuidProvider(@Nullable UuidProvider uuidProvider) Sets the UUID provider for the invocation;null(the default) selectsUuidProvider.SYSTEM. -
Uses of UuidProvider in com.google.adk.flows.llmflows
Methods in com.google.adk.flows.llmflows with parameters of type UuidProviderModifier and TypeMethodDescriptionstatic voidFunctions.populateClientFunctionCallId(Event modelResponseEvent, UuidProvider uuidProvider) Populates missing function call IDs in the provided event's content using the givenUuidProvider. -
Uses of UuidProvider in com.google.adk.models
Methods in com.google.adk.models with parameters of type UuidProviderModifier and TypeMethodDescriptionstatic StringFunctionCallIds.generateClientFunctionCallId(UuidProvider uuidProvider) Returns a new client-side function call ID with the ADK prefix, minted from the givenUuidProvider. -
Uses of UuidProvider in com.google.adk.platform
Fields in com.google.adk.platform declared as UuidProviderModifier and TypeFieldDescriptionstatic final UuidProviderUuidProvider.SYSTEMA provider backed byUUID.randomUUID(). -
Uses of UuidProvider in com.google.adk.runner
Methods in com.google.adk.runner with parameters of type UuidProviderModifier and TypeMethodDescriptionRunner.Builder.uuidProvider(@Nullable UuidProvider uuidProvider) Sets theUuidProviderthat supplies every identifier this runner generates: event, invocation, and client function-call ids, and the ids of sessions created by the default in-memory session service, which is created on the firstbuild(). -
Uses of UuidProvider in com.google.adk.sessions
Constructors in com.google.adk.sessions with parameters of type UuidProviderModifierConstructorDescriptionFirestoreSessionService(com.google.cloud.firestore.Firestore firestore, InstantSource instantSource, UuidProvider uuidProvider) Creates a session service whose generated session IDs andlastUpdateTimevalues come from the given providers instead ofUUID.randomUUID()and the wall clock.InMemorySessionService(InMemorySessionService.DuplicateSessionIdBehavior duplicateSessionIdBehavior, InstantSource instantSource, UuidProvider uuidProvider) Creates a new instance of the in-memory session service with empty storage. -
Uses of UuidProvider in com.google.adk.summarizer
Constructors in com.google.adk.summarizer with parameters of type UuidProviderModifierConstructorDescriptionLlmEventSummarizer(BaseLlm baseLlm, @Nullable String promptTemplate, InstantSource instantSource, UuidProvider uuidProvider) Creates a summarizer whose compaction events draw their id, invocation id, and timestamp from the given sources.