public static final class FaceAnnotation.Builder extends GeneratedMessageV3.Builder<FaceAnnotation.Builder> implements FaceAnnotationOrBuilder
A face annotation object contains the results of face detection.Protobuf type
google.cloud.vision.v1p2beta1.FaceAnnotation
Modifier and Type | Method and Description |
---|---|
FaceAnnotation.Builder |
addAllLandmarks(java.lang.Iterable<? extends FaceAnnotation.Landmark> values)
Detected face landmarks.
|
FaceAnnotation.Builder |
addLandmarks(FaceAnnotation.Landmark.Builder builderForValue)
Detected face landmarks.
|
FaceAnnotation.Builder |
addLandmarks(FaceAnnotation.Landmark value)
Detected face landmarks.
|
FaceAnnotation.Builder |
addLandmarks(int index,
FaceAnnotation.Landmark.Builder builderForValue)
Detected face landmarks.
|
FaceAnnotation.Builder |
addLandmarks(int index,
FaceAnnotation.Landmark value)
Detected face landmarks.
|
FaceAnnotation.Landmark.Builder |
addLandmarksBuilder()
Detected face landmarks.
|
FaceAnnotation.Landmark.Builder |
addLandmarksBuilder(int index)
Detected face landmarks.
|
FaceAnnotation.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
FaceAnnotation |
build() |
FaceAnnotation |
buildPartial() |
FaceAnnotation.Builder |
clear() |
FaceAnnotation.Builder |
clearAngerLikelihood()
Anger likelihood.
|
FaceAnnotation.Builder |
clearBlurredLikelihood()
Blurred likelihood.
|
FaceAnnotation.Builder |
clearBoundingPoly()
The bounding polygon around the face.
|
FaceAnnotation.Builder |
clearDetectionConfidence()
Detection confidence.
|
FaceAnnotation.Builder |
clearFdBoundingPoly()
The `fd_bounding_poly` bounding polygon is tighter than the
`boundingPoly`, and encloses only the skin part of the face.
|
FaceAnnotation.Builder |
clearField(Descriptors.FieldDescriptor field) |
FaceAnnotation.Builder |
clearHeadwearLikelihood()
Headwear likelihood.
|
FaceAnnotation.Builder |
clearJoyLikelihood()
Joy likelihood.
|
FaceAnnotation.Builder |
clearLandmarkingConfidence()
Face landmarking confidence.
|
FaceAnnotation.Builder |
clearLandmarks()
Detected face landmarks.
|
FaceAnnotation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
FaceAnnotation.Builder |
clearPanAngle()
Yaw angle, which indicates the leftward/rightward angle that the face is
pointing relative to the vertical plane perpendicular to the image.
|
FaceAnnotation.Builder |
clearRollAngle()
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.
|
FaceAnnotation.Builder |
clearSorrowLikelihood()
Sorrow likelihood.
|
FaceAnnotation.Builder |
clearSurpriseLikelihood()
Surprise likelihood.
|
FaceAnnotation.Builder |
clearTiltAngle()
Pitch angle, which indicates the upwards/downwards angle that the face is
pointing relative to the image's horizontal plane.
|
FaceAnnotation.Builder |
clearUnderExposedLikelihood()
Under-exposed likelihood.
|
FaceAnnotation.Builder |
clone() |
Likelihood |
getAngerLikelihood()
Anger likelihood.
|
int |
getAngerLikelihoodValue()
Anger likelihood.
|
Likelihood |
getBlurredLikelihood()
Blurred likelihood.
|
int |
getBlurredLikelihoodValue()
Blurred likelihood.
|
BoundingPoly |
getBoundingPoly()
The bounding polygon around the face.
|
BoundingPoly.Builder |
getBoundingPolyBuilder()
The bounding polygon around the face.
|
BoundingPolyOrBuilder |
getBoundingPolyOrBuilder()
The bounding polygon around the face.
|
FaceAnnotation |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
float |
getDetectionConfidence()
Detection confidence.
|
BoundingPoly |
getFdBoundingPoly()
The `fd_bounding_poly` bounding polygon is tighter than the
`boundingPoly`, and encloses only the skin part of the face.
|
BoundingPoly.Builder |
getFdBoundingPolyBuilder()
The `fd_bounding_poly` bounding polygon is tighter than the
`boundingPoly`, and encloses only the skin part of the face.
|
BoundingPolyOrBuilder |
getFdBoundingPolyOrBuilder()
The `fd_bounding_poly` bounding polygon is tighter than the
`boundingPoly`, and encloses only the skin part of the face.
|
Likelihood |
getHeadwearLikelihood()
Headwear likelihood.
|
int |
getHeadwearLikelihoodValue()
Headwear likelihood.
|
Likelihood |
getJoyLikelihood()
Joy likelihood.
|
int |
getJoyLikelihoodValue()
Joy likelihood.
|
float |
getLandmarkingConfidence()
Face landmarking confidence.
|
FaceAnnotation.Landmark |
getLandmarks(int index)
Detected face landmarks.
|
FaceAnnotation.Landmark.Builder |
getLandmarksBuilder(int index)
Detected face landmarks.
|
java.util.List<FaceAnnotation.Landmark.Builder> |
getLandmarksBuilderList()
Detected face landmarks.
|
int |
getLandmarksCount()
Detected face landmarks.
|
java.util.List<FaceAnnotation.Landmark> |
getLandmarksList()
Detected face landmarks.
|
FaceAnnotation.LandmarkOrBuilder |
getLandmarksOrBuilder(int index)
Detected face landmarks.
|
java.util.List<? extends FaceAnnotation.LandmarkOrBuilder> |
getLandmarksOrBuilderList()
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.
|
Likelihood |
getSorrowLikelihood()
Sorrow likelihood.
|
int |
getSorrowLikelihoodValue()
Sorrow likelihood.
|
Likelihood |
getSurpriseLikelihood()
Surprise likelihood.
|
int |
getSurpriseLikelihoodValue()
Surprise likelihood.
|
float |
getTiltAngle()
Pitch angle, which indicates the upwards/downwards angle that the face is
pointing relative to the image's horizontal plane.
|
Likelihood |
getUnderExposedLikelihood()
Under-exposed likelihood.
|
int |
getUnderExposedLikelihoodValue()
Under-exposed likelihood.
|
boolean |
hasBoundingPoly()
The bounding polygon around the face.
|
boolean |
hasFdBoundingPoly()
The `fd_bounding_poly` bounding polygon is tighter than the
`boundingPoly`, and encloses only the skin part of the face.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FaceAnnotation.Builder |
mergeBoundingPoly(BoundingPoly value)
The bounding polygon around the face.
|
FaceAnnotation.Builder |
mergeFdBoundingPoly(BoundingPoly value)
The `fd_bounding_poly` bounding polygon is tighter than the
`boundingPoly`, and encloses only the skin part of the face.
|
FaceAnnotation.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
FaceAnnotation.Builder |
mergeFrom(FaceAnnotation other) |
FaceAnnotation.Builder |
mergeFrom(Message other) |
FaceAnnotation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
FaceAnnotation.Builder |
removeLandmarks(int index)
Detected face landmarks.
|
FaceAnnotation.Builder |
setAngerLikelihood(Likelihood value)
Anger likelihood.
|
FaceAnnotation.Builder |
setAngerLikelihoodValue(int value)
Anger likelihood.
|
FaceAnnotation.Builder |
setBlurredLikelihood(Likelihood value)
Blurred likelihood.
|
FaceAnnotation.Builder |
setBlurredLikelihoodValue(int value)
Blurred likelihood.
|
FaceAnnotation.Builder |
setBoundingPoly(BoundingPoly.Builder builderForValue)
The bounding polygon around the face.
|
FaceAnnotation.Builder |
setBoundingPoly(BoundingPoly value)
The bounding polygon around the face.
|
FaceAnnotation.Builder |
setDetectionConfidence(float value)
Detection confidence.
|
FaceAnnotation.Builder |
setFdBoundingPoly(BoundingPoly.Builder builderForValue)
The `fd_bounding_poly` bounding polygon is tighter than the
`boundingPoly`, and encloses only the skin part of the face.
|
FaceAnnotation.Builder |
setFdBoundingPoly(BoundingPoly value)
The `fd_bounding_poly` bounding polygon is tighter than the
`boundingPoly`, and encloses only the skin part of the face.
|
FaceAnnotation.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
FaceAnnotation.Builder |
setHeadwearLikelihood(Likelihood value)
Headwear likelihood.
|
FaceAnnotation.Builder |
setHeadwearLikelihoodValue(int value)
Headwear likelihood.
|
FaceAnnotation.Builder |
setJoyLikelihood(Likelihood value)
Joy likelihood.
|
FaceAnnotation.Builder |
setJoyLikelihoodValue(int value)
Joy likelihood.
|
FaceAnnotation.Builder |
setLandmarkingConfidence(float value)
Face landmarking confidence.
|
FaceAnnotation.Builder |
setLandmarks(int index,
FaceAnnotation.Landmark.Builder builderForValue)
Detected face landmarks.
|
FaceAnnotation.Builder |
setLandmarks(int index,
FaceAnnotation.Landmark value)
Detected face landmarks.
|
FaceAnnotation.Builder |
setPanAngle(float value)
Yaw angle, which indicates the leftward/rightward angle that the face is
pointing relative to the vertical plane perpendicular to the image.
|
FaceAnnotation.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
FaceAnnotation.Builder |
setRollAngle(float value)
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.
|
FaceAnnotation.Builder |
setSorrowLikelihood(Likelihood value)
Sorrow likelihood.
|
FaceAnnotation.Builder |
setSorrowLikelihoodValue(int value)
Sorrow likelihood.
|
FaceAnnotation.Builder |
setSurpriseLikelihood(Likelihood value)
Surprise likelihood.
|
FaceAnnotation.Builder |
setSurpriseLikelihoodValue(int value)
Surprise likelihood.
|
FaceAnnotation.Builder |
setTiltAngle(float value)
Pitch angle, which indicates the upwards/downwards angle that the face is
pointing relative to the image's horizontal plane.
|
FaceAnnotation.Builder |
setUnderExposedLikelihood(Likelihood value)
Under-exposed likelihood.
|
FaceAnnotation.Builder |
setUnderExposedLikelihoodValue(int value)
Under-exposed likelihood.
|
FaceAnnotation.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public FaceAnnotation.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public FaceAnnotation getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public FaceAnnotation build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public FaceAnnotation buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public FaceAnnotation.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public FaceAnnotation.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public FaceAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public FaceAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public FaceAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public FaceAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public FaceAnnotation.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<FaceAnnotation.Builder>
public FaceAnnotation.Builder mergeFrom(FaceAnnotation other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public FaceAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<FaceAnnotation.Builder>
java.io.IOException
public boolean hasBoundingPoly()
The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale, as returned in `ImageParams`. The bounding box is computed to "frame" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated.
.google.cloud.vision.v1p2beta1.BoundingPoly bounding_poly = 1;
hasBoundingPoly
in interface FaceAnnotationOrBuilder
public BoundingPoly getBoundingPoly()
The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale, as returned in `ImageParams`. The bounding box is computed to "frame" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated.
.google.cloud.vision.v1p2beta1.BoundingPoly bounding_poly = 1;
getBoundingPoly
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setBoundingPoly(BoundingPoly value)
The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale, as returned in `ImageParams`. The bounding box is computed to "frame" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated.
.google.cloud.vision.v1p2beta1.BoundingPoly bounding_poly = 1;
public FaceAnnotation.Builder setBoundingPoly(BoundingPoly.Builder builderForValue)
The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale, as returned in `ImageParams`. The bounding box is computed to "frame" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated.
.google.cloud.vision.v1p2beta1.BoundingPoly bounding_poly = 1;
public FaceAnnotation.Builder mergeBoundingPoly(BoundingPoly value)
The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale, as returned in `ImageParams`. The bounding box is computed to "frame" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated.
.google.cloud.vision.v1p2beta1.BoundingPoly bounding_poly = 1;
public FaceAnnotation.Builder clearBoundingPoly()
The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale, as returned in `ImageParams`. The bounding box is computed to "frame" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated.
.google.cloud.vision.v1p2beta1.BoundingPoly bounding_poly = 1;
public BoundingPoly.Builder getBoundingPolyBuilder()
The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale, as returned in `ImageParams`. The bounding box is computed to "frame" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated.
.google.cloud.vision.v1p2beta1.BoundingPoly bounding_poly = 1;
public BoundingPolyOrBuilder getBoundingPolyOrBuilder()
The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale, as returned in `ImageParams`. The bounding box is computed to "frame" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated.
.google.cloud.vision.v1p2beta1.BoundingPoly bounding_poly = 1;
getBoundingPolyOrBuilder
in interface FaceAnnotationOrBuilder
public boolean hasFdBoundingPoly()
The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the "amount of skin" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the <code>fd</code> (face detection) prefix.
.google.cloud.vision.v1p2beta1.BoundingPoly fd_bounding_poly = 2;
hasFdBoundingPoly
in interface FaceAnnotationOrBuilder
public BoundingPoly getFdBoundingPoly()
The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the "amount of skin" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the <code>fd</code> (face detection) prefix.
.google.cloud.vision.v1p2beta1.BoundingPoly fd_bounding_poly = 2;
getFdBoundingPoly
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setFdBoundingPoly(BoundingPoly value)
The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the "amount of skin" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the <code>fd</code> (face detection) prefix.
.google.cloud.vision.v1p2beta1.BoundingPoly fd_bounding_poly = 2;
public FaceAnnotation.Builder setFdBoundingPoly(BoundingPoly.Builder builderForValue)
The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the "amount of skin" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the <code>fd</code> (face detection) prefix.
.google.cloud.vision.v1p2beta1.BoundingPoly fd_bounding_poly = 2;
public FaceAnnotation.Builder mergeFdBoundingPoly(BoundingPoly value)
The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the "amount of skin" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the <code>fd</code> (face detection) prefix.
.google.cloud.vision.v1p2beta1.BoundingPoly fd_bounding_poly = 2;
public FaceAnnotation.Builder clearFdBoundingPoly()
The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the "amount of skin" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the <code>fd</code> (face detection) prefix.
.google.cloud.vision.v1p2beta1.BoundingPoly fd_bounding_poly = 2;
public BoundingPoly.Builder getFdBoundingPolyBuilder()
The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the "amount of skin" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the <code>fd</code> (face detection) prefix.
.google.cloud.vision.v1p2beta1.BoundingPoly fd_bounding_poly = 2;
public BoundingPolyOrBuilder getFdBoundingPolyOrBuilder()
The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the "amount of skin" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the <code>fd</code> (face detection) prefix.
.google.cloud.vision.v1p2beta1.BoundingPoly fd_bounding_poly = 2;
getFdBoundingPolyOrBuilder
in interface FaceAnnotationOrBuilder
public java.util.List<FaceAnnotation.Landmark> getLandmarksList()
Detected face landmarks.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark landmarks = 3;
getLandmarksList
in interface FaceAnnotationOrBuilder
public int getLandmarksCount()
Detected face landmarks.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark landmarks = 3;
getLandmarksCount
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Landmark getLandmarks(int index)
Detected face landmarks.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark landmarks = 3;
getLandmarks
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setLandmarks(int index, FaceAnnotation.Landmark value)
Detected face landmarks.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark landmarks = 3;
public FaceAnnotation.Builder setLandmarks(int index, FaceAnnotation.Landmark.Builder builderForValue)
Detected face landmarks.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark landmarks = 3;
public FaceAnnotation.Builder addLandmarks(FaceAnnotation.Landmark value)
Detected face landmarks.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark landmarks = 3;
public FaceAnnotation.Builder addLandmarks(int index, FaceAnnotation.Landmark value)
Detected face landmarks.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark landmarks = 3;
public FaceAnnotation.Builder addLandmarks(FaceAnnotation.Landmark.Builder builderForValue)
Detected face landmarks.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark landmarks = 3;
public FaceAnnotation.Builder addLandmarks(int index, FaceAnnotation.Landmark.Builder builderForValue)
Detected face landmarks.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark landmarks = 3;
public FaceAnnotation.Builder addAllLandmarks(java.lang.Iterable<? extends FaceAnnotation.Landmark> values)
Detected face landmarks.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark landmarks = 3;
public FaceAnnotation.Builder clearLandmarks()
Detected face landmarks.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark landmarks = 3;
public FaceAnnotation.Builder removeLandmarks(int index)
Detected face landmarks.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark landmarks = 3;
public FaceAnnotation.Landmark.Builder getLandmarksBuilder(int index)
Detected face landmarks.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark landmarks = 3;
public FaceAnnotation.LandmarkOrBuilder getLandmarksOrBuilder(int index)
Detected face landmarks.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark landmarks = 3;
getLandmarksOrBuilder
in interface FaceAnnotationOrBuilder
public java.util.List<? extends FaceAnnotation.LandmarkOrBuilder> getLandmarksOrBuilderList()
Detected face landmarks.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark landmarks = 3;
getLandmarksOrBuilderList
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Landmark.Builder addLandmarksBuilder()
Detected face landmarks.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark landmarks = 3;
public FaceAnnotation.Landmark.Builder addLandmarksBuilder(int index)
Detected face landmarks.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark landmarks = 3;
public java.util.List<FaceAnnotation.Landmark.Builder> getLandmarksBuilderList()
Detected face landmarks.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark landmarks = 3;
public 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. Range [-180,180].
float roll_angle = 4;
getRollAngle
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setRollAngle(float value)
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. Range [-180,180].
float roll_angle = 4;
public FaceAnnotation.Builder clearRollAngle()
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. Range [-180,180].
float roll_angle = 4;
public float getPanAngle()
Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].
float pan_angle = 5;
getPanAngle
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setPanAngle(float value)
Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].
float pan_angle = 5;
public FaceAnnotation.Builder clearPanAngle()
Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].
float pan_angle = 5;
public float getTiltAngle()
Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].
float tilt_angle = 6;
getTiltAngle
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setTiltAngle(float value)
Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].
float tilt_angle = 6;
public FaceAnnotation.Builder clearTiltAngle()
Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].
float tilt_angle = 6;
public float getDetectionConfidence()
Detection confidence. Range [0, 1].
float detection_confidence = 7;
getDetectionConfidence
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setDetectionConfidence(float value)
Detection confidence. Range [0, 1].
float detection_confidence = 7;
public FaceAnnotation.Builder clearDetectionConfidence()
Detection confidence. Range [0, 1].
float detection_confidence = 7;
public float getLandmarkingConfidence()
Face landmarking confidence. Range [0, 1].
float landmarking_confidence = 8;
getLandmarkingConfidence
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setLandmarkingConfidence(float value)
Face landmarking confidence. Range [0, 1].
float landmarking_confidence = 8;
public FaceAnnotation.Builder clearLandmarkingConfidence()
Face landmarking confidence. Range [0, 1].
float landmarking_confidence = 8;
public int getJoyLikelihoodValue()
Joy likelihood.
.google.cloud.vision.v1p2beta1.Likelihood joy_likelihood = 9;
getJoyLikelihoodValue
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setJoyLikelihoodValue(int value)
Joy likelihood.
.google.cloud.vision.v1p2beta1.Likelihood joy_likelihood = 9;
public Likelihood getJoyLikelihood()
Joy likelihood.
.google.cloud.vision.v1p2beta1.Likelihood joy_likelihood = 9;
getJoyLikelihood
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setJoyLikelihood(Likelihood value)
Joy likelihood.
.google.cloud.vision.v1p2beta1.Likelihood joy_likelihood = 9;
public FaceAnnotation.Builder clearJoyLikelihood()
Joy likelihood.
.google.cloud.vision.v1p2beta1.Likelihood joy_likelihood = 9;
public int getSorrowLikelihoodValue()
Sorrow likelihood.
.google.cloud.vision.v1p2beta1.Likelihood sorrow_likelihood = 10;
getSorrowLikelihoodValue
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setSorrowLikelihoodValue(int value)
Sorrow likelihood.
.google.cloud.vision.v1p2beta1.Likelihood sorrow_likelihood = 10;
public Likelihood getSorrowLikelihood()
Sorrow likelihood.
.google.cloud.vision.v1p2beta1.Likelihood sorrow_likelihood = 10;
getSorrowLikelihood
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setSorrowLikelihood(Likelihood value)
Sorrow likelihood.
.google.cloud.vision.v1p2beta1.Likelihood sorrow_likelihood = 10;
public FaceAnnotation.Builder clearSorrowLikelihood()
Sorrow likelihood.
.google.cloud.vision.v1p2beta1.Likelihood sorrow_likelihood = 10;
public int getAngerLikelihoodValue()
Anger likelihood.
.google.cloud.vision.v1p2beta1.Likelihood anger_likelihood = 11;
getAngerLikelihoodValue
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setAngerLikelihoodValue(int value)
Anger likelihood.
.google.cloud.vision.v1p2beta1.Likelihood anger_likelihood = 11;
public Likelihood getAngerLikelihood()
Anger likelihood.
.google.cloud.vision.v1p2beta1.Likelihood anger_likelihood = 11;
getAngerLikelihood
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setAngerLikelihood(Likelihood value)
Anger likelihood.
.google.cloud.vision.v1p2beta1.Likelihood anger_likelihood = 11;
public FaceAnnotation.Builder clearAngerLikelihood()
Anger likelihood.
.google.cloud.vision.v1p2beta1.Likelihood anger_likelihood = 11;
public int getSurpriseLikelihoodValue()
Surprise likelihood.
.google.cloud.vision.v1p2beta1.Likelihood surprise_likelihood = 12;
getSurpriseLikelihoodValue
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setSurpriseLikelihoodValue(int value)
Surprise likelihood.
.google.cloud.vision.v1p2beta1.Likelihood surprise_likelihood = 12;
public Likelihood getSurpriseLikelihood()
Surprise likelihood.
.google.cloud.vision.v1p2beta1.Likelihood surprise_likelihood = 12;
getSurpriseLikelihood
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setSurpriseLikelihood(Likelihood value)
Surprise likelihood.
.google.cloud.vision.v1p2beta1.Likelihood surprise_likelihood = 12;
public FaceAnnotation.Builder clearSurpriseLikelihood()
Surprise likelihood.
.google.cloud.vision.v1p2beta1.Likelihood surprise_likelihood = 12;
public int getUnderExposedLikelihoodValue()
Under-exposed likelihood.
.google.cloud.vision.v1p2beta1.Likelihood under_exposed_likelihood = 13;
getUnderExposedLikelihoodValue
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setUnderExposedLikelihoodValue(int value)
Under-exposed likelihood.
.google.cloud.vision.v1p2beta1.Likelihood under_exposed_likelihood = 13;
public Likelihood getUnderExposedLikelihood()
Under-exposed likelihood.
.google.cloud.vision.v1p2beta1.Likelihood under_exposed_likelihood = 13;
getUnderExposedLikelihood
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setUnderExposedLikelihood(Likelihood value)
Under-exposed likelihood.
.google.cloud.vision.v1p2beta1.Likelihood under_exposed_likelihood = 13;
public FaceAnnotation.Builder clearUnderExposedLikelihood()
Under-exposed likelihood.
.google.cloud.vision.v1p2beta1.Likelihood under_exposed_likelihood = 13;
public int getBlurredLikelihoodValue()
Blurred likelihood.
.google.cloud.vision.v1p2beta1.Likelihood blurred_likelihood = 14;
getBlurredLikelihoodValue
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setBlurredLikelihoodValue(int value)
Blurred likelihood.
.google.cloud.vision.v1p2beta1.Likelihood blurred_likelihood = 14;
public Likelihood getBlurredLikelihood()
Blurred likelihood.
.google.cloud.vision.v1p2beta1.Likelihood blurred_likelihood = 14;
getBlurredLikelihood
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setBlurredLikelihood(Likelihood value)
Blurred likelihood.
.google.cloud.vision.v1p2beta1.Likelihood blurred_likelihood = 14;
public FaceAnnotation.Builder clearBlurredLikelihood()
Blurred likelihood.
.google.cloud.vision.v1p2beta1.Likelihood blurred_likelihood = 14;
public int getHeadwearLikelihoodValue()
Headwear likelihood.
.google.cloud.vision.v1p2beta1.Likelihood headwear_likelihood = 15;
getHeadwearLikelihoodValue
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setHeadwearLikelihoodValue(int value)
Headwear likelihood.
.google.cloud.vision.v1p2beta1.Likelihood headwear_likelihood = 15;
public Likelihood getHeadwearLikelihood()
Headwear likelihood.
.google.cloud.vision.v1p2beta1.Likelihood headwear_likelihood = 15;
getHeadwearLikelihood
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setHeadwearLikelihood(Likelihood value)
Headwear likelihood.
.google.cloud.vision.v1p2beta1.Likelihood headwear_likelihood = 15;
public FaceAnnotation.Builder clearHeadwearLikelihood()
Headwear likelihood.
.google.cloud.vision.v1p2beta1.Likelihood headwear_likelihood = 15;
public final FaceAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public final FaceAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>