public final class GoogleCloudVisionV1p1beta1EntityAnnotation
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 |
---|
GoogleCloudVisionV1p1beta1EntityAnnotation() |
Modifier and Type | Method and Description |
---|---|
GoogleCloudVisionV1p1beta1EntityAnnotation |
clone() |
GoogleCloudVisionV1p1beta1BoundingPoly |
getBoundingPoly()
Image region to which this entity belongs.
|
java.lang.Float |
getConfidence()
**Deprecated.
|
java.lang.String |
getDescription()
Entity textual description, expressed in its `locale` language.
|
java.lang.String |
getLocale()
The language code for the locale in which the entity textual `description` is expressed.
|
java.util.List<GoogleCloudVisionV1p1beta1LocationInfo> |
getLocations()
The location information for the detected entity.
|
java.lang.String |
getMid()
Opaque entity ID.
|
java.util.List<GoogleCloudVisionV1p1beta1Property> |
getProperties()
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or
string that qualifies the entity.
|
java.lang.Float |
getScore()
Overall score of the result.
|
java.lang.Float |
getTopicality()
The relevancy of the ICA (Image Content Annotation) label to the image.
|
GoogleCloudVisionV1p1beta1EntityAnnotation |
set(java.lang.String fieldName,
java.lang.Object value) |
GoogleCloudVisionV1p1beta1EntityAnnotation |
setBoundingPoly(GoogleCloudVisionV1p1beta1BoundingPoly boundingPoly)
Image region to which this entity belongs.
|
GoogleCloudVisionV1p1beta1EntityAnnotation |
setConfidence(java.lang.Float confidence)
**Deprecated.
|
GoogleCloudVisionV1p1beta1EntityAnnotation |
setDescription(java.lang.String description)
Entity textual description, expressed in its `locale` language.
|
GoogleCloudVisionV1p1beta1EntityAnnotation |
setLocale(java.lang.String locale)
The language code for the locale in which the entity textual `description` is expressed.
|
GoogleCloudVisionV1p1beta1EntityAnnotation |
setLocations(java.util.List<GoogleCloudVisionV1p1beta1LocationInfo> locations)
The location information for the detected entity.
|
GoogleCloudVisionV1p1beta1EntityAnnotation |
setMid(java.lang.String mid)
Opaque entity ID.
|
GoogleCloudVisionV1p1beta1EntityAnnotation |
setProperties(java.util.List<GoogleCloudVisionV1p1beta1Property> properties)
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or
string that qualifies the entity.
|
GoogleCloudVisionV1p1beta1EntityAnnotation |
setScore(java.lang.Float score)
Overall score of the result.
|
GoogleCloudVisionV1p1beta1EntityAnnotation |
setTopicality(java.lang.Float topicality)
The relevancy of the ICA (Image Content Annotation) label to the image.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public GoogleCloudVisionV1p1beta1EntityAnnotation()
public GoogleCloudVisionV1p1beta1BoundingPoly getBoundingPoly()
null
for nonepublic GoogleCloudVisionV1p1beta1EntityAnnotation setBoundingPoly(GoogleCloudVisionV1p1beta1BoundingPoly boundingPoly)
boundingPoly
- boundingPoly or null
for nonepublic java.lang.Float getConfidence()
null
for nonepublic GoogleCloudVisionV1p1beta1EntityAnnotation setConfidence(java.lang.Float confidence)
confidence
- confidence or null
for nonepublic java.lang.String getDescription()
null
for nonepublic GoogleCloudVisionV1p1beta1EntityAnnotation setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getLocale()
null
for nonepublic GoogleCloudVisionV1p1beta1EntityAnnotation setLocale(java.lang.String locale)
locale
- locale or null
for nonepublic java.util.List<GoogleCloudVisionV1p1beta1LocationInfo> getLocations()
null
for nonepublic GoogleCloudVisionV1p1beta1EntityAnnotation setLocations(java.util.List<GoogleCloudVisionV1p1beta1LocationInfo> locations)
locations
- locations or null
for nonepublic java.lang.String getMid()
null
for nonepublic GoogleCloudVisionV1p1beta1EntityAnnotation setMid(java.lang.String mid)
mid
- mid or null
for nonepublic java.util.List<GoogleCloudVisionV1p1beta1Property> getProperties()
null
for nonepublic GoogleCloudVisionV1p1beta1EntityAnnotation setProperties(java.util.List<GoogleCloudVisionV1p1beta1Property> properties)
properties
- properties or null
for nonepublic java.lang.Float getScore()
null
for nonepublic GoogleCloudVisionV1p1beta1EntityAnnotation setScore(java.lang.Float score)
score
- score or null
for nonepublic java.lang.Float getTopicality()
null
for nonepublic GoogleCloudVisionV1p1beta1EntityAnnotation setTopicality(java.lang.Float topicality)
topicality
- topicality or null
for nonepublic GoogleCloudVisionV1p1beta1EntityAnnotation set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public GoogleCloudVisionV1p1beta1EntityAnnotation clone()
clone
in class com.google.api.client.json.GenericJson