Package com.google.genai.types
Class ImportFileConfig
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.ImportFileConfig
Optional parameters for importing a file.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for ImportFileConfig. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ImportFileConfig.Builderbuilder()Instantiates a builder for ImportFileConfig.abstract Optional<ChunkingConfig>Config for telling the service how to chunk the file.abstract Optional<List<CustomMetadata>>User provided custom metadata stored as key-value pairs used for querying.static ImportFileConfigDeserializes a JSON string to a ImportFileConfig object.abstract Optional<HttpOptions>Used to override HTTP request options.abstract ImportFileConfig.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
setMaxReadLength, stringToJsonNode, toJson
-
Constructor Details
-
ImportFileConfig
public ImportFileConfig()
-
-
Method Details
-
httpOptions
Used to override HTTP request options. -
customMetadata
User provided custom metadata stored as key-value pairs used for querying. -
chunkingConfig
Config for telling the service how to chunk the file. -
builder
Instantiates a builder for ImportFileConfig. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a ImportFileConfig object.
-