Uses of Class
com.google.genai.types.UploadFileConfig
Packages that use UploadFileConfig
-
Uses of UploadFileConfig in com.google.genai
Methods in com.google.genai with parameters of type UploadFileConfigModifier and TypeMethodDescriptionAsyncFiles.upload
(byte[] bytes, UploadFileConfig config) Asynchronously uploads a bytes array as a file to the GenAI API.AsyncFiles.upload
(File file, UploadFileConfig config) Asynchronously uploads a file to the GenAI API.AsyncFiles.upload
(InputStream stream, long size, UploadFileConfig config) Asynchronously uploads a stream as a file to the GenAI API.AsyncFiles.upload
(String filePath, UploadFileConfig config) Asynchronously uploads a file by its path to the GenAI API.Files.upload
(byte[] bytes, UploadFileConfig config) Uploads a file to the API.Files.upload
(File file, UploadFileConfig config) Uploads a file to the API.Files.upload
(InputStream inputStream, long size, UploadFileConfig config) Uploads a file to the API.Files.upload
(String filePath, UploadFileConfig config) Uploads a file to the API. -
Uses of UploadFileConfig in com.google.genai.types
Methods in com.google.genai.types that return UploadFileConfigModifier and TypeMethodDescriptionabstract UploadFileConfig
UploadFileConfig.Builder.build()
static UploadFileConfig
Deserializes a JSON string to a UploadFileConfig object.