public interface SpeechRecognitionAlternativeOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
float |
getConfidence()
[Output-only] The confidence estimate between 0.0 and 1.0.
|
java.lang.String |
getTranscript()
[Output-only] Transcript text representing the words that the user spoke.
|
com.google.protobuf.ByteString |
getTranscriptBytes()
[Output-only] Transcript text representing the words that the user spoke.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofjava.lang.String getTranscript()
[Output-only] Transcript text representing the words that the user spoke.
optional string transcript = 1;com.google.protobuf.ByteString getTranscriptBytes()
[Output-only] Transcript text representing the words that the user spoke.
optional string transcript = 1;float getConfidence()
[Output-only] The confidence estimate between 0.0 and 1.0. A higher number means the system is more confident that the recognition is correct. This field is typically provided only for the top hypothesis, and only for `is_final=true` results. The default of 0.0 is a sentinel value indicating confidence was not set.
optional float confidence = 2;