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
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OutputAudio.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public OutputAudio build()
buildPartial()
public OutputAudio buildPartial()
clear()
public OutputAudio.Builder clear()
Overrides
clearAudio()
public OutputAudio.Builder clearAudio()
Required. The natural language speech audio.
bytes audio = 2;
clearConfig()
public OutputAudio.Builder clearConfig()
Required. Instructs the speech synthesizer how to generate the speech
audio.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig config = 1;
clearField(Descriptors.FieldDescriptor field)
public OutputAudio.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public OutputAudio.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public OutputAudio.Builder clone()
Overrides
getAudio()
public ByteString getAudio()
Required. The natural language speech audio.
bytes audio = 2;
getConfig()
public OutputAudioConfig getConfig()
Required. Instructs the speech synthesizer how to generate the speech
audio.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig config = 1;
getConfigBuilder()
public OutputAudioConfig.Builder getConfigBuilder()
Required. Instructs the speech synthesizer how to generate the speech
audio.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig config = 1;
getConfigOrBuilder()
public OutputAudioConfigOrBuilder getConfigOrBuilder()
Required. Instructs the speech synthesizer how to generate the speech
audio.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig config = 1;
getDefaultInstanceForType()
public OutputAudio getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(OutputAudio other)
public OutputAudio.Builder mergeFrom(OutputAudio other)
public OutputAudio.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public OutputAudio.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OutputAudio.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAudio(ByteString value)
public OutputAudio.Builder setAudio(ByteString value)
Required. The natural language speech audio.
bytes audio = 2;
Parameter |
Name |
Description |
value |
ByteString
The audio to set.
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public OutputAudio.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OutputAudio.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OutputAudio.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides