public static class DialogSuggestionValue.Builder
extends java.lang.Object
Constructor and Description |
---|
DialogSuggestionValue.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
DialogSuggestionValue.Builder |
addEntities(RuntimeEntity entities)
Adds an entities to entities.
|
DialogSuggestionValue.Builder |
addIntents(RuntimeIntent intents)
Adds an intents to intents.
|
DialogSuggestionValue |
build()
Builds a DialogSuggestionValue.
|
DialogSuggestionValue.Builder |
entities(java.util.List<RuntimeEntity> entities)
Set the entities.
|
DialogSuggestionValue.Builder |
input(MessageInput input)
Set the input.
|
DialogSuggestionValue.Builder |
intents(java.util.List<RuntimeIntent> intents)
Set the intents.
|
public DialogSuggestionValue.Builder()
public DialogSuggestionValue build()
public DialogSuggestionValue.Builder addIntents(RuntimeIntent intents)
intents
- the new intentspublic DialogSuggestionValue.Builder addEntities(RuntimeEntity entities)
entities
- the new entitiespublic DialogSuggestionValue.Builder input(MessageInput input)
input
- the inputpublic DialogSuggestionValue.Builder intents(java.util.List<RuntimeIntent> intents)
intents
- the intentspublic DialogSuggestionValue.Builder entities(java.util.List<RuntimeEntity> entities)
entities
- the entities