public class SpeechResults extends GenericModel
| Constructor and Description | 
|---|
| SpeechResults() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getResultIndex()Gets the result index. | 
| List<Transcript> | getResults()Gets the results. | 
| List<SpeakerLabel> | getSpeakerLabels() | 
| boolean | isFinal()Returns  trueif the results are final. | 
| void | setResultIndex(int resultIndex)Sets the result index. | 
| void | setResults(List<Transcript> results)Sets the results. | 
| void | setSpeakerLabels(List<SpeakerLabel> speakerLabels) | 
equals, hashCode, toStringpublic List<SpeakerLabel> getSpeakerLabels()
public void setSpeakerLabels(List<SpeakerLabel> speakerLabels)
public int getResultIndex()
public List<Transcript> getResults()
public boolean isFinal()
true if the results are final.public void setResultIndex(int resultIndex)
resultIndex - The result_indexpublic void setResults(List<Transcript> results)
results - The resultsCopyright © 2015–2016 IBM Watson. All rights reserved.