Class KeyValueSelectionEntity
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datalabelingservicedataplane.model.Entity
-
- com.oracle.bmc.datalabelingservicedataplane.model.KeyValueSelectionEntity
-
@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 theKeyValueSelectionEntity.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 theKeyValueSelectionEntity.Builder
, which maintain a set of all explicitly set fields calledKeyValueSelectionEntity.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KeyValueSelectionEntity.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.datalabelingservicedataplane.model.Entity
Entity.EntityType
-
-
Constructor Summary
Constructors Constructor Description KeyValueSelectionEntity(String text, List<Label> labels, BoundingPolygon boundingPolygon, BigDecimal rotation, Float confidence, BigDecimal pageNumber)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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
getPageNumber()
Integer value.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.
-
-
-
Constructor Detail
-
KeyValueSelectionEntity
@Deprecated public KeyValueSelectionEntity(String text, List<Label> labels, BoundingPolygon boundingPolygon, BigDecimal rotation, Float confidence, BigDecimal pageNumber)
Deprecated.
-
-
Method Detail
-
builder
public static KeyValueSelectionEntity.Builder builder()
Create a new builder.
-
toBuilder
public KeyValueSelectionEntity.Builder toBuilder()
-
getText
public String getText()
Entity Name.- Returns:
- the value
-
getBoundingPolygon
public BoundingPolygon getBoundingPolygon()
-
getRotation
public BigDecimal getRotation()
Integer value.- Returns:
- the value
-
getConfidence
public Float getConfidence()
float value, score from OCR.- Returns:
- the value
-
getPageNumber
public BigDecimal getPageNumber()
Integer value.- Returns:
- the value
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-