public com.google.cloud.videointelligence.v1.FaceSegment getSegments(int index) {
      if (segmentsBuilder_ == null) {
        return segments_.get(index);
      } else {
        return segmentsBuilder_.getMessage(index);
      }
    }
<pre>
All video segments where a face was detected.
</pre>

<code>repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2;</code>
java-video-intelligence/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java