Class BetaCacheMissModelChanged.Builder
-
- All Implemented Interfaces:
public final class BetaCacheMissModelChanged.BuilderA builder for BetaCacheMissModelChanged.
-
-
Method Summary
-
-
Method Detail
-
cacheMissedInputTokens
final BetaCacheMissModelChanged.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 BetaCacheMissModelChanged.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 BetaCacheMissModelChanged.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("model_changed")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaCacheMissModelChanged.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaCacheMissModelChanged.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaCacheMissModelChanged.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaCacheMissModelChanged.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaCacheMissModelChanged.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaCacheMissModelChanged build()
Returns an immutable instance of BetaCacheMissModelChanged.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.cacheMissedInputTokens()
-
-
-
-