Interface Intent.Message.SimpleResponseOrBuilder (4.43.0)

public static interface Intent.Message.SimpleResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisplayText()

public abstract String getDisplayText()

Optional. The text to display.

string display_text = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The displayText.

getDisplayTextBytes()

public abstract ByteString getDisplayTextBytes()

Optional. The text to display.

string display_text = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for textToSpeech.