Uses of Class
com.google.cloud.speech.v2.RecognitionFeatures.Builder
-
Uses of RecognitionFeatures.Builder in com.google.cloud.speech.v2
Methods in com.google.cloud.speech.v2 that return RecognitionFeatures.BuilderModifier and TypeMethodDescriptionRecognitionFeatures.Builder.clear()RecognitionFeatures.Builder.clearCustomPromptConfig()Optional.RecognitionFeatures.Builder.clearDiarizationConfig()Configuration to enable speaker diarization.RecognitionFeatures.Builder.clearEnableAutomaticPunctuation()If `true`, adds punctuation to recognition result hypotheses.RecognitionFeatures.Builder.clearEnableSpokenEmojis()The spoken emoji behavior for the call.RecognitionFeatures.Builder.clearEnableSpokenPunctuation()The spoken punctuation behavior for the call.RecognitionFeatures.Builder.clearEnableWordConfidence()If `true`, the top result includes a list of words and the confidence for those words.RecognitionFeatures.Builder.clearEnableWordTimeOffsets()If `true`, the top result includes a list of words and the start and end time offsets (timestamps) for those words.RecognitionFeatures.Builder.clearMaxAlternatives()Maximum number of recognition hypotheses to be returned.RecognitionFeatures.Builder.clearMultiChannelMode()Mode for recognizing multi-channel audio.RecognitionFeatures.Builder.clearProfanityFilter()If set to `true`, the server will attempt to filter out profanities, replacing all but the initial character in each filtered word with asterisks, for instance, "f***".RecognitionConfig.Builder.getFeaturesBuilder()Speech recognition features to enable.RecognitionFeatures.Builder.mergeCustomPromptConfig(CustomPromptConfig value) Optional.RecognitionFeatures.Builder.mergeDiarizationConfig(SpeakerDiarizationConfig value) Configuration to enable speaker diarization.RecognitionFeatures.Builder.mergeFrom(RecognitionFeatures other) RecognitionFeatures.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) RecognitionFeatures.Builder.mergeFrom(com.google.protobuf.Message other) static RecognitionFeatures.BuilderRecognitionFeatures.newBuilder()static RecognitionFeatures.BuilderRecognitionFeatures.newBuilder(RecognitionFeatures prototype) RecognitionFeatures.newBuilderForType()protected RecognitionFeatures.BuilderRecognitionFeatures.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) RecognitionFeatures.Builder.setCustomPromptConfig(CustomPromptConfig value) Optional.RecognitionFeatures.Builder.setCustomPromptConfig(CustomPromptConfig.Builder builderForValue) Optional.RecognitionFeatures.Builder.setDiarizationConfig(SpeakerDiarizationConfig value) Configuration to enable speaker diarization.RecognitionFeatures.Builder.setDiarizationConfig(SpeakerDiarizationConfig.Builder builderForValue) Configuration to enable speaker diarization.RecognitionFeatures.Builder.setEnableAutomaticPunctuation(boolean value) If `true`, adds punctuation to recognition result hypotheses.RecognitionFeatures.Builder.setEnableSpokenEmojis(boolean value) The spoken emoji behavior for the call.RecognitionFeatures.Builder.setEnableSpokenPunctuation(boolean value) The spoken punctuation behavior for the call.RecognitionFeatures.Builder.setEnableWordConfidence(boolean value) If `true`, the top result includes a list of words and the confidence for those words.RecognitionFeatures.Builder.setEnableWordTimeOffsets(boolean value) If `true`, the top result includes a list of words and the start and end time offsets (timestamps) for those words.RecognitionFeatures.Builder.setMaxAlternatives(int value) Maximum number of recognition hypotheses to be returned.RecognitionFeatures.Builder.setMultiChannelMode(RecognitionFeatures.MultiChannelMode value) Mode for recognizing multi-channel audio.RecognitionFeatures.Builder.setMultiChannelModeValue(int value) Mode for recognizing multi-channel audio.RecognitionFeatures.Builder.setProfanityFilter(boolean value) If set to `true`, the server will attempt to filter out profanities, replacing all but the initial character in each filtered word with asterisks, for instance, "f***".RecognitionFeatures.toBuilder()Methods in com.google.cloud.speech.v2 with parameters of type RecognitionFeatures.BuilderModifier and TypeMethodDescriptionRecognitionConfig.Builder.setFeatures(RecognitionFeatures.Builder builderForValue) Speech recognition features to enable.