Package com.oracle.bmc.ailanguage.model
Class MetaInfo.Builder
- java.lang.Object
- 
- com.oracle.bmc.ailanguage.model.MetaInfo.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MetaInfobuild()MetaInfo.Buildercopy(MetaInfo model)MetaInfo.Builderlength(Integer length)Length of entity text.MetaInfo.Builderoffset(Integer offset)The number of Unicode code points preceding this entity in the submitted text.MetaInfo.Builderscore(Double score)Score or confidence for detected entity.MetaInfo.BuildersubType(String subType)Sub-type of entity text like GPE for LOCATION type.MetaInfo.Buildertext(String text)Entity text like name of person, location, and so on.
 
- 
- 
- 
Method Detail- 
offsetpublic MetaInfo.Builder offset(Integer offset) The number of Unicode code points preceding this entity in the submitted text.- Parameters:
- offset- the value to set
- Returns:
- this builder
 
 - 
lengthpublic MetaInfo.Builder length(Integer length) Length of entity text.- Parameters:
- length- the value to set
- Returns:
- this builder
 
 - 
textpublic MetaInfo.Builder text(String text) Entity text like name of person, location, and so on.- Parameters:
- text- the value to set
- Returns:
- this builder
 
 - 
subTypepublic MetaInfo.Builder subType(String subType) Sub-type of entity text like GPE for LOCATION type.- Parameters:
- subType- the value to set
- Returns:
- this builder
 
 - 
scorepublic MetaInfo.Builder score(Double score) Score or confidence for detected entity.- Parameters:
- score- the value to set
- Returns:
- this builder
 
 - 
buildpublic MetaInfo build() 
 - 
copypublic MetaInfo.Builder copy(MetaInfo model) 
 
- 
 
-