Uses of Class
com.google.adk.agents.InvocationContext.Builder
Packages that use InvocationContext.Builder
-
Uses of InvocationContext.Builder in com.google.adk.agents
Methods in com.google.adk.agents that return InvocationContext.BuilderModifier and TypeMethodDescriptionSets the agent being invoked.InvocationContext.Builder.artifactService(BaseArtifactService artifactService) Sets the artifact service for persisting artifacts.Sets the branch ID for the invocation.static InvocationContext.BuilderInvocationContext.builder()Returns a newInvocationContext.Builderfor creatingInvocationContextinstances.InvocationContext.Builder.callbackContextData(Map<String, Object> callbackContextData) Sets the callback context data for the invocation.InvocationContext.Builder.contextCacheConfig(@Nullable ContextCacheConfig contextCacheConfig) Sets the context cache configuration for the current agent run.InvocationContext.Builder.endInvocation(boolean endInvocation) Sets whether this invocation should be ended.InvocationContext.Builder.eventsCompactionConfig(@Nullable EventsCompactionConfig eventsCompactionConfig) Sets the events compaction configuration for the current agent run.InvocationContext.Builder.instantSource(@Nullable InstantSource instantSource) Sets the instant source for the invocation;null(the default) selectsInstantSource.system().InvocationContext.Builder.invocationId(String invocationId) Sets the unique ID for the invocation.InvocationContext.Builder.liveRequestQueue(@Nullable LiveRequestQueue liveRequestQueue) Sets the queue for managing live requests.InvocationContext.Builder.memoryService(BaseMemoryService memoryService) Sets the memory service for accessing agent memory.InvocationContext.Builder.pluginManager(Plugin pluginManager) Sets the plugin manager for accessing tools and plugins.InvocationContext.Builder.resumabilityConfig(@Nullable ResumabilityConfig resumabilityConfig) Sets the resumability configuration for the invocation.Sets the configuration for the current agent run.InvocationContext.Builder.scheduler(@Nullable io.reactivex.rxjava3.core.Scheduler scheduler) Sets the scheduler for the invocation's internal fan-out; seeInvocationContext.scheduler().Sets the session associated with this invocation.InvocationContext.Builder.sessionService(BaseSessionService sessionService) Sets the session service for managing session state.InvocationContext.toBuilder()Returns aInvocationContext.Builderinitialized with the values of this instance.InvocationContext.Builder.userContent(@Nullable com.google.genai.types.Content userContent) Sets the user content that triggered this invocation.InvocationContext.Builder.uuidProvider(@Nullable UuidProvider uuidProvider) Sets the UUID provider for the invocation;null(the default) selectsUuidProvider.SYSTEM.Constructors in com.google.adk.agents with parameters of type InvocationContext.Builder