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