public final class GoogleCloudVisionV1p4beta1Block
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Vision API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
GoogleCloudVisionV1p4beta1Block() |
Modifier and Type | Method and Description |
---|---|
GoogleCloudVisionV1p4beta1Block |
clone() |
java.lang.String |
getBlockType()
Detected block type (text, image etc) for this block.
|
GoogleCloudVisionV1p4beta1BoundingPoly |
getBoundingBox()
The bounding box for the block.
|
java.lang.Float |
getConfidence()
Confidence of the OCR results on the block.
|
java.util.List<GoogleCloudVisionV1p4beta1Paragraph> |
getParagraphs()
List of paragraphs in this block (if this blocks is of type text).
|
GoogleCloudVisionV1p4beta1TextAnnotationTextProperty |
getProperty()
Additional information detected for the block.
|
GoogleCloudVisionV1p4beta1Block |
set(java.lang.String fieldName,
java.lang.Object value) |
GoogleCloudVisionV1p4beta1Block |
setBlockType(java.lang.String blockType)
Detected block type (text, image etc) for this block.
|
GoogleCloudVisionV1p4beta1Block |
setBoundingBox(GoogleCloudVisionV1p4beta1BoundingPoly boundingBox)
The bounding box for the block.
|
GoogleCloudVisionV1p4beta1Block |
setConfidence(java.lang.Float confidence)
Confidence of the OCR results on the block.
|
GoogleCloudVisionV1p4beta1Block |
setParagraphs(java.util.List<GoogleCloudVisionV1p4beta1Paragraph> paragraphs)
List of paragraphs in this block (if this blocks is of type text).
|
GoogleCloudVisionV1p4beta1Block |
setProperty(GoogleCloudVisionV1p4beta1TextAnnotationTextProperty property)
Additional information detected for the block.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getBlockType()
null
for nonepublic GoogleCloudVisionV1p4beta1Block setBlockType(java.lang.String blockType)
blockType
- blockType or null
for nonepublic GoogleCloudVisionV1p4beta1BoundingPoly getBoundingBox()
null
for nonepublic GoogleCloudVisionV1p4beta1Block setBoundingBox(GoogleCloudVisionV1p4beta1BoundingPoly boundingBox)
boundingBox
- boundingBox or null
for nonepublic java.lang.Float getConfidence()
null
for nonepublic GoogleCloudVisionV1p4beta1Block setConfidence(java.lang.Float confidence)
confidence
- confidence or null
for nonepublic java.util.List<GoogleCloudVisionV1p4beta1Paragraph> getParagraphs()
null
for nonepublic GoogleCloudVisionV1p4beta1Block setParagraphs(java.util.List<GoogleCloudVisionV1p4beta1Paragraph> paragraphs)
paragraphs
- paragraphs or null
for nonepublic GoogleCloudVisionV1p4beta1TextAnnotationTextProperty getProperty()
null
for nonepublic GoogleCloudVisionV1p4beta1Block setProperty(GoogleCloudVisionV1p4beta1TextAnnotationTextProperty property)
property
- property or null
for nonepublic GoogleCloudVisionV1p4beta1Block set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public GoogleCloudVisionV1p4beta1Block clone()
clone
in class com.google.api.client.json.GenericJson