Class FaceAnnotation.Builder (2.1.4)

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.v1p3beta1.FaceAnnotation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllLandmarks(Iterable<? extends FaceAnnotation.Landmark> values)

public FaceAnnotation.Builder addAllLandmarks(Iterable<? extends FaceAnnotation.Landmark> values)

Detected face landmarks.

repeated .google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark landmarks = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark>
Returns
TypeDescription
FaceAnnotation.Builder

addLandmarks(FaceAnnotation.Landmark value)

public FaceAnnotation.Builder addLandmarks(FaceAnnotation.Landmark value)

Detected face landmarks.

repeated .google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark landmarks = 3;

Parameter
NameDescription
valueFaceAnnotation.Landmark
Returns
TypeDescription
FaceAnnotation.Builder

addLandmarks(FaceAnnotation.Landmark.Builder builderForValue)

public FaceAnnotation.Builder addLandmarks(FaceAnnotation.Landmark.Builder builderForValue)

Detected face landmarks.

repeated .google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark landmarks = 3;

Parameter
NameDescription
builderForValueFaceAnnotation.Landmark.Builder
Returns
TypeDescription
FaceAnnotation.Builder

addLandmarks(int index, FaceAnnotation.Landmark value)

public FaceAnnotation.Builder addLandmarks(int index, FaceAnnotation.Landmark value)

Detected face landmarks.

repeated .google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark landmarks = 3;

Parameters
NameDescription
indexint
valueFaceAnnotation.Landmark
Returns
TypeDescription
FaceAnnotation.Builder

addLandmarks(int index, FaceAnnotation.Landmark.Builder builderForValue)

public FaceAnnotation.Builder addLandmarks(int index, FaceAnnotation.Landmark.Builder builderForValue)

Detected face landmarks.

repeated .google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark landmarks = 3;

Parameters
NameDescription
index