Uses of Class
com.google.genai.types.DownloadFileConfig
Packages that use DownloadFileConfig
-
Uses of DownloadFileConfig in com.google.genai
Methods in com.google.genai with parameters of type DownloadFileConfigModifier and TypeMethodDescriptionAsyncFiles.download
(File file, String downloadPath, DownloadFileConfig config) Asynchronously downloads a file from the GenAI API to the provided path.AsyncFiles.download
(GeneratedVideo video, String downloadPath, DownloadFileConfig config) Asynchronously downloads a generated video from the GenAI API to the provided path.AsyncFiles.download
(Video video, String downloadPath, DownloadFileConfig config) Asynchronously downloads a video from the GenAI API to the provided path.AsyncFiles.download
(String fileName, String downloadPath, DownloadFileConfig config) Asynchronously downloads a file from the GenAI API to the provided path.void
Files.download
(File file, String downloadPath, DownloadFileConfig config) Downloads a file from the API.void
Files.download
(GeneratedVideo generatedVideo, String downloadPath, DownloadFileConfig config) Downloads a generated video from the API.void
Files.download
(Video video, String downloadPath, DownloadFileConfig config) Downloads a video from the API.void
Files.download
(String fileName, String downloadPath, DownloadFileConfig config) Downloads a file from the API. -
Uses of DownloadFileConfig in com.google.genai.types
Methods in com.google.genai.types that return DownloadFileConfigModifier and TypeMethodDescriptionabstract DownloadFileConfig
DownloadFileConfig.Builder.build()
static DownloadFileConfig
Deserializes a JSON string to a DownloadFileConfig object.