public int getAnnotationMatchingResultsCount() {
      if (annotationMatchingResultsBuilder_ == null) {
        return annotationMatchingResults_.size();
      } else {
        return annotationMatchingResultsBuilder_.getCount();
      }
    }
<pre>
Criteria or facet-selection based annotation matching results associated to
this search result item. Only contains results for criteria or
facet_selections with fetch_matched_annotations=true.
</pre>

<code>
repeated .google.cloud.visionai.v1.AnnotationMatchingResult annotation_matching_results = 4;
</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SearchResultItem.java