public final class Page
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
| Page() | 
| Modifier and Type | Method and Description | 
|---|---|
| Page | clone() | 
| List<Block> | getBlocks()List of blocks of text, images etc on this page. | 
| Float | getConfidence()Confidence of the OCR results on the page. | 
| Integer | getHeight()Page height. | 
| TextProperty | getProperty()Additional information detected on the page. | 
| Integer | getWidth()Page width. | 
| Page | set(String fieldName,
   Object value) | 
| Page | setBlocks(List<Block> blocks)List of blocks of text, images etc on this page. | 
| Page | setConfidence(Float confidence)Confidence of the OCR results on the page. | 
| Page | setHeight(Integer height)Page height. | 
| Page | setProperty(TextProperty property)Additional information detected on the page. | 
| Page | setWidth(Integer width)Page width. | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<Block> getBlocks()
null for nonepublic Page setBlocks(List<Block> blocks)
blocks - blocks or null for nonepublic Float getConfidence()
null for nonepublic Page setConfidence(Float confidence)
confidence - confidence or null for nonepublic Integer getHeight()
null for nonepublic Page setHeight(Integer height)
height - height or null for nonepublic TextProperty getProperty()
null for nonepublic Page setProperty(TextProperty property)
property - property or null for nonepublic Integer getWidth()
null for nonepublic Page setWidth(Integer width)
width - width or null for nonepublic Page set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Page clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.