public final class ReferenceImage
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 |
---|
ReferenceImage() |
Modifier and Type | Method and Description |
---|---|
ReferenceImage |
clone() |
java.util.List<BoundingPoly> |
getBoundingPolys()
Optional.
|
java.lang.String |
getName()
The resource name of the reference image.
|
java.lang.String |
getUri()
Required.
|
ReferenceImage |
set(java.lang.String fieldName,
java.lang.Object value) |
ReferenceImage |
setBoundingPolys(java.util.List<BoundingPoly> boundingPolys)
Optional.
|
ReferenceImage |
setName(java.lang.String name)
The resource name of the reference image.
|
ReferenceImage |
setUri(java.lang.String uri)
Required.
|
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<BoundingPoly> getBoundingPolys()
null
for nonepublic ReferenceImage setBoundingPolys(java.util.List<BoundingPoly> boundingPolys)
boundingPolys
- boundingPolys or null
for nonepublic java.lang.String getName()
null
for nonepublic ReferenceImage setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getUri()
null
for nonepublic ReferenceImage setUri(java.lang.String uri)
uri
- uri or null
for nonepublic ReferenceImage set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ReferenceImage clone()
clone
in class com.google.api.client.json.GenericJson