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
/
GoogleSearchResultStep
/
Builder
/
addResult
add
Result
public
final
GoogleSearchResultStep.Builder
addResult
(
GoogleSearchResultStep.Result
result
)
Adds a single
Result
to
Builder.result
.
Throws
Illegal
State
Exception
if the field was previously set to a non-list.