public int getSegmentLabelAnnotationsCount() {
      if (segmentLabelAnnotationsBuilder_ == null) {
        return segmentLabelAnnotations_.size();
      } else {
        return segmentLabelAnnotationsBuilder_.getCount();
      }
    }
<pre>
Label annotations on video level or user specified segment level.
There is exactly one element for each unique label.
</pre>

<code>
repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2;
</code>
java-video-intelligence/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResults.java