turns

public abstract LiveClientContent.Builder turns(List<Content> turns)
@CanIgnoreReturnValue()
public LiveClientContent.Builder turns(Array<Content> turns)

Setter for turns.

turns: The content appended to the current conversation with the model.

For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history and latest request.


@CanIgnoreReturnValue()
public LiveClientContent.Builder turns(Array<Content.Builder> turnsBuilders)

Setter for turns builder.

turns: The content appended to the current conversation with the model.

For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history and latest request.