public class SpeechAlternative extends GenericModel
| Constructor and Description |
|---|
SpeechAlternative() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
getConfidence()
Gets the confidence.
|
java.util.List<SpeechTimestamp> |
getTimestamps()
Gets the timestamps.
|
java.lang.String |
getTranscript()
Gets the transcript.
|
java.util.List<SpeechWordConfidence> |
getWordConfidences()
Gets the word confidences.
|
void |
setConfidence(java.lang.Double confidence)
Sets the confidence.
|
void |
setTimestamps(java.util.List<SpeechTimestamp> timestamps)
Sets the timestamps.
|
void |
setTranscript(java.lang.String transcript)
Sets the transcript.
|
void |
setWordConfidences(java.util.List<SpeechWordConfidence> wordConfidences)
Sets the word confidences.
|
equals, hashCode, toStringpublic java.lang.Double getConfidence()
public java.util.List<SpeechTimestamp> getTimestamps()
public java.lang.String getTranscript()
public java.util.List<SpeechWordConfidence> getWordConfidences()
public void setConfidence(java.lang.Double confidence)
confidence - The confidencepublic void setTimestamps(java.util.List<SpeechTimestamp> timestamps)
timestamps - The timestampspublic void setTranscript(java.lang.String transcript)
transcript - The transcriptpublic void setWordConfidences(java.util.List<SpeechWordConfidence> wordConfidences)
wordConfidences - The wordConfidences