totalInputTokens

public final Usage.Builder totalInputTokens(Integer totalInputTokens)

Number of tokens in the prompt (context).


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

Sets Builder.totalInputTokens to an arbitrary JSON value.

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