Class BetaServerToolUsage.Builder
-
- All Implemented Interfaces:
public final class BetaServerToolUsage.BuilderA builder for BetaServerToolUsage.
-
-
Method Summary
Modifier and Type Method Description final BetaServerToolUsage.BuilderwebSearchRequests(Long webSearchRequests)The number of web search tool requests. final BetaServerToolUsage.BuilderwebSearchRequests(JsonField<Long> webSearchRequests)Sets Builder.webSearchRequests to an arbitrary JSON value. final BetaServerToolUsage.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaServerToolUsage.BuilderputAdditionalProperty(String key, JsonValue value)final BetaServerToolUsage.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaServerToolUsage.BuilderremoveAdditionalProperty(String key)final BetaServerToolUsage.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaServerToolUsagebuild()Returns an immutable instance of BetaServerToolUsage. -
-
Method Detail
-
webSearchRequests
final BetaServerToolUsage.Builder webSearchRequests(Long webSearchRequests)
The number of web search tool requests.
-
webSearchRequests
final BetaServerToolUsage.Builder webSearchRequests(JsonField<Long> webSearchRequests)
Sets Builder.webSearchRequests to an arbitrary JSON value.
You should usually call Builder.webSearchRequests with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaServerToolUsage.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaServerToolUsage.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaServerToolUsage.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaServerToolUsage.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaServerToolUsage.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaServerToolUsage build()
Returns an immutable instance of BetaServerToolUsage.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.webSearchRequests()
-
-
-
-