Class FileSearchTool.Builder
-
- All Implemented Interfaces:
public final class FileSearchTool.Builder
A builder for FileSearchTool.
-
-
Method Summary
Modifier and Type Method Description final FileSearchTool.Builder
type(JsonValue type)
Sets the field to an arbitrary JSON value. final FileSearchTool.Builder
fileSearch(FileSearchTool.FileSearch fileSearch)
Overrides for the file search tool. final FileSearchTool.Builder
fileSearch(JsonField<FileSearchTool.FileSearch> fileSearch)
Sets Builder.fileSearch to an arbitrary JSON value. final FileSearchTool.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final FileSearchTool.Builder
putAdditionalProperty(String key, JsonValue value)
final FileSearchTool.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final FileSearchTool.Builder
removeAdditionalProperty(String key)
final FileSearchTool.Builder
removeAllAdditionalProperties(Set<String> keys)
final FileSearchTool
build()
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.
-
-
-
-