public static class RuntimeResponseGeneric.Builder
extends java.lang.Object
| Constructor and Description | 
|---|
| Builder()Instantiates a new builder. | 
| Builder(java.lang.String responseType)Instantiates a new builder with required properties. | 
| Modifier and Type | Method and Description | 
|---|---|
| RuntimeResponseGeneric.Builder | addOptions(DialogNodeOutputOptionsElement options)Adds an options to options. | 
| RuntimeResponseGeneric.Builder | addResults(SearchResult results)Adds an results to results. | 
| RuntimeResponseGeneric.Builder | addSuggestions(DialogSuggestion suggestions)Adds an suggestions to suggestions. | 
| RuntimeResponseGeneric | build()Builds a RuntimeResponseGeneric. | 
| RuntimeResponseGeneric.Builder | description(java.lang.String description)Set the description. | 
| RuntimeResponseGeneric.Builder | header(java.lang.String header)Set the header. | 
| RuntimeResponseGeneric.Builder | messageToHumanAgent(java.lang.String messageToHumanAgent)Set the messageToHumanAgent. | 
| RuntimeResponseGeneric.Builder | options(java.util.List<DialogNodeOutputOptionsElement> options)Set the options. | 
| RuntimeResponseGeneric.Builder | preference(java.lang.String preference)Set the preference. | 
| RuntimeResponseGeneric.Builder | responseType(java.lang.String responseType)Set the responseType. | 
| RuntimeResponseGeneric.Builder | results(java.util.List<SearchResult> results)Set the results. | 
| RuntimeResponseGeneric.Builder | source(java.lang.String source)Set the source. | 
| RuntimeResponseGeneric.Builder | suggestions(java.util.List<DialogSuggestion> suggestions)Set the suggestions. | 
| RuntimeResponseGeneric.Builder | text(java.lang.String text)Set the text. | 
| RuntimeResponseGeneric.Builder | time(long time)Set the time. | 
| RuntimeResponseGeneric.Builder | title(java.lang.String title)Set the title. | 
| RuntimeResponseGeneric.Builder | topic(java.lang.String topic)Set the topic. | 
| RuntimeResponseGeneric.Builder | typing(java.lang.Boolean typing)Set the typing. | 
public Builder()
public Builder(java.lang.String responseType)
responseType - the responseTypepublic RuntimeResponseGeneric build()
public RuntimeResponseGeneric.Builder addOptions(DialogNodeOutputOptionsElement options)
options - the new optionspublic RuntimeResponseGeneric.Builder addSuggestions(DialogSuggestion suggestions)
suggestions - the new suggestionspublic RuntimeResponseGeneric.Builder addResults(SearchResult results)
results - the new resultspublic RuntimeResponseGeneric.Builder responseType(java.lang.String responseType)
responseType - the responseTypepublic RuntimeResponseGeneric.Builder text(java.lang.String text)
text - the textpublic RuntimeResponseGeneric.Builder time(long time)
time - the timepublic RuntimeResponseGeneric.Builder typing(java.lang.Boolean typing)
typing - the typingpublic RuntimeResponseGeneric.Builder source(java.lang.String source)
source - the sourcepublic RuntimeResponseGeneric.Builder title(java.lang.String title)
title - the titlepublic RuntimeResponseGeneric.Builder description(java.lang.String description)
description - the descriptionpublic RuntimeResponseGeneric.Builder preference(java.lang.String preference)
preference - the preferencepublic RuntimeResponseGeneric.Builder options(java.util.List<DialogNodeOutputOptionsElement> options)
options - the optionspublic RuntimeResponseGeneric.Builder messageToHumanAgent(java.lang.String messageToHumanAgent)
messageToHumanAgent - the messageToHumanAgentpublic RuntimeResponseGeneric.Builder topic(java.lang.String topic)
topic - the topicpublic RuntimeResponseGeneric.Builder suggestions(java.util.List<DialogSuggestion> suggestions)
suggestions - the suggestionspublic RuntimeResponseGeneric.Builder header(java.lang.String header)
header - the headerpublic RuntimeResponseGeneric.Builder results(java.util.List<SearchResult> results)
results - the results