Interface ResponseMessage.OutputAudioTextOrBuilder (0.52.0)

public static interface ResponseMessage.OutputAudioTextOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowPlaybackInterruption()

public abstract boolean getAllowPlaybackInterruption()

Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

The allowPlaybackInterruption.

getSourceCase()

public abstract ResponseMessage.OutputAudioText.SourceCase getSourceCase()
Returns
TypeDescription
ResponseMessage.OutputAudioText.SourceCase

getSsml()

public abstract String getSsml()

The SSML text to be synthesized. For more information, see SSML.

string ssml = 2;

Returns
TypeDescription
String

The ssml.

getSsmlBytes()

public abstract ByteString getSsmlBytes()

The SSML text to be synthesized. For more information, see SSML.

string ssml = 2;

Returns
TypeDescription
ByteString

The bytes for ssml.

getText()

public abstract String getText()

The raw text to be synthesized.

string text = 1;

Returns
TypeDescription
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

The raw text to be synthesized.

string text = 1;

Returns
TypeDescription
ByteString

The bytes for text.

hasSsml()

public abstract boolean hasSsml()

The SSML text to be synthesized. For more information, see SSML.

string ssml = 2;

Returns
TypeDescription
boolean

Whether the ssml field is set.

hasText()

public abstract boolean hasText()

The raw text to be synthesized.

string text = 1;

Returns
TypeDescription
boolean

Whether the text field is set.