Interface OutputAudioOrBuilder (4.30.0)

public interface OutputAudioOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAudio()

public abstract ByteString getAudio()

The natural language speech audio.

bytes audio = 2;

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

hasConfig()

public abstract boolean hasConfig()

Instructs the speech synthesizer how to generate the speech audio.

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

Returns
Type Description
boolean

Whether the config field is set.