public interface SpeechRecognitionResultOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAlternatives(int index)
public abstract SpeechRecognitionAlternative getAlternatives(int index) Output-only May contain one or more recognition hypotheses (up to the
maximum specified in max_alternatives).
repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
| Name | Description |
| index | int |
| Type | Description |
| SpeechRecognitionAlternative |
getAlternativesCount()
public abstract int getAlternativesCount() Output-only May contain one or more recognition hypotheses (up to the
maximum specified in max_alternatives).
repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
| Type | Description |
| int |
getAlternativesList()
public abstract List<SpeechRecognitionAlternative> getAlternativesList() Output-only May contain one or more recognition hypotheses (up to the
maximum specified in max_alternatives).
repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
| Type | Description |
| List<SpeechRecognitionAlternative> |
getAlternativesOrBuilder(int index)
public abstract SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder(int index) Output-only May contain one or more recognition hypotheses (up to the
maximum specified in max_alternatives).
repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
| Name | Description |
| index | int |
| Type | Description |
| SpeechRecognitionAlternativeOrBuilder |
getAlternativesOrBuilderList()
public abstract List<? extends SpeechRecognitionAlternativeOrBuilder> getAlternativesOrBuilderList() Output-only May contain one or more recognition hypotheses (up to the
maximum specified in max_alternatives).
repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
| Type | Description |
| List<? extends com.google.cloud.speech.v1beta1.SpeechRecognitionAlternativeOrBuilder> |