Uses of Class
com.google.genai.types.HttpOptions
Packages that use HttpOptions
-
Uses of HttpOptions in com.google.genai
Methods in com.google.genai with parameters of type HttpOptionsModifier and TypeMethodDescriptionClient.Builder.httpOptions
(HttpOptions httpOptions) Sets theHttpOptions
for the API client.Method parameters in com.google.genai with type arguments of type HttpOptionsModifier and TypeMethodDescriptionCompletableFuture<com.google.genai.ApiResponse>
HttpApiClient.asyncRequest
(String httpMethod, String url, byte[] requestBytes, Optional<HttpOptions> requestHttpOptions) Sends an asynchronous Http request given the http method, path, request bytes, and http options.CompletableFuture<com.google.genai.ApiResponse>
HttpApiClient.asyncRequest
(String httpMethod, String path, String requestJson, Optional<HttpOptions> requestHttpOptions) Sends an asynchronous Http request given the http method, path, request json string, and http options.com.google.genai.HttpApiResponse
HttpApiClient.request
(String httpMethod, String url, byte[] requestBytes, Optional<HttpOptions> requestHttpOptions) Sends a Http request given the http method, path, request bytes, and http options.com.google.genai.HttpApiResponse
HttpApiClient.request
(String httpMethod, String path, String requestJson, Optional<HttpOptions> requestHttpOptions) Sends a Http request given the http method, path, request json string, and http options. -
Uses of HttpOptions in com.google.genai.types
Methods in com.google.genai.types that return HttpOptionsModifier and TypeMethodDescriptionabstract HttpOptions
HttpOptions.Builder.build()
static HttpOptions
Deserializes a JSON string to a HttpOptions object.Methods in com.google.genai.types that return types with arguments of type HttpOptionsModifier and TypeMethodDescriptionabstract Optional<HttpOptions>
CancelBatchJobConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
CancelTuningJobConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
ComputeTokensConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
CountTokensConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
CreateBatchJobConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
CreateCachedContentConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
CreateFileConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
CreateTuningJobConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
DeleteBatchJobConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
DeleteCachedContentConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
DeleteFileConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
DeleteModelConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
DownloadFileConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
EditImageConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
EmbedContentConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
FetchPredictOperationConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
GenerateContentConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
GenerateImagesConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
GenerateVideosConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
GetBatchJobConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
GetCachedContentConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
GetFileConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
GetModelConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
GetOperationConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
GetTuningJobConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
ListBatchJobsConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
ListCachedContentsConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
ListFilesConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
ListModelsConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
ListTuningJobsConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
LiveConnectConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
RecontextImageConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
SegmentImageConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
UpdateCachedContentConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
UpdateModelConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
UploadFileConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
UpscaleImageAPIConfig.httpOptions()
Used to override HTTP request options.abstract Optional<HttpOptions>
UpscaleImageConfig.httpOptions()
Used to override HTTP request options.Methods in com.google.genai.types with parameters of type HttpOptionsModifier and TypeMethodDescriptionabstract CancelBatchJobConfig.Builder
CancelBatchJobConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract CancelTuningJobConfig.Builder
CancelTuningJobConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract ComputeTokensConfig.Builder
ComputeTokensConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract CountTokensConfig.Builder
CountTokensConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract CreateBatchJobConfig.Builder
CreateBatchJobConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract CreateCachedContentConfig.Builder
CreateCachedContentConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract CreateFileConfig.Builder
CreateFileConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract CreateTuningJobConfig.Builder
CreateTuningJobConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract DeleteBatchJobConfig.Builder
DeleteBatchJobConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract DeleteCachedContentConfig.Builder
DeleteCachedContentConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract DeleteFileConfig.Builder
DeleteFileConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract DeleteModelConfig.Builder
DeleteModelConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract DownloadFileConfig.Builder
DownloadFileConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract EditImageConfig.Builder
EditImageConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract EmbedContentConfig.Builder
EmbedContentConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract FetchPredictOperationConfig.Builder
FetchPredictOperationConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract GenerateContentConfig.Builder
GenerateContentConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract GenerateImagesConfig.Builder
GenerateImagesConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract GenerateVideosConfig.Builder
GenerateVideosConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract GetBatchJobConfig.Builder
GetBatchJobConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract GetCachedContentConfig.Builder
GetCachedContentConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract GetFileConfig.Builder
GetFileConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract GetModelConfig.Builder
GetModelConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract GetOperationConfig.Builder
GetOperationConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract GetTuningJobConfig.Builder
GetTuningJobConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract ListBatchJobsConfig.Builder
ListBatchJobsConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract ListCachedContentsConfig.Builder
ListCachedContentsConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract ListFilesConfig.Builder
ListFilesConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract ListModelsConfig.Builder
ListModelsConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract ListTuningJobsConfig.Builder
ListTuningJobsConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract LiveConnectConfig.Builder
LiveConnectConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract RecontextImageConfig.Builder
RecontextImageConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract SegmentImageConfig.Builder
SegmentImageConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract UpdateCachedContentConfig.Builder
UpdateCachedContentConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract UpdateModelConfig.Builder
UpdateModelConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract UploadFileConfig.Builder
UploadFileConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract UpscaleImageAPIConfig.Builder
UpscaleImageAPIConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.abstract UpscaleImageConfig.Builder
UpscaleImageConfig.Builder.httpOptions
(HttpOptions httpOptions) Setter for httpOptions.