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