public int getPersonDetectionAnnotationsCount() {
      if (personDetectionAnnotationsBuilder_ == null) {
        return personDetectionAnnotations_.size();
      } else {
        return personDetectionAnnotationsBuilder_.getCount();
      }
    }
<pre>
Person detection annotations.
</pre>

<code>
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
</code>
java-video-intelligence/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java