public static class ValueString.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ValueString.Builder |
boundingPolygon(BoundingPolygon boundingPolygon) |
ValueString |
build() |
ValueString.Builder |
confidence(Float confidence) |
ValueString.Builder |
copy(ValueString model) |
ValueString.Builder |
text(String text) |
ValueString.Builder |
value(String value)
The string text.
|
ValueString.Builder |
wordIndexes(List<Integer> wordIndexes) |
public ValueString.Builder text(String text)
public ValueString.Builder confidence(Float confidence)
public ValueString.Builder boundingPolygon(BoundingPolygon boundingPolygon)
public ValueString.Builder wordIndexes(List<Integer> wordIndexes)
public ValueString.Builder value(String value)
The string text.
value
- the value to setpublic ValueString build()
public ValueString.Builder copy(ValueString model)
Copyright © 2016–2024. All rights reserved.