public final class GoogleCloudVisionV1p1beta1ProductSearchResultsResult
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 |
|---|
GoogleCloudVisionV1p1beta1ProductSearchResultsResult() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudVisionV1p1beta1ProductSearchResultsResult |
clone() |
String |
getImage()
The resource name of the image from the product that is the closest match to the query.
|
GoogleCloudVisionV1p1beta1Product |
getProduct()
The Product.
|
Float |
getScore()
A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).
|
GoogleCloudVisionV1p1beta1ProductSearchResultsResult |
set(String fieldName,
Object value) |
GoogleCloudVisionV1p1beta1ProductSearchResultsResult |
setImage(String image)
The resource name of the image from the product that is the closest match to the query.
|
GoogleCloudVisionV1p1beta1ProductSearchResultsResult |
setProduct(GoogleCloudVisionV1p1beta1Product product)
The Product.
|
GoogleCloudVisionV1p1beta1ProductSearchResultsResult |
setScore(Float score)
A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).
|
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 GoogleCloudVisionV1p1beta1ProductSearchResultsResult()
public String getImage()
null for nonepublic GoogleCloudVisionV1p1beta1ProductSearchResultsResult setImage(String image)
image - image or null for nonepublic GoogleCloudVisionV1p1beta1Product getProduct()
null for nonepublic GoogleCloudVisionV1p1beta1ProductSearchResultsResult setProduct(GoogleCloudVisionV1p1beta1Product product)
product - product or null for nonepublic Float getScore()
null for nonepublic GoogleCloudVisionV1p1beta1ProductSearchResultsResult setScore(Float score)
score - score or null for nonepublic GoogleCloudVisionV1p1beta1ProductSearchResultsResult set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudVisionV1p1beta1ProductSearchResultsResult clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.