public static interface Intent.Message.SimpleResponseOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDisplayText()
public abstract String getDisplayText()Optional. The text to display.
string display_text = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The displayText. |
getDisplayTextBytes()
public abstract ByteString getDisplayTextBytes()Optional. The text to display.
string display_text = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayText. |
getSsml()
public abstract String getSsml()One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.
string ssml = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The ssml. |
getSsmlBytes()
public abstract ByteString getSsmlBytes()One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.
string ssml = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for ssml. |
getTextToSpeech()
public abstract String getTextToSpeech()One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.
string text_to_speech = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The textToSpeech. |
getTextToSpeechBytes()
public abstract ByteString getTextToSpeechBytes()One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.
string text_to_speech = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for textToSpeech. |