Uses of Class
com.google.adk.agents.LiveRequestQueue
Packages that use LiveRequestQueue
-
Uses of LiveRequestQueue in com.google.adk.agents
Methods in com.google.adk.agents that return LiveRequestQueueModifier and TypeMethodDescriptionActiveStreamingTool.stream()Returns the active stream of this streaming tool.Methods in com.google.adk.agents that return types with arguments of type LiveRequestQueueModifier and TypeMethodDescriptionInvocationContext.liveRequestQueue()Returns the queue for managing live requests, if available for this invocation.Methods in com.google.adk.agents with parameters of type LiveRequestQueueModifier and TypeMethodDescriptionstatic InvocationContextInvocationContext.create(BaseSessionService sessionService, BaseArtifactService artifactService, BaseAgent agent, Session session, LiveRequestQueue liveRequestQueue, RunConfig runConfig) Deprecated, for removal: This API element is subject to removal in a future version.InvocationContext.Builder.liveRequestQueue(LiveRequestQueue liveRequestQueue) Sets the queue for managing live requests.voidActiveStreamingTool.stream(LiveRequestQueue stream) Sets the active stream of this streaming tool.Method parameters in com.google.adk.agents with type arguments of type LiveRequestQueueModifier and TypeMethodDescriptionInvocationContext.Builder.liveRequestQueue(Optional<LiveRequestQueue> liveRequestQueue) Deprecated, for removal: This API element is subject to removal in a future version.Constructors in com.google.adk.agents with parameters of type LiveRequestQueueModifierConstructorDescriptionActiveStreamingTool(LiveRequestQueue stream) ActiveStreamingTool(io.reactivex.rxjava3.disposables.Disposable task, LiveRequestQueue stream) Constructor parameters in com.google.adk.agents with type arguments of type LiveRequestQueueModifierConstructorDescriptionInvocationContext(BaseSessionService sessionService, BaseArtifactService artifactService, BaseMemoryService memoryService, Plugin pluginManager, Optional<LiveRequestQueue> liveRequestQueue, Optional<String> branch, String invocationId, BaseAgent agent, Session session, Optional<com.google.genai.types.Content> userContent, RunConfig runConfig, boolean endInvocation) Deprecated, for removal: This API element is subject to removal in a future version.UseInvocationContext.builder()instead.InvocationContext(BaseSessionService sessionService, BaseArtifactService artifactService, BaseMemoryService memoryService, Optional<LiveRequestQueue> liveRequestQueue, Optional<String> branch, String invocationId, BaseAgent agent, Session session, Optional<com.google.genai.types.Content> userContent, RunConfig runConfig, boolean endInvocation) Deprecated, for removal: This API element is subject to removal in a future version.UseInvocationContext.builder()instead. -
Uses of LiveRequestQueue in com.google.adk.runner
Methods in com.google.adk.runner with parameters of type LiveRequestQueueModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable<Event> Runner.runLive(Session session, LiveRequestQueue liveRequestQueue, RunConfig runConfig) Runs the agent in live mode, appending generated events to the session.io.reactivex.rxjava3.core.Flowable<Event> Runner.runLive(String userId, String sessionId, LiveRequestQueue liveRequestQueue, RunConfig runConfig) Retrieves the session and runs the agent in live mode.
InvocationContext.builder()instead.