Package com.google.genai.types
Class DownloadFileConfig
-
- All Implemented Interfaces:
public abstract class DownloadFileConfig extends JsonSerializable
Used to override the default configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classDownloadFileConfig.BuilderBuilder for DownloadFileConfig.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description DownloadFileConfig()
-
Method Summary
Modifier and Type Method Description abstract Optional<HttpOptions>httpOptions()Used to override HTTP request options. static DownloadFileConfig.Builderbuilder()Instantiates a builder for DownloadFileConfig. abstract DownloadFileConfig.BuildertoBuilder()Creates a builder with the same values as this instance. static DownloadFileConfigfromJson(String jsonString)Deserializes a JSON string to a DownloadFileConfig object. -
Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
httpOptions
abstract Optional<HttpOptions> httpOptions()
Used to override HTTP request options.
-
builder
static DownloadFileConfig.Builder builder()
Instantiates a builder for DownloadFileConfig.
-
toBuilder
abstract DownloadFileConfig.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static DownloadFileConfig fromJson(String jsonString)
Deserializes a JSON string to a DownloadFileConfig object.
-
-
-
-