Class BetaWebFetchUrlSources.Builder
-
- All Implemented Interfaces:
public final class BetaWebFetchUrlSources.BuilderA builder for BetaWebFetchUrlSources.
-
-
Method Summary
-
-
Method Detail
-
clientToolResults
final BetaWebFetchUrlSources.Builder clientToolResults(BetaWebFetchUrlSources.ClientToolResults clientToolResults)
Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
-
clientToolResults
final BetaWebFetchUrlSources.Builder clientToolResults(JsonField<BetaWebFetchUrlSources.ClientToolResults> clientToolResults)
Sets Builder.clientToolResults to an arbitrary JSON value.
You should usually call Builder.clientToolResults with a well-typed ClientToolResults value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
clientToolResults
final BetaWebFetchUrlSources.Builder clientToolResults(BetaWebFetchUrlSourceAll all)
Alias for calling clientToolResults with
ClientToolResults.ofAll(all).
-
clientToolResults
final BetaWebFetchUrlSources.Builder clientToolResults(BetaWebFetchUrlSourceNone none)
Alias for calling clientToolResults with
ClientToolResults.ofNone(none).
-
clientToolResults
final BetaWebFetchUrlSources.Builder clientToolResults(BetaWebFetchUrlSourceOnly only)
Alias for calling clientToolResults with
ClientToolResults.ofOnly(only).
-
clientToolResults
final BetaWebFetchUrlSources.Builder clientToolResults(BetaWebFetchUrlSourceExcept except)
Alias for calling clientToolResults with
ClientToolResults.ofExcept(except).
-
serverToolResults
final BetaWebFetchUrlSources.Builder serverToolResults(BetaWebFetchUrlSources.ServerToolResults serverToolResults)
Which server tools' results contribute fetchable URLs: "all", "none", or an only or except list of server tool names from tools[]; only web_search and web_fetch results ever contribute.
-
serverToolResults
final BetaWebFetchUrlSources.Builder serverToolResults(JsonField<BetaWebFetchUrlSources.ServerToolResults> serverToolResults)
Sets Builder.serverToolResults to an arbitrary JSON value.
You should usually call Builder.serverToolResults with a well-typed ServerToolResults value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
serverToolResults
final BetaWebFetchUrlSources.Builder serverToolResults(BetaWebFetchUrlSourceAll all)
Alias for calling serverToolResults with
ServerToolResults.ofAll(all).
-
serverToolResults
final BetaWebFetchUrlSources.Builder serverToolResults(BetaWebFetchUrlSourceNone none)
Alias for calling serverToolResults with
ServerToolResults.ofNone(none).
-
serverToolResults
final BetaWebFetchUrlSources.Builder serverToolResults(BetaWebFetchUrlSourceOnly only)
Alias for calling serverToolResults with
ServerToolResults.ofOnly(only).
-
serverToolResults
final BetaWebFetchUrlSources.Builder serverToolResults(BetaWebFetchUrlSourceExcept except)
Alias for calling serverToolResults with
ServerToolResults.ofExcept(except).
-
userInput
final BetaWebFetchUrlSources.Builder userInput(BetaWebFetchUrlSources.UserInput userInput)
Whether URLs in user messages are fetchable: "all" or "none".
-
userInput
final BetaWebFetchUrlSources.Builder userInput(JsonField<BetaWebFetchUrlSources.UserInput> userInput)
Sets Builder.userInput to an arbitrary JSON value.
You should usually call Builder.userInput with a well-typed UserInput value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
userInput
final BetaWebFetchUrlSources.Builder userInput(BetaWebFetchUrlSourceAll all)
Alias for calling userInput with
UserInput.ofAll(all).
-
userInput
final BetaWebFetchUrlSources.Builder userInput(BetaWebFetchUrlSourceNone none)
Alias for calling userInput with
UserInput.ofNone(none).
-
additionalProperties
final BetaWebFetchUrlSources.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
onlyClientToolResults
final BetaWebFetchUrlSources.Builder onlyClientToolResults(List<BetaWebFetchUrlSourceToolReference> tools)
Alias for calling clientToolResults with the following:
BetaWebFetchUrlSourceOnly.builder() .tools(tools) .build()
-
exceptClientToolResults
final BetaWebFetchUrlSources.Builder exceptClientToolResults(List<BetaWebFetchUrlSourceToolReference> tools)
Alias for calling clientToolResults with the following:
BetaWebFetchUrlSourceExcept.builder() .tools(tools) .build()
-
onlyServerToolResults
final BetaWebFetchUrlSources.Builder onlyServerToolResults(List<BetaWebFetchUrlSourceToolReference> tools)
Alias for calling serverToolResults with the following:
BetaWebFetchUrlSourceOnly.builder() .tools(tools) .build()
-
exceptServerToolResults
final BetaWebFetchUrlSources.Builder exceptServerToolResults(List<BetaWebFetchUrlSourceToolReference> tools)
Alias for calling serverToolResults with the following:
BetaWebFetchUrlSourceExcept.builder() .tools(tools) .build()
-
putAdditionalProperty
final BetaWebFetchUrlSources.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaWebFetchUrlSources.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaWebFetchUrlSources.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaWebFetchUrlSources.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaWebFetchUrlSources build()
Returns an immutable instance of BetaWebFetchUrlSources.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-