Class BetaCacheMissToolsChanged.Builder
-
- All Implemented Interfaces:
public final class BetaCacheMissToolsChanged.BuilderA builder for BetaCacheMissToolsChanged.
-
-
Method Summary
-
-
Method Detail
-
cacheMissedInputTokens
final BetaCacheMissToolsChanged.Builder cacheMissedInputTokens(Long cacheMissedInputTokens)
Approximate number of input tokens that would have been read from cache had the prefix matched the previous request.
-
cacheMissedInputTokens
final BetaCacheMissToolsChanged.Builder cacheMissedInputTokens(JsonField<Long> cacheMissedInputTokens)
Sets Builder.cacheMissedInputTokens to an arbitrary JSON value.
You should usually call Builder.cacheMissedInputTokens 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 BetaCacheMissToolsChanged.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("tools_changed")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaCacheMissToolsChanged.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaCacheMissToolsChanged.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaCacheMissToolsChanged.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaCacheMissToolsChanged.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaCacheMissToolsChanged.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaCacheMissToolsChanged build()
Returns an immutable instance of BetaCacheMissToolsChanged.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.cacheMissedInputTokens()
-
-
-
-