Package com.google.genai.types
Class HistoryConfig.Builder
java.lang.Object
com.google.genai.types.HistoryConfig.Builder
- Enclosing class:
- HistoryConfig
Builder for HistoryConfig.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract HistoryConfigbuild()Clears the value of initialHistoryInClientContent field.abstract HistoryConfig.BuilderinitialHistoryInClientContent(boolean initialHistoryInClientContent) Setter for initialHistoryInClientContent.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
initialHistoryInClientContent
public abstract HistoryConfig.Builder initialHistoryInClientContent(boolean initialHistoryInClientContent) Setter for initialHistoryInClientContent.initialHistoryInClientContent: If true, after sending `setup_complete`, the server will wait and at first process `client_content` messages until `turn_complete` is `true`. This initial history will not trigger a model call and may end with model content. After `turn_complete` is `true`, the client can start the realtime conversation via `realtime_input`.
-
clearInitialHistoryInClientContent
Clears the value of initialHistoryInClientContent field. -
build
-