Interface OutputAudioOrBuilder (4.43.0)

public interface OutputAudioOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAudio()

public abstract ByteString getAudio()

The natural language speech audio.

bytes audio = 2;

Returns
TypeDescription
ByteString

The audio.

getConfig()

public abstract OutputAudioConfig getConfig()

Instructs the speech synthesizer how to generate the speech audio.

.google.cloud.dialogflow.v2.OutputAudioConfig config = 1;

Returns
TypeDescription
OutputAudioConfig

The config.

getConfigOrBuilder()

public abstract OutputAudioConfigOrBuilder getConfigOrBuilder()

Instructs the speech synthesizer how to generate the speech audio.

.google.cloud.dialogflow.v2.OutputAudioConfig config = 1;

Returns
TypeDescription
OutputAudioConfigOrBuilder

hasConfig()

public abstract boolean hasConfig()

Instructs the speech synthesizer how to generate the speech audio.

.google.cloud.dialogflow.v2.OutputAudioConfig config = 1;

Returns
TypeDescription
boolean

Whether the config field is set.