usage

public final Interaction.Builder usage(Usage usage)

Output only. Statistics on the interaction request's token usage.


public final Interaction.Builder usage(JsonField<Usage> usage)

Sets Builder.usage to an arbitrary JSON value.

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