@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(facetId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, facetId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_);
    }
    for (int i = 0; i < buckets_.size(); i++) {
      output.writeMessage(3, buckets_.get(i));
    }
    if (bucketType_
        != com.google.cloud.visionai.v1.FacetBucketType.FACET_BUCKET_TYPE_UNSPECIFIED.getNumber()) {
      output.writeEnum(4, bucketType_);
    }
    if (fetchMatchedAnnotations_ != false) {
      output.writeBool(5, fetchMatchedAnnotations_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
If true, return query matched annotations for this facet group's selection.
This option is only applicable for facets based on partition level
annotations. It supports the following facet values:
 - INTEGER
 - STRING (DataSchema.SearchStrategy.EXACT_SEARCH only)
</pre>

<code>bool fetch_matched_annotations = 5;</code>

@return The fetchMatchedAnnotations.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/FacetGroup.java