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 theHttpOptionsfor the API client.Method parameters in com.google.genai with type arguments of type HttpOptionsModifier and TypeMethodDescriptioncom.google.genai.ApiResponseHttpApiClient.request(String httpMethod, String url, byte[] requestBytes, Optional<HttpOptions> requestHttpOptions) com.google.genai.HttpApiResponseHttpApiClient.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 HttpOptionsHttpOptions.Builder.build()static HttpOptionsDeserializes 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>ComputeTokensConfig.httpOptions()Used to override HTTP request options.abstract Optional<HttpOptions>CountTokensConfig.httpOptions()Used to override HTTP request options.abstract Optional<HttpOptions>CreateAuthTokenConfig.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>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>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>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>LiveConnectConfig.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 ComputeTokensConfig.BuilderComputeTokensConfig.Builder.httpOptions(HttpOptions httpOptions) abstract CountTokensConfig.BuilderCountTokensConfig.Builder.httpOptions(HttpOptions httpOptions) abstract CreateAuthTokenConfig.BuilderCreateAuthTokenConfig.Builder.httpOptions(HttpOptions httpOptions) abstract CreateCachedContentConfig.BuilderCreateCachedContentConfig.Builder.httpOptions(HttpOptions httpOptions) abstract CreateFileConfig.BuilderCreateFileConfig.Builder.httpOptions(HttpOptions httpOptions) abstract DeleteCachedContentConfig.BuilderDeleteCachedContentConfig.Builder.httpOptions(HttpOptions httpOptions) abstract DeleteFileConfig.BuilderDeleteFileConfig.Builder.httpOptions(HttpOptions httpOptions) abstract DeleteModelConfig.BuilderDeleteModelConfig.Builder.httpOptions(HttpOptions httpOptions) abstract DownloadFileConfig.BuilderDownloadFileConfig.Builder.httpOptions(HttpOptions httpOptions) abstract EditImageConfig.BuilderEditImageConfig.Builder.httpOptions(HttpOptions httpOptions) abstract EmbedContentConfig.BuilderEmbedContentConfig.Builder.httpOptions(HttpOptions httpOptions) abstract FetchPredictOperationConfig.BuilderFetchPredictOperationConfig.Builder.httpOptions(HttpOptions httpOptions) abstract GenerateContentConfig.BuilderGenerateContentConfig.Builder.httpOptions(HttpOptions httpOptions) abstract GenerateImagesConfig.BuilderGenerateImagesConfig.Builder.httpOptions(HttpOptions httpOptions) abstract GenerateVideosConfig.BuilderGenerateVideosConfig.Builder.httpOptions(HttpOptions httpOptions) abstract GetCachedContentConfig.BuilderGetCachedContentConfig.Builder.httpOptions(HttpOptions httpOptions) abstract GetFileConfig.BuilderGetFileConfig.Builder.httpOptions(HttpOptions httpOptions) abstract GetModelConfig.BuilderGetModelConfig.Builder.httpOptions(HttpOptions httpOptions) abstract GetOperationConfig.BuilderGetOperationConfig.Builder.httpOptions(HttpOptions httpOptions) abstract ListCachedContentsConfig.BuilderListCachedContentsConfig.Builder.httpOptions(HttpOptions httpOptions) abstract ListFilesConfig.BuilderListFilesConfig.Builder.httpOptions(HttpOptions httpOptions) abstract ListModelsConfig.BuilderListModelsConfig.Builder.httpOptions(HttpOptions httpOptions) abstract LiveConnectConfig.BuilderLiveConnectConfig.Builder.httpOptions(HttpOptions httpOptions) abstract UpdateModelConfig.BuilderUpdateModelConfig.Builder.httpOptions(HttpOptions httpOptions) abstract UploadFileConfig.BuilderUploadFileConfig.Builder.httpOptions(HttpOptions httpOptions) abstract UpscaleImageAPIConfig.BuilderUpscaleImageAPIConfig.Builder.httpOptions(HttpOptions httpOptions) abstract UpscaleImageConfig.BuilderUpscaleImageConfig.Builder.httpOptions(HttpOptions httpOptions)