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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<OutputAudio.Builder>
public OutputAudio.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<OutputAudio.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<OutputAudio.Builder>
public OutputAudio getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public OutputAudio build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public OutputAudio buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public OutputAudio.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<OutputAudio.Builder>
public OutputAudio.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<OutputAudio.Builder>
public OutputAudio.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<OutputAudio.Builder>
public OutputAudio.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<OutputAudio.Builder>
public OutputAudio.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<OutputAudio.Builder>
public OutputAudio.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<OutputAudio.Builder>
public OutputAudio.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<OutputAudio.Builder>
public OutputAudio.Builder mergeFrom(OutputAudio other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<OutputAudio.Builder>
public OutputAudio.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<OutputAudio.Builder>
IOException
public boolean hasConfig()
Required. Instructs the speech synthesizer how to generate the speech audio.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig config = 1;
hasConfig
in interface OutputAudioOrBuilder
public OutputAudioConfig getConfig()
Required. Instructs the speech synthesizer how to generate the speech audio.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig config = 1;
getConfig
in interface OutputAudioOrBuilder
public OutputAudio.Builder setConfig(OutputAudioConfig value)
Required. Instructs the speech synthesizer how to generate the speech audio.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig config = 1;
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;
public OutputAudio.Builder mergeConfig(OutputAudioConfig value)
Required. Instructs the speech synthesizer how to generate the speech audio.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig config = 1;
public OutputAudio.Builder clearConfig()
Required. Instructs the speech synthesizer how to generate the speech audio.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig config = 1;
public OutputAudioConfig.Builder getConfigBuilder()
Required. Instructs the speech synthesizer how to generate the speech audio.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig config = 1;
public OutputAudioConfigOrBuilder getConfigOrBuilder()
Required. Instructs the speech synthesizer how to generate the speech audio.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig config = 1;
getConfigOrBuilder
in interface OutputAudioOrBuilder
public ByteString getAudio()
Required. The natural language speech audio.
bytes audio = 2;
getAudio
in interface OutputAudioOrBuilder
public OutputAudio.Builder setAudio(ByteString value)
Required. The natural language speech audio.
bytes audio = 2;
value
- The audio to set.public OutputAudio.Builder clearAudio()
Required. The natural language speech audio.
bytes audio = 2;
public final OutputAudio.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<OutputAudio.Builder>
public final OutputAudio.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<OutputAudio.Builder>
Copyright © 2022 Google LLC. All rights reserved.