Send feedback
Class OutputAudio.Builder (4.7.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.7.1 keyboard_arrow_down
public static final class OutputAudio . Builder extends GeneratedMessageV3 . Builder<OutputAudio . Builder > implements OutputAudioOrBuilder
Represents the natural language speech audio to be played to the end user.
Protobuf type google.cloud.dialogflow.v2.OutputAudio
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OutputAudio . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public OutputAudio build ()
Returns
buildPartial()
public OutputAudio buildPartial ()
Returns
clear()
public OutputAudio . Builder clear ()
Returns
Overrides
clearAudio()
public OutputAudio . Builder clearAudio ()
The natural language speech audio.
bytes audio = 2;
Returns
clearConfig()
public OutputAudio . Builder clearConfig ()
Instructs the speech synthesizer how to generate the speech
audio.
.google.cloud.dialogflow.v2.OutputAudioConfig config = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public OutputAudio . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public OutputAudio . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public OutputAudio . Builder clone ()
Returns
Overrides
getAudio()
public ByteString getAudio ()
The natural language speech audio.
bytes audio = 2;
Returns
getConfig()
public OutputAudioConfig getConfig ()
Instructs the speech synthesizer how to generate the speech
audio.
.google.cloud.dialogflow.v2.OutputAudioConfig config = 1;
Returns
getConfigBuilder()
public OutputAudioConfig . Builder getConfigBuilder ()
Instructs the speech synthesizer how to generate the speech
audio.
.google.cloud.dialogflow.v2.OutputAudioConfig config = 1;
Returns
getConfigOrBuilder()
public OutputAudioConfigOrBuilder getConfigOrBuilder ()
Instructs the speech synthesizer how to generate the speech
audio.
.google.cloud.dialogflow.v2.OutputAudioConfig config = 1;
Returns
getDefaultInstanceForType()
public OutputAudio getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
hasConfig()
public 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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeConfig(OutputAudioConfig value)
public OutputAudio . Builder mergeConfig ( OutputAudioConfig value )
Instructs the speech synthesizer how to generate the speech
audio.
.google.cloud.dialogflow.v2.OutputAudioConfig config = 1;
Parameter
Returns
mergeFrom(OutputAudio other)
public OutputAudio . Builder mergeFrom ( OutputAudio other )
Parameter
Returns
public OutputAudio . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public OutputAudio . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OutputAudio . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setAudio(ByteString value)
public OutputAudio . Builder setAudio ( ByteString value )
The natural language speech audio.
bytes audio = 2;
Parameter
Returns
setConfig(OutputAudioConfig value)
public OutputAudio . Builder setConfig ( OutputAudioConfig value )
Instructs the speech synthesizer how to generate the speech
audio.
.google.cloud.dialogflow.v2.OutputAudioConfig config = 1;
Parameter
Returns
setConfig(OutputAudioConfig.Builder builderForValue)
public OutputAudio . Builder setConfig ( OutputAudioConfig . Builder builderForValue )
Instructs the speech synthesizer how to generate the speech
audio.
.google.cloud.dialogflow.v2.OutputAudioConfig config = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public OutputAudio . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OutputAudio . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OutputAudio . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]