Package com.google.genai.types
Class ImportFileConfig.Builder
java.lang.Object
com.google.genai.types.ImportFileConfig.Builder
- Enclosing class:
- ImportFileConfig
Builder for ImportFileConfig.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ImportFileConfigbuild()abstract ImportFileConfig.BuilderchunkingConfig(ChunkingConfig chunkingConfig) Setter for chunkingConfig.chunkingConfig(ChunkingConfig.Builder chunkingConfigBuilder) Setter for chunkingConfig builder.Clears the value of chunkingConfig field.Clears the value of customMetadata field.Clears the value of httpOptions field.customMetadata(CustomMetadata... customMetadata) Setter for customMetadata.customMetadata(CustomMetadata.Builder... customMetadataBuilders) Setter for customMetadata builder.abstract ImportFileConfig.BuildercustomMetadata(List<CustomMetadata> customMetadata) Setter for customMetadata.abstract ImportFileConfig.BuilderhttpOptions(HttpOptions httpOptions) Setter for httpOptions.httpOptions(HttpOptions.Builder httpOptionsBuilder) Setter for httpOptions builder.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
httpOptions
Setter for httpOptions.httpOptions: Used to override HTTP request options.
-
httpOptions
@CanIgnoreReturnValue public ImportFileConfig.Builder httpOptions(HttpOptions.Builder httpOptionsBuilder) Setter for httpOptions builder.httpOptions: Used to override HTTP request options.
-
clearHttpOptions
Clears the value of httpOptions field. -
customMetadata
Setter for customMetadata.customMetadata: User provided custom metadata stored as key-value pairs used for querying.
-
customMetadata
@CanIgnoreReturnValue public ImportFileConfig.Builder customMetadata(CustomMetadata... customMetadata) Setter for customMetadata.customMetadata: User provided custom metadata stored as key-value pairs used for querying.
-
customMetadata
@CanIgnoreReturnValue public ImportFileConfig.Builder customMetadata(CustomMetadata.Builder... customMetadataBuilders) Setter for customMetadata builder.customMetadata: User provided custom metadata stored as key-value pairs used for querying.
-
clearCustomMetadata
Clears the value of customMetadata field. -
chunkingConfig
Setter for chunkingConfig.chunkingConfig: Config for telling the service how to chunk the file.
-
chunkingConfig
@CanIgnoreReturnValue public ImportFileConfig.Builder chunkingConfig(ChunkingConfig.Builder chunkingConfigBuilder) Setter for chunkingConfig builder.chunkingConfig: Config for telling the service how to chunk the file.
-
clearChunkingConfig
Clears the value of chunkingConfig field. -
build
-