Class CreateInteractionRequestBuilder
java.lang.Object
com.google.genai.gaos.models.operations.async.CreateInteractionRequestBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiVersion(String apiVersion) Deprecated.automaticContinuation(boolean automaticContinuation) Deprecated.Deprecated.call()Executes the request and returns the response.request(CreateInteractionRequest request) retryConfig(RetryConfig retryConfig) Deprecated.
-
Constructor Details
-
CreateInteractionRequestBuilder
-
-
Method Details
-
retryConfig
-
request
-
apiVersion
Deprecated. -
body
Deprecated. -
automaticContinuation
@Deprecated public CreateInteractionRequestBuilder automaticContinuation(boolean automaticContinuation) Deprecated. -
timeout
Deprecated. -
header
-
call
Executes the request and returns the response.This operation returns a
EventStream<InteractionSSEStreamEvent>blocking SSE (Server-Sent Events) stream.The returned CompletableFuture completes with the blocking event stream once response headers are received. Iterating the stream blocks the calling thread; close it after use.
- Returns:
- A CompletableFuture that completes with a blocking event stream of typed events from the server.
-
request(com.google.genai.gaos.models.operations.CreateInteractionRequest)withCreateInteractionRequest.builder()instead.