Class FileSearchToolCall.FileSearch.Builder
-
- All Implemented Interfaces:
public final class FileSearchToolCall.FileSearch.Builder
A builder for FileSearch.
-
-
Method Summary
-
-
Method Detail
-
rankingOptions
final FileSearchToolCall.FileSearch.Builder rankingOptions(FileSearchToolCall.FileSearch.RankingOptions rankingOptions)
The ranking options for the file search.
-
rankingOptions
final FileSearchToolCall.FileSearch.Builder rankingOptions(JsonField<FileSearchToolCall.FileSearch.RankingOptions> rankingOptions)
Sets Builder.rankingOptions to an arbitrary JSON value.
You should usually call Builder.rankingOptions with a well-typed RankingOptions value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
results
final FileSearchToolCall.FileSearch.Builder results(List<FileSearchToolCall.FileSearch.Result> results)
The results of the file search.
-
results
final FileSearchToolCall.FileSearch.Builder results(JsonField<List<FileSearchToolCall.FileSearch.Result>> results)
Sets Builder.results to an arbitrary JSON value.
You should usually call Builder.results with a well-typed
List<Result>
value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addResult
final FileSearchToolCall.FileSearch.Builder addResult(FileSearchToolCall.FileSearch.Result result)
-
additionalProperties
final FileSearchToolCall.FileSearch.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FileSearchToolCall.FileSearch.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FileSearchToolCall.FileSearch.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FileSearchToolCall.FileSearch.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FileSearchToolCall.FileSearch.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FileSearchToolCall.FileSearch build()
Returns an immutable instance of FileSearch.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-