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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
WebDetection() |
Modifier and Type | Method and Description |
---|---|
WebDetection |
clone() |
List<WebLabel> |
getBestGuessLabels()
The service's best guess as to the topic of the request image.
|
List<WebImage> |
getFullMatchingImages()
Fully matching images from the Internet.
|
List<WebPage> |
getPagesWithMatchingImages()
Web pages containing the matching images from the Internet.
|
List<WebImage> |
getPartialMatchingImages()
Partial matching images from the Internet.
|
List<WebImage> |
getVisuallySimilarImages()
The visually similar image results.
|
List<WebEntity> |
getWebEntities()
Deduced entities from similar images on the Internet.
|
WebDetection |
set(String fieldName,
Object value) |
WebDetection |
setBestGuessLabels(List<WebLabel> bestGuessLabels)
The service's best guess as to the topic of the request image.
|
WebDetection |
setFullMatchingImages(List<WebImage> fullMatchingImages)
Fully matching images from the Internet.
|
WebDetection |
setPagesWithMatchingImages(List<WebPage> pagesWithMatchingImages)
Web pages containing the matching images from the Internet.
|
WebDetection |
setPartialMatchingImages(List<WebImage> partialMatchingImages)
Partial matching images from the Internet.
|
WebDetection |
setVisuallySimilarImages(List<WebImage> visuallySimilarImages)
The visually similar image results.
|
WebDetection |
setWebEntities(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
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<WebLabel> getBestGuessLabels()
null
for nonepublic WebDetection setBestGuessLabels(List<WebLabel> bestGuessLabels)
bestGuessLabels
- bestGuessLabels or null
for nonepublic List<WebImage> getFullMatchingImages()
null
for nonepublic WebDetection setFullMatchingImages(List<WebImage> fullMatchingImages)
fullMatchingImages
- fullMatchingImages or null
for nonepublic List<WebPage> getPagesWithMatchingImages()
null
for nonepublic WebDetection setPagesWithMatchingImages(List<WebPage> pagesWithMatchingImages)
pagesWithMatchingImages
- pagesWithMatchingImages or null
for nonepublic List<WebImage> getPartialMatchingImages()
null
for nonepublic WebDetection setPartialMatchingImages(List<WebImage> partialMatchingImages)
partialMatchingImages
- partialMatchingImages or null
for nonepublic List<WebImage> getVisuallySimilarImages()
null
for nonepublic WebDetection setVisuallySimilarImages(List<WebImage> visuallySimilarImages)
visuallySimilarImages
- visuallySimilarImages or null
for nonepublic List<WebEntity> getWebEntities()
null
for nonepublic WebDetection setWebEntities(List<WebEntity> webEntities)
webEntities
- webEntities or null
for nonepublic WebDetection set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public WebDetection clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.