Uses of Class
com.google.cloud.speech.v2.SpeechRecognitionResult.Builder
-
Uses of SpeechRecognitionResult.Builder in com.google.cloud.speech.v2
Methods in com.google.cloud.speech.v2 that return SpeechRecognitionResult.BuilderModifier and TypeMethodDescriptionSpeechRecognitionResult.Builder.addAllAlternatives(Iterable<? extends SpeechRecognitionAlternative> values) May contain one or more recognition hypotheses.SpeechRecognitionResult.Builder.addAlternatives(int index, SpeechRecognitionAlternative value) May contain one or more recognition hypotheses.SpeechRecognitionResult.Builder.addAlternatives(int index, SpeechRecognitionAlternative.Builder builderForValue) May contain one or more recognition hypotheses.SpeechRecognitionResult.Builder.addAlternatives(SpeechRecognitionAlternative value) May contain one or more recognition hypotheses.SpeechRecognitionResult.Builder.addAlternatives(SpeechRecognitionAlternative.Builder builderForValue) May contain one or more recognition hypotheses.BatchRecognizeResults.Builder.addResultsBuilder()Sequential list of transcription results corresponding to sequential portions of audio.BatchRecognizeResults.Builder.addResultsBuilder(int index) Sequential list of transcription results corresponding to sequential portions of audio.RecognizeResponse.Builder.addResultsBuilder()Sequential list of transcription results corresponding to sequential portions of audio.RecognizeResponse.Builder.addResultsBuilder(int index) Sequential list of transcription results corresponding to sequential portions of audio.SpeechRecognitionResult.Builder.clear()SpeechRecognitionResult.Builder.clearAlternatives()May contain one or more recognition hypotheses.SpeechRecognitionResult.Builder.clearChannelTag()For multi-channel audio, this is the channel number corresponding to the recognized result for the audio from that channel.SpeechRecognitionResult.Builder.clearLanguageCode()Output only.SpeechRecognitionResult.Builder.clearResultEndOffset()Time offset of the end of this result relative to the beginning of the audio.BatchRecognizeResults.Builder.getResultsBuilder(int index) Sequential list of transcription results corresponding to sequential portions of audio.RecognizeResponse.Builder.getResultsBuilder(int index) Sequential list of transcription results corresponding to sequential portions of audio.SpeechRecognitionResult.Builder.mergeFrom(SpeechRecognitionResult other) SpeechRecognitionResult.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) SpeechRecognitionResult.Builder.mergeFrom(com.google.protobuf.Message other) SpeechRecognitionResult.Builder.mergeResultEndOffset(com.google.protobuf.Duration value) Time offset of the end of this result relative to the beginning of the audio.SpeechRecognitionResult.newBuilder()SpeechRecognitionResult.newBuilder(SpeechRecognitionResult prototype) SpeechRecognitionResult.newBuilderForType()protected SpeechRecognitionResult.BuilderSpeechRecognitionResult.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) SpeechRecognitionResult.Builder.removeAlternatives(int index) May contain one or more recognition hypotheses.SpeechRecognitionResult.Builder.setAlternatives(int index, SpeechRecognitionAlternative value) May contain one or more recognition hypotheses.SpeechRecognitionResult.Builder.setAlternatives(int index, SpeechRecognitionAlternative.Builder builderForValue) May contain one or more recognition hypotheses.SpeechRecognitionResult.Builder.setChannelTag(int value) For multi-channel audio, this is the channel number corresponding to the recognized result for the audio from that channel.SpeechRecognitionResult.Builder.setLanguageCode(String value) Output only.SpeechRecognitionResult.Builder.setLanguageCodeBytes(com.google.protobuf.ByteString value) Output only.SpeechRecognitionResult.Builder.setResultEndOffset(com.google.protobuf.Duration value) Time offset of the end of this result relative to the beginning of the audio.SpeechRecognitionResult.Builder.setResultEndOffset(com.google.protobuf.Duration.Builder builderForValue) Time offset of the end of this result relative to the beginning of the audio.SpeechRecognitionResult.toBuilder()Methods in com.google.cloud.speech.v2 that return types with arguments of type SpeechRecognitionResult.BuilderModifier and TypeMethodDescriptionBatchRecognizeResults.Builder.getResultsBuilderList()Sequential list of transcription results corresponding to sequential portions of audio.RecognizeResponse.Builder.getResultsBuilderList()Sequential list of transcription results corresponding to sequential portions of audio.Methods in com.google.cloud.speech.v2 with parameters of type SpeechRecognitionResult.BuilderModifier and TypeMethodDescriptionBatchRecognizeResults.Builder.addResults(int index, SpeechRecognitionResult.Builder builderForValue) Sequential list of transcription results corresponding to sequential portions of audio.BatchRecognizeResults.Builder.addResults(SpeechRecognitionResult.Builder builderForValue) Sequential list of transcription results corresponding to sequential portions of audio.RecognizeResponse.Builder.addResults(int index, SpeechRecognitionResult.Builder builderForValue) Sequential list of transcription results corresponding to sequential portions of audio.RecognizeResponse.Builder.addResults(SpeechRecognitionResult.Builder builderForValue) Sequential list of transcription results corresponding to sequential portions of audio.BatchRecognizeResults.Builder.setResults(int index, SpeechRecognitionResult.Builder builderForValue) Sequential list of transcription results corresponding to sequential portions of audio.RecognizeResponse.Builder.setResults(int index, SpeechRecognitionResult.Builder builderForValue) Sequential list of transcription results corresponding to sequential portions of audio.