Interface ResponseMessage.MixedAudio.SegmentOrBuilder (0.48.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
TypeDescription
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
TypeDescription
ByteString

The audio.

getContentCase()

public abstract ResponseMessage.MixedAudio.Segment.ContentCase getContentCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the uri field is set.