public interface SpeechRecognitionResultOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
SpeechRecognitionAlternative |
getAlternatives(int index)
*Output-only* May contain one or more recognition hypotheses (up to the
maximum specified in `max_alternatives`).
|
int |
getAlternativesCount()
*Output-only* May contain one or more recognition hypotheses (up to the
maximum specified in `max_alternatives`).
|
java.util.List<SpeechRecognitionAlternative> |
getAlternativesList()
*Output-only* May contain one or more recognition hypotheses (up to the
maximum specified in `max_alternatives`).
|
SpeechRecognitionAlternativeOrBuilder |
getAlternativesOrBuilder(int index)
*Output-only* May contain one or more recognition hypotheses (up to the
maximum specified in `max_alternatives`).
|
java.util.List<? extends SpeechRecognitionAlternativeOrBuilder> |
getAlternativesOrBuilderList()
*Output-only* May contain one or more recognition hypotheses (up to the
maximum specified in `max_alternatives`).
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.util.List<SpeechRecognitionAlternative> getAlternativesList()
*Output-only* May contain one or more recognition hypotheses (up to the maximum specified in `max_alternatives`). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.
repeated .google.cloud.speech.v1.SpeechRecognitionAlternative alternatives = 1;
SpeechRecognitionAlternative getAlternatives(int index)
*Output-only* May contain one or more recognition hypotheses (up to the maximum specified in `max_alternatives`). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.
repeated .google.cloud.speech.v1.SpeechRecognitionAlternative alternatives = 1;
int getAlternativesCount()
*Output-only* May contain one or more recognition hypotheses (up to the maximum specified in `max_alternatives`). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.
repeated .google.cloud.speech.v1.SpeechRecognitionAlternative alternatives = 1;
java.util.List<? extends SpeechRecognitionAlternativeOrBuilder> getAlternativesOrBuilderList()
*Output-only* May contain one or more recognition hypotheses (up to the maximum specified in `max_alternatives`). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.
repeated .google.cloud.speech.v1.SpeechRecognitionAlternative alternatives = 1;
SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder(int index)
*Output-only* May contain one or more recognition hypotheses (up to the maximum specified in `max_alternatives`). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.
repeated .google.cloud.speech.v1.SpeechRecognitionAlternative alternatives = 1;