Interface ResponseMessage.MixedAudio.SegmentOrBuilder (0.65.0)

public static interface ResponseMessage.MixedAudio.SegmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowPlaybackInterruption()

public abstract boolean getAllowPlaybackInterruption()

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

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

Returns
Type Description
boolean

The allowPlaybackInterruption.

getAudio()

public abstract ByteString getAudio()

Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request.

bytes audio = 1;

Returns
Type Description
ByteString

The audio.

getContentCase()

public abstract ResponseMessage.MixedAudio.Segment.ContentCase getContentCase()
Returns
Type Description
ResponseMessage.MixedAudio.Segment.ContentCase

getUri()

public abstract String getUri()

Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it.

string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it.

string uri = 2;

Returns
Type Description
ByteString

The bytes for uri.

hasAudio()

public abstract boolean hasAudio()

Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request.

bytes audio = 1;

Returns
Type Description
boolean

Whether the audio field is set.

hasUri()

public abstract boolean hasUri()

Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it.

string uri = 2;

Returns
Type Description
boolean

Whether the uri field is set.