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