Class LiveClientContent.Builder
- Enclosing class:
- LiveClientContent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract LiveClientContentbuild()Clears the value of turnComplete field.Clears the value of turns field.abstract LiveClientContent.BuilderturnComplete(boolean turnComplete) Setter for turnComplete.Setter for turns.turns(Content.Builder... turnsBuilders) Setter for turns builder.abstract LiveClientContent.BuilderSetter for turns.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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.
-
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.
-
turns
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.
-
clearTurns
Clears the value of turns field. -
turnComplete
Setter for turnComplete.turnComplete: If true, indicates that the server content generation should start with the currently accumulated prompt. Otherwise, the server will await additional messages before starting generation.
-
clearTurnComplete
Clears the value of turnComplete field. -
build
-