google-genai
Toggle table of contents
JVM
Platform filter
JVM
Switch theme
Search in API
google-genai
google-genai
/
com.google.genai.interactions.models.interactions
/
GenerationConfig
/
Builder
/
addStopSequence
add
Stop
Sequence
public
final
GenerationConfig.Builder
addStopSequence
(
String
stopSequence
)
Adds a single
String
to
stopSequences
.
Throws
Illegal
State
Exception
if the field was previously set to a non-list.