Uses of Class
com.google.cloud.speech.v2.StreamingRecognitionResult.Builder
-
Uses of StreamingRecognitionResult.Builder in com.google.cloud.speech.v2
Methods in com.google.cloud.speech.v2 that return StreamingRecognitionResult.BuilderModifier and TypeMethodDescriptionStreamingRecognitionResult.Builder.addAllAlternatives(Iterable<? extends SpeechRecognitionAlternative> values) May contain one or more recognition hypotheses.StreamingRecognitionResult.Builder.addAlternatives(int index, SpeechRecognitionAlternative value) May contain one or more recognition hypotheses.StreamingRecognitionResult.Builder.addAlternatives(int index, SpeechRecognitionAlternative.Builder builderForValue) May contain one or more recognition hypotheses.StreamingRecognitionResult.Builder.addAlternatives(SpeechRecognitionAlternative value) May contain one or more recognition hypotheses.StreamingRecognitionResult.Builder.addAlternatives(SpeechRecognitionAlternative.Builder builderForValue) May contain one or more recognition hypotheses.StreamingRecognizeResponse.Builder.addResultsBuilder()This repeated list contains zero or more results that correspond to consecutive portions of the audio currently being processed.StreamingRecognizeResponse.Builder.addResultsBuilder(int index) This repeated list contains zero or more results that correspond to consecutive portions of the audio currently being processed.StreamingRecognitionResult.Builder.clear()StreamingRecognitionResult.Builder.clearAlternatives()May contain one or more recognition hypotheses.StreamingRecognitionResult.Builder.clearChannelTag()For multi-channel audio, this is the channel number corresponding to the recognized result for the audio from that channel.StreamingRecognitionResult.Builder.clearIsFinal()If `false`, this [StreamingRecognitionResult][google.cloud.speech.v2.StreamingRecognitionResult] represents an interim result that may change.StreamingRecognitionResult.Builder.clearLanguageCode()Output only.StreamingRecognitionResult.Builder.clearResultEndOffset()Time offset of the end of this result relative to the beginning of the audio.StreamingRecognitionResult.Builder.clearStability()An estimate of the likelihood that the recognizer will not change its guess about this interim result.StreamingRecognizeResponse.Builder.getResultsBuilder(int index) This repeated list contains zero or more results that correspond to consecutive portions of the audio currently being processed.StreamingRecognitionResult.Builder.mergeFrom(StreamingRecognitionResult other) StreamingRecognitionResult.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) StreamingRecognitionResult.Builder.mergeFrom(com.google.protobuf.Message other) StreamingRecognitionResult.Builder.mergeResultEndOffset(com.google.protobuf.Duration value) Time offset of the end of this result relative to the beginning of the audio.StreamingRecognitionResult.newBuilder()StreamingRecognitionResult.newBuilder(StreamingRecognitionResult prototype) StreamingRecognitionResult.newBuilderForType()protected StreamingRecognitionResult.BuilderStreamingRecognitionResult.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) StreamingRecognitionResult.Builder.removeAlternatives(int index) May contain one or more recognition hypotheses.StreamingRecognitionResult.Builder.setAlternatives(int index, SpeechRecognitionAlternative value) May contain one or more recognition hypotheses.StreamingRecognitionResult.Builder.setAlternatives(int index, SpeechRecognitionAlternative.Builder builderForValue) May contain one or more recognition hypotheses.StreamingRecognitionResult.Builder.setChannelTag(int value) For multi-channel audio, this is the channel number corresponding to the recognized result for the audio from that channel.StreamingRecognitionResult.Builder.setIsFinal(boolean value) If `false`, this [StreamingRecognitionResult][google.cloud.speech.v2.StreamingRecognitionResult] represents an interim result that may change.StreamingRecognitionResult.Builder.setLanguageCode(String value) Output only.StreamingRecognitionResult.Builder.setLanguageCodeBytes(com.google.protobuf.ByteString value) Output only.StreamingRecognitionResult.Builder.setResultEndOffset(com.google.protobuf.Duration value) Time offset of the end of this result relative to the beginning of the audio.StreamingRecognitionResult.Builder.setResultEndOffset(com.google.protobuf.Duration.Builder builderForValue) Time offset of the end of this result relative to the beginning of the audio.StreamingRecognitionResult.Builder.setStability(float value) An estimate of the likelihood that the recognizer will not change its guess about this interim result.StreamingRecognitionResult.toBuilder()Methods in com.google.cloud.speech.v2 that return types with arguments of type StreamingRecognitionResult.BuilderModifier and TypeMethodDescriptionStreamingRecognizeResponse.Builder.getResultsBuilderList()This repeated list contains zero or more results that correspond to consecutive portions of the audio currently being processed.Methods in com.google.cloud.speech.v2 with parameters of type StreamingRecognitionResult.BuilderModifier and TypeMethodDescriptionStreamingRecognizeResponse.Builder.addResults(int index, StreamingRecognitionResult.Builder builderForValue) This repeated list contains zero or more results that correspond to consecutive portions of the audio currently being processed.StreamingRecognizeResponse.Builder.addResults(StreamingRecognitionResult.Builder builderForValue) This repeated list contains zero or more results that correspond to consecutive portions of the audio currently being processed.StreamingRecognizeResponse.Builder.setResults(int index, StreamingRecognitionResult.Builder builderForValue) This repeated list contains zero or more results that correspond to consecutive portions of the audio currently being processed.