public final class GoogleCloudVisionV1p3beta1ProductSearchResultsResult
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 |
---|
GoogleCloudVisionV1p3beta1ProductSearchResultsResult() |
Modifier and Type | Method and Description |
---|---|
GoogleCloudVisionV1p3beta1ProductSearchResultsResult |
clone() |
java.lang.String |
getImage()
The resource name of the image from the product that is the closest match to the query.
|
GoogleCloudVisionV1p3beta1Product |
getProduct()
The Product.
|
java.lang.Float |
getScore()
A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).
|
GoogleCloudVisionV1p3beta1ProductSearchResultsResult |
set(java.lang.String fieldName,
java.lang.Object value) |
GoogleCloudVisionV1p3beta1ProductSearchResultsResult |
setImage(java.lang.String image)
The resource name of the image from the product that is the closest match to the query.
|
GoogleCloudVisionV1p3beta1ProductSearchResultsResult |
setProduct(GoogleCloudVisionV1p3beta1Product product)
The Product.
|
GoogleCloudVisionV1p3beta1ProductSearchResultsResult |
setScore(java.lang.Float score)
A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public GoogleCloudVisionV1p3beta1ProductSearchResultsResult()
public java.lang.String getImage()
null
for nonepublic GoogleCloudVisionV1p3beta1ProductSearchResultsResult setImage(java.lang.String image)
image
- image or null
for nonepublic GoogleCloudVisionV1p3beta1Product getProduct()
null
for nonepublic GoogleCloudVisionV1p3beta1ProductSearchResultsResult setProduct(GoogleCloudVisionV1p3beta1Product product)
product
- product or null
for nonepublic java.lang.Float getScore()
null
for nonepublic GoogleCloudVisionV1p3beta1ProductSearchResultsResult setScore(java.lang.Float score)
score
- score or null
for nonepublic GoogleCloudVisionV1p3beta1ProductSearchResultsResult set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public GoogleCloudVisionV1p3beta1ProductSearchResultsResult clone()
clone
in class com.google.api.client.json.GenericJson