public class SpeechResults extends GenericModel
Constructor and Description |
---|
SpeechResults() |
Modifier and Type | Method and Description |
---|---|
int |
getResultIndex()
Gets the result index.
|
java.util.List<Transcript> |
getResults()
Gets the results.
|
java.util.List<SpeakerLabel> |
getSpeakerLabels() |
boolean |
isFinal()
Returns
true if the results are final. |
void |
setResultIndex(int resultIndex)
Sets the result index.
|
void |
setResults(java.util.List<Transcript> results)
Sets the results.
|
void |
setSpeakerLabels(java.util.List<SpeakerLabel> speakerLabels) |
equals, hashCode, toString
public java.util.List<SpeakerLabel> getSpeakerLabels()
public void setSpeakerLabels(java.util.List<SpeakerLabel> speakerLabels)
public int getResultIndex()
public java.util.List<Transcript> getResults()
public boolean isFinal()
true
if the results are final.public void setResultIndex(int resultIndex)
resultIndex
- The result_indexpublic void setResults(java.util.List<Transcript> results)
results
- The results