public final class GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation
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 |
---|
GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation() |
Modifier and Type | Method and Description |
---|---|
GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation |
clone() |
GoogleCloudVisionV1p4beta1BoundingPoly |
getBoundingPoly()
Image region to which this object belongs.
|
java.lang.String |
getLanguageCode()
The BCP-47 language code, such as "en-US" or "sr-Latn".
|
java.lang.String |
getMid()
Object ID that should align with EntityAnnotation mid.
|
java.lang.String |
getName()
Object name, expressed in its `language_code` language.
|
java.lang.Float |
getScore()
Score of the result.
|
GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation |
set(java.lang.String fieldName,
java.lang.Object value) |
GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation |
setBoundingPoly(GoogleCloudVisionV1p4beta1BoundingPoly boundingPoly)
Image region to which this object belongs.
|
GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation |
setLanguageCode(java.lang.String languageCode)
The BCP-47 language code, such as "en-US" or "sr-Latn".
|
GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation |
setMid(java.lang.String mid)
Object ID that should align with EntityAnnotation mid.
|
GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation |
setName(java.lang.String name)
Object name, expressed in its `language_code` language.
|
GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation |
setScore(java.lang.Float score)
Score of the result.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation()
public GoogleCloudVisionV1p4beta1BoundingPoly getBoundingPoly()
null
for nonepublic GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation setBoundingPoly(GoogleCloudVisionV1p4beta1BoundingPoly boundingPoly)
boundingPoly
- boundingPoly or null
for nonepublic java.lang.String getLanguageCode()
null
for nonepublic GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation setLanguageCode(java.lang.String languageCode)
languageCode
- languageCode or null
for nonepublic java.lang.String getMid()
null
for nonepublic GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation setMid(java.lang.String mid)
mid
- mid or null
for nonepublic java.lang.String getName()
null
for nonepublic GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.Float getScore()
null
for nonepublic GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation setScore(java.lang.Float score)
score
- score or null
for nonepublic GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation clone()
clone
in class com.google.api.client.json.GenericJson