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 Details

    • SpeechTimestamp

      public SpeechTimestamp()
  • Method Details

    • getEndTime

      public Double getEndTime()
      Gets the end time.
      Returns:
      The end time
    • getStartTime

      public Double getStartTime()
      Gets the start time.
      Returns:
      The start time
    • getWord

      public String getWord()
      Gets the word.
      Returns:
      The word
    • setEndTime

      public void setEndTime​(Double endTime)
      Sets the end time.
      Parameters:
      endTime - The end time
    • setStartTime

      public void setStartTime​(Double startTime)
      Sets the start time.
      Parameters:
      startTime - The start time
    • setWord

      public void setWord​(String word)
      Sets the word.
      Parameters:
      word - The word