Package com.google.genai.gaos.operations
Class GetAgent.Async
java.lang.Object
com.google.genai.gaos.operations.GetAgent.Async
- All Implemented Interfaces:
Operations.AsyncOperation<GetAgentResponse>,Operations.AsyncRequestOperation<GetAgentRequest,GetAgentResponse>
- Enclosing class:
- GetAgent
public static class GetAgent.Async
extends Object
implements Operations.AsyncRequestOperation<GetAgentRequest,GetAgentResponse>
-
Constructor Summary
ConstructorsConstructorDescriptionAsync(SDKConfiguration sdkConfiguration, Options options, ScheduledExecutorService retryScheduler, Headers _headers) -
Method Summary
Modifier and TypeMethodDescriptionReturns the operation's cancellation relay, ornullif unsupported.doRequest(GetAgentRequest request) handleResponse(HttpResponse<InputStream> response)
-
Constructor Details
-
Async
public Async(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, @Nullable ScheduledExecutorService retryScheduler, Headers _headers)
-
-
Method Details
-
cancellationRelay
Description copied from interface:Operations.AsyncOperationReturns the operation's cancellation relay, ornullif unsupported.- Specified by:
cancellationRelayin interfaceOperations.AsyncOperation<GetAgentResponse>
-
doRequest
- Specified by:
doRequestin interfaceOperations.AsyncRequestOperation<GetAgentRequest,GetAgentResponse>
-
handleResponse
- Specified by:
handleResponsein interfaceOperations.AsyncOperation<GetAgentResponse>
-