public Builder setSegments(
        int index, com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder builderForValue) {
      if (segmentsBuilder_ == null) {
        ensureSegmentsIsMutable();
        segments_.set(index, builderForValue.build());
        onChanged();
      } else {
        segmentsBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
<pre>
All video segments where a face was detected.
</pre>

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