Uses of Class
com.google.genai.gaos.utils.EventStream
Packages that use EventStream
Package
Description
-
Uses of EventStream in com.google.genai.gaos
Subclasses of EventStream in com.google.genai.gaosModifier and TypeClassDescriptionfinal classAnEventStreamof a streaminginteractions.create()call that automatically continues across hops (HTTP requests).Methods in com.google.genai.gaos that return EventStreamModifier and TypeMethodDescriptionSends a continuation request resuming fromtoken.Methods in com.google.genai.gaos that return types with arguments of type EventStreamModifier and TypeMethodDescriptionAsyncInteractions.create(CreateInteractionRequest request) Creates a new interaction.AsyncInteractions.create(CreateInteractionRequestBody body) Creates a new interaction.AsyncInteractions.create(CreateInteractionRequestBody body, boolean automaticContinuation) Creates a new interaction.AsyncInteractions.create(CreateInteractionRequest request, Options options) Creates a new interaction.AsyncInteractions.create(String apiVersion, CreateInteractionRequestBody body, Options options) Creates a new interaction.InteractionContinuation.createAsync(SDKConfiguration sdkConfiguration, CreateInteractionRequest request, Options options, Headers headers) Runs an asynchronouscreatewith automatic continuation.AsyncInteractions.get(GetInteractionByIdRequest request) Retrieves the full details of a single interaction based on its `Interaction.id`.AsyncInteractions.get(GetInteractionByIdRequest request, Options options) Retrieves the full details of a single interaction based on its `Interaction.id`.Constructors in com.google.genai.gaos with parameters of type EventStreamModifierConstructorDescriptionContinuationEventStream(EventStream<InteractionSSEStreamEvent> initial, ContinuationEventStream.HopOpener opener, String initialContinuationToken, com.google.genai.gaos.InteractionContinuation.CallDeadline deadline) Creates a stream that continuesinitialacross hops. -
Uses of EventStream in com.google.genai.gaos.models.operations
Methods in com.google.genai.gaos.models.operations that return EventStreamModifier and TypeMethodDescriptionCreateInteractionResponse.events()The server-sent events of astream=trueinteraction.GetInteractionByIdResponse.events()Methods in com.google.genai.gaos.models.operations with parameters of type EventStreamModifier and TypeMethodDescriptionCreateInteractionResponse.withEvents(EventStream<InteractionSSEStreamEvent> events) Replaces the stream returned byCreateInteractionResponse.events()(used by automatic continuation). -
Uses of EventStream in com.google.genai.gaos.models.operations.async
Methods in com.google.genai.gaos.models.operations.async that return types with arguments of type EventStream