Class FileSearchToolCallDelta.Builder
-
- All Implemented Interfaces:
public final class FileSearchToolCallDelta.Builder
A builder for FileSearchToolCallDelta.
-
-
Method Summary
-
-
Method Detail
-
fileSearch
final FileSearchToolCallDelta.Builder fileSearch(JsonValue fileSearch)
For now, this is always going to be an empty object.
-
index
final FileSearchToolCallDelta.Builder index(Long index)
The index of the tool call in the tool calls array.
-
index
final FileSearchToolCallDelta.Builder index(JsonField<Long> index)
Sets Builder.index to an arbitrary JSON value.
You should usually call Builder.index with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final FileSearchToolCallDelta.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.
-
id
final FileSearchToolCallDelta.Builder id(String id)
The ID of the tool call object.
-
id
final FileSearchToolCallDelta.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final FileSearchToolCallDelta.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FileSearchToolCallDelta.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FileSearchToolCallDelta.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FileSearchToolCallDelta.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FileSearchToolCallDelta.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FileSearchToolCallDelta build()
Returns an immutable instance of FileSearchToolCallDelta.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.fileSearch() .index()
-
-
-
-