Class BetaManagedAgentsWebFetchUrlSources.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsWebFetchUrlSources.BuilderA builder for BetaManagedAgentsWebFetchUrlSources.
-
-
Method Summary
-
-
Method Detail
-
clientToolResults
final BetaManagedAgentsWebFetchUrlSources.Builder clientToolResults(BetaManagedAgentsWebFetchUrlSourceToolFilter clientToolResults)
Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.
-
clientToolResults
final BetaManagedAgentsWebFetchUrlSources.Builder clientToolResults(Optional<BetaManagedAgentsWebFetchUrlSourceToolFilter> clientToolResults)
Alias for calling Builder.clientToolResults with
clientToolResults.orElse(null).
-
clientToolResults
final BetaManagedAgentsWebFetchUrlSources.Builder clientToolResults(JsonField<BetaManagedAgentsWebFetchUrlSourceToolFilter> clientToolResults)
Sets Builder.clientToolResults to an arbitrary JSON value.
You should usually call Builder.clientToolResults with a well-typed BetaManagedAgentsWebFetchUrlSourceToolFilter value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
clientToolResults
final BetaManagedAgentsWebFetchUrlSources.Builder clientToolResults(BetaManagedAgentsWebFetchUrlSourceAll all)
Alias for calling clientToolResults with
BetaManagedAgentsWebFetchUrlSourceToolFilter.ofAll(all).
-
clientToolResults
final BetaManagedAgentsWebFetchUrlSources.Builder clientToolResults(BetaManagedAgentsWebFetchUrlSourceNone none)
Alias for calling clientToolResults with
BetaManagedAgentsWebFetchUrlSourceToolFilter.ofNone(none).
-
clientToolResults
final BetaManagedAgentsWebFetchUrlSources.Builder clientToolResults(BetaManagedAgentsWebFetchUrlSourceOnly only)
Alias for calling clientToolResults with
BetaManagedAgentsWebFetchUrlSourceToolFilter.ofOnly(only).
-
clientToolResults
final BetaManagedAgentsWebFetchUrlSources.Builder clientToolResults(BetaManagedAgentsWebFetchUrlSourceExcept except)
Alias for calling clientToolResults with
BetaManagedAgentsWebFetchUrlSourceToolFilter.ofExcept(except).
-
serverToolResults
final BetaManagedAgentsWebFetchUrlSources.Builder serverToolResults(BetaManagedAgentsWebFetchUrlSourceToolFilter serverToolResults)
Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.
-
serverToolResults
final BetaManagedAgentsWebFetchUrlSources.Builder serverToolResults(Optional<BetaManagedAgentsWebFetchUrlSourceToolFilter> serverToolResults)
Alias for calling Builder.serverToolResults with
serverToolResults.orElse(null).
-
serverToolResults
final BetaManagedAgentsWebFetchUrlSources.Builder serverToolResults(JsonField<BetaManagedAgentsWebFetchUrlSourceToolFilter> serverToolResults)
Sets Builder.serverToolResults to an arbitrary JSON value.
You should usually call Builder.serverToolResults with a well-typed BetaManagedAgentsWebFetchUrlSourceToolFilter value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
serverToolResults
final BetaManagedAgentsWebFetchUrlSources.Builder serverToolResults(BetaManagedAgentsWebFetchUrlSourceAll all)
Alias for calling serverToolResults with
BetaManagedAgentsWebFetchUrlSourceToolFilter.ofAll(all).
-
serverToolResults
final BetaManagedAgentsWebFetchUrlSources.Builder serverToolResults(BetaManagedAgentsWebFetchUrlSourceNone none)
Alias for calling serverToolResults with
BetaManagedAgentsWebFetchUrlSourceToolFilter.ofNone(none).
-
serverToolResults
final BetaManagedAgentsWebFetchUrlSources.Builder serverToolResults(BetaManagedAgentsWebFetchUrlSourceOnly only)
Alias for calling serverToolResults with
BetaManagedAgentsWebFetchUrlSourceToolFilter.ofOnly(only).
-
serverToolResults
final BetaManagedAgentsWebFetchUrlSources.Builder serverToolResults(BetaManagedAgentsWebFetchUrlSourceExcept except)
Alias for calling serverToolResults with
BetaManagedAgentsWebFetchUrlSourceToolFilter.ofExcept(except).
-
userInput
final BetaManagedAgentsWebFetchUrlSources.Builder userInput(BetaManagedAgentsWebFetchUrlSourceUserInput userInput)
Whether URLs in the text of user messages may be fetched. Null when not set, which allows them.
-
userInput
final BetaManagedAgentsWebFetchUrlSources.Builder userInput(Optional<BetaManagedAgentsWebFetchUrlSourceUserInput> userInput)
Alias for calling Builder.userInput with
userInput.orElse(null).
-
userInput
final BetaManagedAgentsWebFetchUrlSources.Builder userInput(JsonField<BetaManagedAgentsWebFetchUrlSourceUserInput> userInput)
Sets Builder.userInput to an arbitrary JSON value.
You should usually call Builder.userInput with a well-typed BetaManagedAgentsWebFetchUrlSourceUserInput value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
userInput
final BetaManagedAgentsWebFetchUrlSources.Builder userInput(BetaManagedAgentsWebFetchUrlSourceAll all)
Alias for calling userInput with
BetaManagedAgentsWebFetchUrlSourceUserInput.ofAll(all).
-
userInput
final BetaManagedAgentsWebFetchUrlSources.Builder userInput(BetaManagedAgentsWebFetchUrlSourceNone none)
Alias for calling userInput with
BetaManagedAgentsWebFetchUrlSourceUserInput.ofNone(none).
-
additionalProperties
final BetaManagedAgentsWebFetchUrlSources.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
onlyClientToolResults
final BetaManagedAgentsWebFetchUrlSources.Builder onlyClientToolResults(List<BetaManagedAgentsWebFetchUrlSourceToolReference> tools)
Alias for calling clientToolResults with the following:
BetaManagedAgentsWebFetchUrlSourceOnly.builder() .tools(tools) .build()
-
exceptClientToolResults
final BetaManagedAgentsWebFetchUrlSources.Builder exceptClientToolResults(List<BetaManagedAgentsWebFetchUrlSourceToolReference> tools)
Alias for calling clientToolResults with the following:
BetaManagedAgentsWebFetchUrlSourceExcept.builder() .tools(tools) .build()
-
onlyServerToolResults
final BetaManagedAgentsWebFetchUrlSources.Builder onlyServerToolResults(List<BetaManagedAgentsWebFetchUrlSourceToolReference> tools)
Alias for calling serverToolResults with the following:
BetaManagedAgentsWebFetchUrlSourceOnly.builder() .tools(tools) .build()
-
exceptServerToolResults
final BetaManagedAgentsWebFetchUrlSources.Builder exceptServerToolResults(List<BetaManagedAgentsWebFetchUrlSourceToolReference> tools)
Alias for calling serverToolResults with the following:
BetaManagedAgentsWebFetchUrlSourceExcept.builder() .tools(tools) .build()
-
putAdditionalProperty
final BetaManagedAgentsWebFetchUrlSources.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsWebFetchUrlSources.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsWebFetchUrlSources.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsWebFetchUrlSources.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsWebFetchUrlSources build()
Returns an immutable instance of BetaManagedAgentsWebFetchUrlSources.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.clientToolResults() .serverToolResults() .userInput()
-
-
-
-