public final class GoogleCloudVisionV1p4beta1FaceRecognitionResult extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleCloudVisionV1p4beta1FaceRecognitionResult() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudVisionV1p4beta1FaceRecognitionResult |
clone() |
GoogleCloudVisionV1p4beta1Celebrity |
getCelebrity()
The Celebrity that this face was matched to.
|
Float |
getConfidence()
Recognition confidence.
|
GoogleCloudVisionV1p4beta1FaceRecognitionResult |
set(String fieldName,
Object value) |
GoogleCloudVisionV1p4beta1FaceRecognitionResult |
setCelebrity(GoogleCloudVisionV1p4beta1Celebrity celebrity)
The Celebrity that this face was matched to.
|
GoogleCloudVisionV1p4beta1FaceRecognitionResult |
setConfidence(Float confidence)
Recognition confidence.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic GoogleCloudVisionV1p4beta1FaceRecognitionResult()
public GoogleCloudVisionV1p4beta1Celebrity getCelebrity()
null for nonepublic GoogleCloudVisionV1p4beta1FaceRecognitionResult setCelebrity(GoogleCloudVisionV1p4beta1Celebrity celebrity)
celebrity - celebrity or null for nonepublic Float getConfidence()
null for nonepublic GoogleCloudVisionV1p4beta1FaceRecognitionResult setConfidence(Float confidence)
confidence - confidence or null for nonepublic GoogleCloudVisionV1p4beta1FaceRecognitionResult set(String fieldName, Object value)
set in class GenericJsonpublic GoogleCloudVisionV1p4beta1FaceRecognitionResult clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.