Package com.google.cloud.dialogflow.v2
Interface OutputAudioOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OutputAudio
,OutputAudio.Builder
public interface OutputAudioOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteString
getAudio()
The natural language speech audio.OutputAudioConfig
getConfig()
Instructs the speech synthesizer how to generate the speech audio.OutputAudioConfigOrBuilder
getConfigOrBuilder()
Instructs the speech synthesizer how to generate the speech audio.boolean
hasConfig()
Instructs the speech synthesizer how to generate the speech audio.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasConfig
boolean hasConfig()
Instructs the speech synthesizer how to generate the speech audio.
.google.cloud.dialogflow.v2.OutputAudioConfig config = 1;
- Returns:
- Whether the config field is set.
-
getConfig
OutputAudioConfig getConfig()
Instructs the speech synthesizer how to generate the speech audio.
.google.cloud.dialogflow.v2.OutputAudioConfig config = 1;
- Returns:
- The config.
-
getConfigOrBuilder
OutputAudioConfigOrBuilder getConfigOrBuilder()
Instructs the speech synthesizer how to generate the speech audio.
.google.cloud.dialogflow.v2.OutputAudioConfig config = 1;
-
getAudio
com.google.protobuf.ByteString getAudio()
The natural language speech audio.
bytes audio = 2;
- Returns:
- The audio.
-
-