totalOutputTokens

public final Usage.Builder totalOutputTokens(Integer totalOutputTokens)

Total number of tokens across all the generated responses.


public final Usage.Builder totalOutputTokens(JsonField<Integer> totalOutputTokens)

Sets Builder.totalOutputTokens to an arbitrary JSON value.

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