Class FileSearchTool.Builder
-
- All Implemented Interfaces:
public final class FileSearchTool.BuilderA builder for FileSearchTool.
-
-
Method Summary
Modifier and Type Method Description final FileSearchTool.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final FileSearchTool.BuilderfileSearch(FileSearchTool.FileSearch fileSearch)Overrides for the file search tool. final FileSearchTool.BuilderfileSearch(JsonField<FileSearchTool.FileSearch> fileSearch)Sets Builder.fileSearch to an arbitrary JSON value. final FileSearchTool.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final FileSearchTool.BuilderputAdditionalProperty(String key, JsonValue value)final FileSearchTool.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final FileSearchTool.BuilderremoveAdditionalProperty(String key)final FileSearchTool.BuilderremoveAllAdditionalProperties(Set<String> keys)final FileSearchToolbuild()Returns an immutable instance of FileSearchTool. -
-
Method Detail
-
type
final FileSearchTool.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("file_search")This method is primarily for setting the field to an undocumented or not yet supported value.
-
fileSearch
final FileSearchTool.Builder fileSearch(FileSearchTool.FileSearch fileSearch)
Overrides for the file search tool.
-
fileSearch
final FileSearchTool.Builder fileSearch(JsonField<FileSearchTool.FileSearch> fileSearch)
Sets Builder.fileSearch to an arbitrary JSON value.
You should usually call Builder.fileSearch with a well-typed FileSearch value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final FileSearchTool.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FileSearchTool.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FileSearchTool.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FileSearchTool.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FileSearchTool.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FileSearchTool build()
Returns an immutable instance of FileSearchTool.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-