Interface ResponseMessage.OutputAudioTextOrBuilder (0.46.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
Type Description
boolean

The allowPlaybackInterruption.

getSourceCase()

public abstract ResponseMessage.OutputAudioText.SourceCase getSourceCase()
Returns
Type Description
ResponseMessage.OutputAudioText.SourceCase

getSsml()

public abstract String getSsml()

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

string ssml = 2;

Returns
Type Description
String

The ssml.

getSsmlBytes()

public abstract ByteString getSsmlBytes()

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

string ssml = 2;

Returns
Type Description
ByteString

The bytes for ssml.

getText()

public abstract String getText()

The raw text to be synthesized.

string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

The raw text to be synthesized.

string text = 1;

Returns
Type Description
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
Type Description
boolean

Whether the ssml field is set.

hasText()

public abstract boolean hasText()

The raw text to be synthesized.

string text = 1;

Returns
Type Description
boolean

Whether the text field is set.