public final class GoogleCloudVisionV1p4beta1EntityAnnotation
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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
GoogleCloudVisionV1p4beta1EntityAnnotation() |
Modifier and Type | Method and Description |
---|---|
GoogleCloudVisionV1p4beta1EntityAnnotation |
clone() |
GoogleCloudVisionV1p4beta1BoundingPoly |
getBoundingPoly()
Image region to which this entity belongs.
|
Float |
getConfidence()
**Deprecated.
|
String |
getDescription()
Entity textual description, expressed in its `locale` language.
|
String |
getLocale()
The language code for the locale in which the entity textual `description` is expressed.
|
List<GoogleCloudVisionV1p4beta1LocationInfo> |
getLocations()
The location information for the detected entity.
|
String |
getMid()
Opaque entity ID.
|
List<GoogleCloudVisionV1p4beta1Property> |
getProperties()
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or
string that qualifies the entity.
|
Float |
getScore()
Overall score of the result.
|
Float |
getTopicality()
The relevancy of the ICA (Image Content Annotation) label to the image.
|
GoogleCloudVisionV1p4beta1EntityAnnotation |
set(String fieldName,
Object value) |
GoogleCloudVisionV1p4beta1EntityAnnotation |
setBoundingPoly(GoogleCloudVisionV1p4beta1BoundingPoly boundingPoly)
Image region to which this entity belongs.
|
GoogleCloudVisionV1p4beta1EntityAnnotation |
setConfidence(Float confidence)
**Deprecated.
|
GoogleCloudVisionV1p4beta1EntityAnnotation |
setDescription(String description)
Entity textual description, expressed in its `locale` language.
|
GoogleCloudVisionV1p4beta1EntityAnnotation |
setLocale(String locale)
The language code for the locale in which the entity textual `description` is expressed.
|
GoogleCloudVisionV1p4beta1EntityAnnotation |
setLocations(List<GoogleCloudVisionV1p4beta1LocationInfo> locations)
The location information for the detected entity.
|
GoogleCloudVisionV1p4beta1EntityAnnotation |
setMid(String mid)
Opaque entity ID.
|
GoogleCloudVisionV1p4beta1EntityAnnotation |
setProperties(List<GoogleCloudVisionV1p4beta1Property> properties)
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or
string that qualifies the entity.
|
GoogleCloudVisionV1p4beta1EntityAnnotation |
setScore(Float score)
Overall score of the result.
|
GoogleCloudVisionV1p4beta1EntityAnnotation |
setTopicality(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
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public GoogleCloudVisionV1p4beta1EntityAnnotation()
public GoogleCloudVisionV1p4beta1BoundingPoly getBoundingPoly()
null
for nonepublic GoogleCloudVisionV1p4beta1EntityAnnotation setBoundingPoly(GoogleCloudVisionV1p4beta1BoundingPoly boundingPoly)
boundingPoly
- boundingPoly or null
for nonepublic Float getConfidence()
null
for nonepublic GoogleCloudVisionV1p4beta1EntityAnnotation setConfidence(Float confidence)
confidence
- confidence or null
for nonepublic String getDescription()
null
for nonepublic GoogleCloudVisionV1p4beta1EntityAnnotation setDescription(String description)
description
- description or null
for nonepublic String getLocale()
null
for nonepublic GoogleCloudVisionV1p4beta1EntityAnnotation setLocale(String locale)
locale
- locale or null
for nonepublic List<GoogleCloudVisionV1p4beta1LocationInfo> getLocations()
null
for nonepublic GoogleCloudVisionV1p4beta1EntityAnnotation setLocations(List<GoogleCloudVisionV1p4beta1LocationInfo> locations)
locations
- locations or null
for nonepublic String getMid()
null
for nonepublic GoogleCloudVisionV1p4beta1EntityAnnotation setMid(String mid)
mid
- mid or null
for nonepublic List<GoogleCloudVisionV1p4beta1Property> getProperties()
null
for nonepublic GoogleCloudVisionV1p4beta1EntityAnnotation setProperties(List<GoogleCloudVisionV1p4beta1Property> properties)
properties
- properties or null
for nonepublic Float getScore()
null
for nonepublic GoogleCloudVisionV1p4beta1EntityAnnotation setScore(Float score)
score
- score or null
for nonepublic Float getTopicality()
null
for nonepublic GoogleCloudVisionV1p4beta1EntityAnnotation setTopicality(Float topicality)
topicality
- topicality or null
for nonepublic GoogleCloudVisionV1p4beta1EntityAnnotation set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public GoogleCloudVisionV1p4beta1EntityAnnotation clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.