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.v2beta1.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()
Required. The natural language speech audio.
bytes audio = 2;
Returns
clearConfig()
public OutputAudio.Builder clearConfig()
Required. Instructs the speech synthesizer how to generate the speech
audio.
.google.cloud.dialogflow.v2beta1.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()
Required. The natural language speech audio.
bytes audio = 2;
Returns
getConfig()
public OutputAudioConfig getConfig()
Required. Instructs the speech synthesizer how to generate the speech
audio.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig config = 1;
Returns
getConfigBuilder()
public OutputAudioConfig.Builder getConfigBuilder()
Required. Instructs the speech synthesizer how to generate the speech
audio.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig config = 1;
Returns
getConfigOrBuilder()
public OutputAudioConfigOrBuilder getConfigOrBuilder()
Required. Instructs the speech synthesizer how to generate the speech
audio.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig config = 1;
Returns
getDefaultInstanceForType()
public OutputAudio getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
hasConfig()
public 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeConfig(OutputAudioConfig value)
public OutputAudio.Builder mergeConfig(OutputAudioConfig value)
Required. Instructs the speech synthesizer how to generate the speech
audio.
.google.cloud.dialogflow.v2beta1.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)
Required. The natural language speech audio.
bytes audio = 2;
Parameter
Returns
setConfig(OutputAudioConfig value)
public OutputAudio.Builder setConfig(OutputAudioConfig value)
Required. Instructs the speech synthesizer how to generate the speech
audio.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig config = 1;
Parameter
Returns
setConfig(OutputAudioConfig.Builder builderForValue)
public OutputAudio.Builder setConfig(OutputAudioConfig.Builder builderForValue)
Required. Instructs the speech synthesizer how to generate the speech
audio.
.google.cloud.dialogflow.v2beta1.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