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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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
Name |
Description |
value |
ByteString
The audio to set.
|
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