/** * * * <pre> * Face annotations. There is exactly one element for each unique face. * </pre> * * <code>repeated .google.cloud.videointelligence.v1beta1.FaceAnnotation face_annotations = 3; * </code> */ public Builder addFaceAnnotations( com.google.cloud.videointelligence.v1beta1.FaceAnnotation.Builder builderForValue) { if (faceAnnotationsBuilder_ == null) { ensureFaceAnnotationsIsMutable(); faceAnnotations_.add(builderForValue.build()); onChanged(); } else { faceAnnotationsBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * Face annotations. There is exactly one element for each unique face. * </pre> * * <code>repeated .google.cloud.videointelligence.v1beta1.FaceAnnotation face_annotations = 3; * </code> */ public Builder addFaceAnnotations( int index, com.google.cloud.videointelligence.v1beta1.FaceAnnotation.Builder builderForValue) { if (faceAnnotationsBuilder_ == null) { ensureFaceAnnotationsIsMutable(); faceAnnotations_.add(index, builderForValue.build()); onChanged(); } else { faceAnnotationsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * Face annotations. There is exactly one element for each unique face. * </pre> * * <code>repeated .google.cloud.videointelligence.v1beta1.FaceAnnotation face_annotations = 3; * </code> */ public Builder setFaceAnnotations( int index, com.google.cloud.videointelligence.v1beta1.FaceAnnotation.Builder builderForValue) { if (faceAnnotationsBuilder_ == null) { ensureFaceAnnotationsIsMutable(); faceAnnotations_.set(index, builderForValue.build()); onChanged(); } else { faceAnnotationsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**