@Generated(value="OracleSDKGenerator", comments="API Version: 20211001") public final class KeyValueSelectionEntity extends Entity
This allows the labeler to apply label the highlighted text from OCR, this includes labelled and
unlabelled data.
Note: Objects should always be created or deserialized using the KeyValueSelectionEntity.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the KeyValueSelectionEntity.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
KeyValueSelectionEntity.Builder |
Entity.EntityType
Constructor and Description |
---|
KeyValueSelectionEntity(String text,
List<Label> labels,
BoundingPolygon boundingPolygon,
BigDecimal rotation,
Float confidence)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static KeyValueSelectionEntity.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
BoundingPolygon |
getBoundingPolygon() |
Float |
getConfidence()
float value, score from OCR.
|
List<Label> |
getLabels()
A collection of label entities.
|
BigDecimal |
getRotation()
Integer value.
|
String |
getText()
Entity Name.
|
int |
hashCode() |
KeyValueSelectionEntity.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public KeyValueSelectionEntity(String text, List<Label> labels, BoundingPolygon boundingPolygon, BigDecimal rotation, Float confidence)
public static KeyValueSelectionEntity.Builder builder()
Create a new builder.
public KeyValueSelectionEntity.Builder toBuilder()
public String getText()
Entity Name.
public BoundingPolygon getBoundingPolygon()
public BigDecimal getRotation()
Integer value.
public Float getConfidence()
float value, score from OCR.
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
Copyright © 2016–2023. All rights reserved.