Interface OutputAudioOrBuilder (4.49.0)

public interface OutputAudioOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAudio()

public abstract ByteString getAudio()

Required. The natural language speech audio.

bytes audio = 2;

Returns
Type Description
ByteString

The audio.

getConfig()

public abstract OutputAudioConfig getConfig()

Required. Instructs the speech synthesizer how to generate the speech audio.

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

Returns
Type Description
OutputAudioConfig

The config.

getConfigOrBuilder()

public abstract OutputAudioConfigOrBuilder getConfigOrBuilder()

Required. Instructs the speech synthesizer how to generate the speech audio.

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

Returns
Type Description
OutputAudioConfigOrBuilder

hasConfig()

public abstract boolean hasConfig()

Required. Instructs the speech synthesizer how to generate the speech audio.

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

Returns
Type Description
boolean

Whether the config field is set.