Class Subtitle
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tts.v20190823.models.Subtitle
-
public class Subtitle extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetBeginIndex()Get 该字在整句中的开始位置,从0开始。LonggetBeginTime()Get ⽂本对应tts语⾳开始时间戳,单位ms。LonggetEndIndex()Get 该字在整句中的结束位置,从0开始。LonggetEndTime()Get ⽂本对应tts语⾳结束时间戳,单位ms。StringgetPhoneme()Get 该字的音素 注意:此字段可能返回 null,表示取不到有效值。StringgetText()Get ⽂本信息。voidsetBeginIndex(Long BeginIndex)Set 该字在整句中的开始位置,从0开始。voidsetBeginTime(Long BeginTime)Set ⽂本对应tts语⾳开始时间戳,单位ms。voidsetEndIndex(Long EndIndex)Set 该字在整句中的结束位置,从0开始。voidsetEndTime(Long EndTime)Set ⽂本对应tts语⾳结束时间戳,单位ms。voidsetPhoneme(String Phoneme)Set 该字的音素 注意:此字段可能返回 null,表示取不到有效值。voidsetText(String Text)Set ⽂本信息。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
Subtitle
public Subtitle()
-
Subtitle
public Subtitle(Subtitle source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getText
public String getText()
Get ⽂本信息。- Returns:
- Text ⽂本信息。
-
setText
public void setText(String Text)
Set ⽂本信息。- Parameters:
Text- ⽂本信息。
-
getBeginTime
public Long getBeginTime()
Get ⽂本对应tts语⾳开始时间戳,单位ms。- Returns:
- BeginTime ⽂本对应tts语⾳开始时间戳,单位ms。
-
setBeginTime
public void setBeginTime(Long BeginTime)
Set ⽂本对应tts语⾳开始时间戳,单位ms。- Parameters:
BeginTime- ⽂本对应tts语⾳开始时间戳,单位ms。
-
getEndTime
public Long getEndTime()
Get ⽂本对应tts语⾳结束时间戳,单位ms。- Returns:
- EndTime ⽂本对应tts语⾳结束时间戳,单位ms。
-
setEndTime
public void setEndTime(Long EndTime)
Set ⽂本对应tts语⾳结束时间戳,单位ms。- Parameters:
EndTime- ⽂本对应tts语⾳结束时间戳,单位ms。
-
getBeginIndex
public Long getBeginIndex()
Get 该字在整句中的开始位置,从0开始。- Returns:
- BeginIndex 该字在整句中的开始位置,从0开始。
-
setBeginIndex
public void setBeginIndex(Long BeginIndex)
Set 该字在整句中的开始位置,从0开始。- Parameters:
BeginIndex- 该字在整句中的开始位置,从0开始。
-
getEndIndex
public Long getEndIndex()
Get 该字在整句中的结束位置,从0开始。- Returns:
- EndIndex 该字在整句中的结束位置,从0开始。
-
setEndIndex
public void setEndIndex(Long EndIndex)
Set 该字在整句中的结束位置,从0开始。- Parameters:
EndIndex- 该字在整句中的结束位置,从0开始。
-
getPhoneme
public String getPhoneme()
Get 该字的音素 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Phoneme 该字的音素 注意:此字段可能返回 null,表示取不到有效值。
-
setPhoneme
public void setPhoneme(String Phoneme)
Set 该字的音素 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Phoneme- 该字的音素 注意:此字段可能返回 null,表示取不到有效值。
-
-