public final class WebDetection
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 |
---|
WebDetection() |
Modifier and Type | Method and Description |
---|---|
WebDetection |
clone() |
java.util.List<WebLabel> |
getBestGuessLabels()
The service's best guess as to the topic of the request image.
|
java.util.List<WebImage> |
getFullMatchingImages()
Fully matching images from the Internet.
|
java.util.List<WebPage> |
getPagesWithMatchingImages()
Web pages containing the matching images from the Internet.
|
java.util.List<WebImage> |
getPartialMatchingImages()
Partial matching images from the Internet.
|
java.util.List<WebImage> |
getVisuallySimilarImages()
The visually similar image results.
|
java.util.List<WebEntity> |
getWebEntities()
Deduced entities from similar images on the Internet.
|
WebDetection |
set(java.lang.String fieldName,
java.lang.Object value) |
WebDetection |
setBestGuessLabels(java.util.List<WebLabel> bestGuessLabels)
The service's best guess as to the topic of the request image.
|
WebDetection |
setFullMatchingImages(java.util.List<WebImage> fullMatchingImages)
Fully matching images from the Internet.
|
WebDetection |
setPagesWithMatchingImages(java.util.List<WebPage> pagesWithMatchingImages)
Web pages containing the matching images from the Internet.
|
WebDetection |
setPartialMatchingImages(java.util.List<WebImage> partialMatchingImages)
Partial matching images from the Internet.
|
WebDetection |
setVisuallySimilarImages(java.util.List<WebImage> visuallySimilarImages)
The visually similar image results.
|
WebDetection |
setWebEntities(java.util.List<WebEntity> webEntities)
Deduced entities from similar images on the Internet.
|
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<WebLabel> getBestGuessLabels()
null
for nonepublic WebDetection setBestGuessLabels(java.util.List<WebLabel> bestGuessLabels)
bestGuessLabels
- bestGuessLabels or null
for nonepublic java.util.List<WebImage> getFullMatchingImages()
null
for nonepublic WebDetection setFullMatchingImages(java.util.List<WebImage> fullMatchingImages)
fullMatchingImages
- fullMatchingImages or null
for nonepublic java.util.List<WebPage> getPagesWithMatchingImages()
null
for nonepublic WebDetection setPagesWithMatchingImages(java.util.List<WebPage> pagesWithMatchingImages)
pagesWithMatchingImages
- pagesWithMatchingImages or null
for nonepublic java.util.List<WebImage> getPartialMatchingImages()
null
for nonepublic WebDetection setPartialMatchingImages(java.util.List<WebImage> partialMatchingImages)
partialMatchingImages
- partialMatchingImages or null
for nonepublic java.util.List<WebImage> getVisuallySimilarImages()
null
for nonepublic WebDetection setVisuallySimilarImages(java.util.List<WebImage> visuallySimilarImages)
visuallySimilarImages
- visuallySimilarImages or null
for nonepublic java.util.List<WebEntity> getWebEntities()
null
for nonepublic WebDetection setWebEntities(java.util.List<WebEntity> webEntities)
webEntities
- webEntities or null
for nonepublic WebDetection set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public WebDetection clone()
clone
in class com.google.api.client.json.GenericJson