public final class ProductSearchParams
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 |
|---|
ProductSearchParams() |
| Modifier and Type | Method and Description |
|---|---|
ProductSearchParams |
clone() |
BoundingPoly |
getBoundingPoly()
The bounding polygon around the area of interest in the image.
|
String |
getFilter()
The filtering expression.
|
List<String> |
getProductCategories()
The list of product categories to search in.
|
String |
getProductSet()
The resource name of a ProductSet to be searched for similar images.
|
ProductSearchParams |
set(String fieldName,
Object value) |
ProductSearchParams |
setBoundingPoly(BoundingPoly boundingPoly)
The bounding polygon around the area of interest in the image.
|
ProductSearchParams |
setFilter(String filter)
The filtering expression.
|
ProductSearchParams |
setProductCategories(List<String> productCategories)
The list of product categories to search in.
|
ProductSearchParams |
setProductSet(String productSet)
The resource name of a ProductSet to be searched for similar images.
|
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 BoundingPoly getBoundingPoly()
null for nonepublic ProductSearchParams setBoundingPoly(BoundingPoly boundingPoly)
boundingPoly - boundingPoly or null for nonepublic String getFilter()
null for nonepublic ProductSearchParams setFilter(String filter)
filter - filter or null for nonepublic List<String> getProductCategories()
null for nonepublic ProductSearchParams setProductCategories(List<String> productCategories)
productCategories - productCategories or null for nonepublic String getProductSet()
null for nonepublic ProductSearchParams setProductSet(String productSet)
productSet - productSet or null for nonepublic ProductSearchParams set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ProductSearchParams clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.