public final class GoogleCloudVisionV1p1beta1FaceAnnotation
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
| GoogleCloudVisionV1p1beta1FaceAnnotation() | 
| Modifier and Type | Method and Description | 
|---|---|
| GoogleCloudVisionV1p1beta1FaceAnnotation | clone() | 
| String | getAngerLikelihood()Anger likelihood. | 
| String | getBlurredLikelihood()Blurred likelihood. | 
| GoogleCloudVisionV1p1beta1BoundingPoly | getBoundingPoly()The bounding polygon around the face. | 
| Float | getDetectionConfidence()Detection confidence. | 
| GoogleCloudVisionV1p1beta1BoundingPoly | getFdBoundingPoly()The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only
 the skin part of the face. | 
| String | getHeadwearLikelihood()Headwear likelihood. | 
| String | getJoyLikelihood()Joy likelihood. | 
| Float | getLandmarkingConfidence()Face landmarking confidence. | 
| List<GoogleCloudVisionV1p1beta1FaceAnnotationLandmark> | getLandmarks()Detected face landmarks. | 
| Float | getPanAngle()Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to
 the vertical plane perpendicular to the image. | 
| Float | getRollAngle()Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face
 relative to the image vertical about the axis perpendicular to the face. | 
| String | getSorrowLikelihood()Sorrow likelihood. | 
| String | getSurpriseLikelihood()Surprise likelihood. | 
| Float | getTiltAngle()Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to
 the image's horizontal plane. | 
| String | getUnderExposedLikelihood()Under-exposed likelihood. | 
| GoogleCloudVisionV1p1beta1FaceAnnotation | set(String fieldName,
   Object value) | 
| GoogleCloudVisionV1p1beta1FaceAnnotation | setAngerLikelihood(String angerLikelihood)Anger likelihood. | 
| GoogleCloudVisionV1p1beta1FaceAnnotation | setBlurredLikelihood(String blurredLikelihood)Blurred likelihood. | 
| GoogleCloudVisionV1p1beta1FaceAnnotation | setBoundingPoly(GoogleCloudVisionV1p1beta1BoundingPoly boundingPoly)The bounding polygon around the face. | 
| GoogleCloudVisionV1p1beta1FaceAnnotation | setDetectionConfidence(Float detectionConfidence)Detection confidence. | 
| GoogleCloudVisionV1p1beta1FaceAnnotation | setFdBoundingPoly(GoogleCloudVisionV1p1beta1BoundingPoly fdBoundingPoly)The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only
 the skin part of the face. | 
| GoogleCloudVisionV1p1beta1FaceAnnotation | setHeadwearLikelihood(String headwearLikelihood)Headwear likelihood. | 
| GoogleCloudVisionV1p1beta1FaceAnnotation | setJoyLikelihood(String joyLikelihood)Joy likelihood. | 
| GoogleCloudVisionV1p1beta1FaceAnnotation | setLandmarkingConfidence(Float landmarkingConfidence)Face landmarking confidence. | 
| GoogleCloudVisionV1p1beta1FaceAnnotation | setLandmarks(List<GoogleCloudVisionV1p1beta1FaceAnnotationLandmark> landmarks)Detected face landmarks. | 
| GoogleCloudVisionV1p1beta1FaceAnnotation | setPanAngle(Float panAngle)Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to
 the vertical plane perpendicular to the image. | 
| GoogleCloudVisionV1p1beta1FaceAnnotation | setRollAngle(Float rollAngle)Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face
 relative to the image vertical about the axis perpendicular to the face. | 
| GoogleCloudVisionV1p1beta1FaceAnnotation | setSorrowLikelihood(String sorrowLikelihood)Sorrow likelihood. | 
| GoogleCloudVisionV1p1beta1FaceAnnotation | setSurpriseLikelihood(String surpriseLikelihood)Surprise likelihood. | 
| GoogleCloudVisionV1p1beta1FaceAnnotation | setTiltAngle(Float tiltAngle)Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to
 the image's horizontal plane. | 
