public final class GoogleCloudVisionV1p1beta1Page
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 |
---|
GoogleCloudVisionV1p1beta1Page() |
Modifier and Type | Method and Description |
---|---|
GoogleCloudVisionV1p1beta1Page |
clone() |
java.util.List<GoogleCloudVisionV1p1beta1Block> |
getBlocks()
List of blocks of text, images etc on this page.
|
java.lang.Float |
getConfidence()
Confidence of the OCR results on the page.
|
java.lang.Integer |
getHeight()
Page height.
|
GoogleCloudVisionV1p1beta1TextAnnotationTextProperty |
getProperty()
Additional information detected on the page.
|
java.lang.Integer |
getWidth()
Page width.
|
GoogleCloudVisionV1p1beta1Page |
set(java.lang.String fieldName,
java.lang.Object value) |
GoogleCloudVisionV1p1beta1Page |
setBlocks(java.util.List<GoogleCloudVisionV1p1beta1Block> blocks)
List of blocks of text, images etc on this page.
|
GoogleCloudVisionV1p1beta1Page |
setConfidence(java.lang.Float confidence)
Confidence of the OCR results on the page.
|
GoogleCloudVisionV1p1beta1Page |
setHeight(java.lang.Integer height)
Page height.
|
GoogleCloudVisionV1p1beta1Page |
setProperty(GoogleCloudVisionV1p1beta1TextAnnotationTextProperty property)
Additional information detected on the page.
|
GoogleCloudVisionV1p1beta1Page |
setWidth(java.lang.Integer width)
Page width.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<GoogleCloudVisionV1p1beta1Block> getBlocks()
null
for nonepublic GoogleCloudVisionV1p1beta1Page setBlocks(java.util.List<GoogleCloudVisionV1p1beta1Block> blocks)
blocks
- blocks or null
for nonepublic java.lang.Float getConfidence()
null
for nonepublic GoogleCloudVisionV1p1beta1Page setConfidence(java.lang.Float confidence)
confidence
- confidence or null
for nonepublic java.lang.Integer getHeight()
null
for nonepublic GoogleCloudVisionV1p1beta1Page setHeight(java.lang.Integer height)
height
- height or null
for nonepublic GoogleCloudVisionV1p1beta1TextAnnotationTextProperty getProperty()
null
for nonepublic GoogleCloudVisionV1p1beta1Page setProperty(GoogleCloudVisionV1p1beta1TextAnnotationTextProperty property)
property
- property or null
for nonepublic java.lang.Integer getWidth()
null
for nonepublic GoogleCloudVisionV1p1beta1Page setWidth(java.lang.Integer width)
width
- width or null
for nonepublic GoogleCloudVisionV1p1beta1Page set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public GoogleCloudVisionV1p1beta1Page clone()
clone
in class com.google.api.client.json.GenericJson