Class LiveClientContent.Builder
- Enclosing class:
- LiveClientContent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract LiveClientContent
build()
abstract LiveClientContent.Builder
turnComplete
(boolean turnComplete) Setter for turnComplete.Setter for turns.turns
(Content.Builder... turnsBuilders) Setter for turns builder.abstract LiveClientContent.Builder
Setter 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.
-
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.
-
build
-