@java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(facetId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, facetId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
    }
    for (int i = 0; i < buckets_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, buckets_.get(i));
    }
    if (bucketType_
        != com.google.cloud.visionai.v1.FacetBucketType.FACET_BUCKET_TYPE_UNSPECIFIED.getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, bucketType_);
    }
    if (fetchMatchedAnnotations_ != false) {
      size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, fetchMatchedAnnotations_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<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