Interface ResponseMessage.PlayAudioOrBuilder (0.16.0)

public static interface ResponseMessage.PlayAudioOrBuilder 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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The allowPlaybackInterruption.

getAudioUri()

public abstract String getAudioUri()

Required. URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.

string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The audioUri.

getAudioUriBytes()

public abstract ByteString getAudioUriBytes()

Required. URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.

string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for audioUri.