Class SpeechTimestamp
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.speech_to_text.v1.model.SpeechTimestamp
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SpeechTimestamp
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Transcription timestamp.
-
Constructor Summary
Constructors Constructor Description SpeechTimestamp() -
Method Summary
Modifier and Type Method Description DoublegetEndTime()Gets the end time.DoublegetStartTime()Gets the start time.StringgetWord()Gets the word.voidsetEndTime(Double endTime)Sets the end time.voidsetStartTime(Double startTime)Sets the start time.voidsetWord(String word)Sets the word.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
SpeechTimestamp
public SpeechTimestamp()
-
-
Method Details
-
getEndTime
Gets the end time.- Returns:
- The end time
-
getStartTime
Gets the start time.- Returns:
- The start time
-
getWord
Gets the word.- Returns:
- The word
-
setEndTime
Sets the end time.- Parameters:
endTime- The end time
-
setStartTime
Sets the start time.- Parameters:
startTime- The start time
-
setWord
Sets the word.- Parameters:
word- The word
-