Uses of Class
com.google.cloud.dialogflow.v2.InputAudioConfig.Builder
-
Uses of InputAudioConfig.Builder in com.google.cloud.dialogflow.v2
Methods in com.google.cloud.dialogflow.v2 that return InputAudioConfig.BuilderModifier and TypeMethodDescriptionInputAudioConfig.Builder.addAllPhraseHints(Iterable<String> values) Deprecated.google.cloud.dialogflow.v2.InputAudioConfig.phrase_hints is deprecated.InputAudioConfig.Builder.addAllPhraseSets(Iterable<String> values) A collection of phrase set resources to use for speech adaptation.InputAudioConfig.Builder.addAllSpeechContexts(Iterable<? extends SpeechContext> values) Context information to assist speech recognition.InputAudioConfig.Builder.addPhraseHints(String value) Deprecated.google.cloud.dialogflow.v2.InputAudioConfig.phrase_hints is deprecated.InputAudioConfig.Builder.addPhraseHintsBytes(com.google.protobuf.ByteString value) Deprecated.google.cloud.dialogflow.v2.InputAudioConfig.phrase_hints is deprecated.InputAudioConfig.Builder.addPhraseSets(String value) A collection of phrase set resources to use for speech adaptation.InputAudioConfig.Builder.addPhraseSetsBytes(com.google.protobuf.ByteString value) A collection of phrase set resources to use for speech adaptation.InputAudioConfig.Builder.addSpeechContexts(int index, SpeechContext value) Context information to assist speech recognition.InputAudioConfig.Builder.addSpeechContexts(int index, SpeechContext.Builder builderForValue) Context information to assist speech recognition.InputAudioConfig.Builder.addSpeechContexts(SpeechContext value) Context information to assist speech recognition.InputAudioConfig.Builder.addSpeechContexts(SpeechContext.Builder builderForValue) Context information to assist speech recognition.InputAudioConfig.Builder.clear()InputAudioConfig.Builder.clearAudioEncoding()Required.InputAudioConfig.Builder.clearDisableNoSpeechRecognizedEvent()Only used in [Participants.AnalyzeContent][google.cloud.dialogflow.v2.Participants.AnalyzeContent] and [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent].InputAudioConfig.Builder.clearEnableAutomaticPunctuation()Enable automatic punctuation option at the speech backend.InputAudioConfig.Builder.clearEnableWordInfo()If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in [StreamingRecognitionResult][google.cloud.dialogflow.v2.StreamingRecognitionResult] with information about the recognized speech words, e.g. start and end time offsets.InputAudioConfig.Builder.clearLanguageCode()Required.InputAudioConfig.Builder.clearModel()Optional.InputAudioConfig.Builder.clearModelVariant()Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.InputAudioConfig.Builder.clearOptOutConformerModelMigration()If `true`, the request will opt out for STT conformer model migration.InputAudioConfig.Builder.clearPhraseHints()Deprecated.google.cloud.dialogflow.v2.InputAudioConfig.phrase_hints is deprecated.InputAudioConfig.Builder.clearPhraseSets()A collection of phrase set resources to use for speech adaptation.InputAudioConfig.Builder.clearSampleRateHertz()Required.InputAudioConfig.Builder.clearSingleUtterance()If `false` (default), recognition does not cease until the client closes the stream.InputAudioConfig.Builder.clearSpeechContexts()Context information to assist speech recognition.QueryInput.Builder.getAudioConfigBuilder()Instructs the speech recognizer how to process the speech audio.StreamingAnalyzeContentRequest.Builder.getAudioConfigBuilder()Instructs the speech recognizer how to process the speech audio.AudioInput.Builder.getConfigBuilder()Required.InputAudioConfig.Builder.mergeFrom(InputAudioConfig other) InputAudioConfig.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) InputAudioConfig.Builder.mergeFrom(com.google.protobuf.Message other) static InputAudioConfig.BuilderInputAudioConfig.newBuilder()static InputAudioConfig.BuilderInputAudioConfig.newBuilder(InputAudioConfig prototype) InputAudioConfig.newBuilderForType()protected InputAudioConfig.BuilderInputAudioConfig.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) InputAudioConfig.Builder.removeSpeechContexts(int index) Context information to assist speech recognition.InputAudioConfig.Builder.setAudioEncoding(AudioEncoding value) Required.InputAudioConfig.Builder.setAudioEncodingValue(int value) Required.InputAudioConfig.Builder.setDisableNoSpeechRecognizedEvent(boolean value) Only used in [Participants.AnalyzeContent][google.cloud.dialogflow.v2.Participants.AnalyzeContent] and [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent].InputAudioConfig.Builder.setEnableAutomaticPunctuation(boolean value) Enable automatic punctuation option at the speech backend.InputAudioConfig.Builder.setEnableWordInfo(boolean value) If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in [StreamingRecognitionResult][google.cloud.dialogflow.v2.StreamingRecognitionResult] with information about the recognized speech words, e.g. start and end time offsets.InputAudioConfig.Builder.setLanguageCode(String value) Required.InputAudioConfig.Builder.setLanguageCodeBytes(com.google.protobuf.ByteString value) Required.Optional.InputAudioConfig.Builder.setModelBytes(com.google.protobuf.ByteString value) Optional.InputAudioConfig.Builder.setModelVariant(SpeechModelVariant value) Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.InputAudioConfig.Builder.setModelVariantValue(int value) Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.InputAudioConfig.Builder.setOptOutConformerModelMigration(boolean value) If `true`, the request will opt out for STT conformer model migration.InputAudioConfig.Builder.setPhraseHints(int index, String value) Deprecated.google.cloud.dialogflow.v2.InputAudioConfig.phrase_hints is deprecated.InputAudioConfig.Builder.setPhraseSets(int index, String value) A collection of phrase set resources to use for speech adaptation.InputAudioConfig.Builder.setSampleRateHertz(int value) Required.InputAudioConfig.Builder.setSingleUtterance(boolean value) If `false` (default), recognition does not cease until the client closes the stream.InputAudioConfig.Builder.setSpeechContexts(int index, SpeechContext value) Context information to assist speech recognition.InputAudioConfig.Builder.setSpeechContexts(int index, SpeechContext.Builder builderForValue) Context information to assist speech recognition.InputAudioConfig.toBuilder()Methods in com.google.cloud.dialogflow.v2 with parameters of type InputAudioConfig.BuilderModifier and TypeMethodDescriptionQueryInput.Builder.setAudioConfig(InputAudioConfig.Builder builderForValue) Instructs the speech recognizer how to process the speech audio.StreamingAnalyzeContentRequest.Builder.setAudioConfig(InputAudioConfig.Builder builderForValue) Instructs the speech recognizer how to process the speech audio.AudioInput.Builder.setConfig(InputAudioConfig.Builder builderForValue) Required.