tokens

Number of tokens for the modality.


public final Usage.InputTokensByModality.Builder tokens(JsonField<Integer> tokens)

Sets Builder.tokens to an arbitrary JSON value.

You should usually call Builder.tokens with a well-typed Int value instead. This method is primarily for setting the field to an undocumented or not yet supported value.