| GoogleCloudVisionV1p1beta1FaceAnnotation | setUnderExposedLikelihood(String underExposedLikelihood)Under-exposed likelihood. | 
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 GoogleCloudVisionV1p1beta1FaceAnnotation()
public String getAngerLikelihood()
null for nonepublic GoogleCloudVisionV1p1beta1FaceAnnotation setAngerLikelihood(String angerLikelihood)
angerLikelihood - angerLikelihood or null for nonepublic String getBlurredLikelihood()
null for nonepublic GoogleCloudVisionV1p1beta1FaceAnnotation setBlurredLikelihood(String blurredLikelihood)
blurredLikelihood - blurredLikelihood or null for nonepublic GoogleCloudVisionV1p1beta1BoundingPoly getBoundingPoly()
null for nonepublic GoogleCloudVisionV1p1beta1FaceAnnotation setBoundingPoly(GoogleCloudVisionV1p1beta1BoundingPoly boundingPoly)
boundingPoly - boundingPoly or null for nonepublic Float getDetectionConfidence()
null for nonepublic GoogleCloudVisionV1p1beta1FaceAnnotation setDetectionConfidence(Float detectionConfidence)
detectionConfidence - detectionConfidence or null for nonepublic GoogleCloudVisionV1p1beta1BoundingPoly getFdBoundingPoly()
null for nonepublic GoogleCloudVisionV1p1beta1FaceAnnotation setFdBoundingPoly(GoogleCloudVisionV1p1beta1BoundingPoly fdBoundingPoly)
fdBoundingPoly - fdBoundingPoly or null for nonepublic String getHeadwearLikelihood()
null for nonepublic GoogleCloudVisionV1p1beta1FaceAnnotation setHeadwearLikelihood(String headwearLikelihood)
headwearLikelihood - headwearLikelihood or null for nonepublic String getJoyLikelihood()
null for nonepublic GoogleCloudVisionV1p1beta1FaceAnnotation setJoyLikelihood(String joyLikelihood)
joyLikelihood - joyLikelihood or null for nonepublic Float getLandmarkingConfidence()
null for nonepublic GoogleCloudVisionV1p1beta1FaceAnnotation setLandmarkingConfidence(Float landmarkingConfidence)
landmarkingConfidence - landmarkingConfidence or null for nonepublic List<GoogleCloudVisionV1p1beta1FaceAnnotationLandmark> getLandmarks()
null for nonepublic GoogleCloudVisionV1p1beta1FaceAnnotation setLandmarks(List<GoogleCloudVisionV1p1beta1FaceAnnotationLandmark> landmarks)
landmarks - landmarks or null for nonepublic Float getPanAngle()
null for nonepublic GoogleCloudVisionV1p1beta1FaceAnnotation setPanAngle(Float panAngle)
panAngle - panAngle or null for nonepublic Float getRollAngle()
null for nonepublic GoogleCloudVisionV1p1beta1FaceAnnotation setRollAngle(Float rollAngle)
rollAngle - rollAngle or null for nonepublic String getSorrowLikelihood()
null for nonepublic GoogleCloudVisionV1p1beta1FaceAnnotation setSorrowLikelihood(String sorrowLikelihood)
sorrowLikelihood - sorrowLikelihood or null for nonepublic String getSurpriseLikelihood()
null for nonepublic GoogleCloudVisionV1p1beta1FaceAnnotation setSurpriseLikelihood(String surpriseLikelihood)
surpriseLikelihood - surpriseLikelihood or null for nonepublic Float getTiltAngle()
null for nonepublic GoogleCloudVisionV1p1beta1FaceAnnotation setTiltAngle(Float tiltAngle)
tiltAngle - tiltAngle or null for nonepublic String getUnderExposedLikelihood()
null for nonepublic GoogleCloudVisionV1p1beta1FaceAnnotation setUnderExposedLikelihood(String underExposedLikelihood)
underExposedLikelihood - underExposedLikelihood or null for nonepublic GoogleCloudVisionV1p1beta1FaceAnnotation set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudVisionV1p1beta1FaceAnnotation clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.