public Builder mergeFrom(com.google.cloud.visionai.v1.AnnotationMatchingResult other) {
      if (other == com.google.cloud.visionai.v1.AnnotationMatchingResult.getDefaultInstance())
        return this;
      if (other.hasCriteria()) {
        mergeCriteria(other.getCriteria());
      }
      if (matchedAnnotationsBuilder_ == null) {
        if (!other.matchedAnnotations_.isEmpty()) {
          if (matchedAnnotations_.isEmpty()) {
            matchedAnnotations_ = other.matchedAnnotations_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureMatchedAnnotationsIsMutable();
            matchedAnnotations_.addAll(other.matchedAnnotations_);
          }
          onChanged();
        }
      } else {
        if (!other.matchedAnnotations_.isEmpty()) {
          if (matchedAnnotationsBuilder_.isEmpty()) {
            matchedAnnotationsBuilder_.dispose();
            matchedAnnotationsBuilder_ = null;
            matchedAnnotations_ = other.matchedAnnotations_;
            bitField0_ = (bitField0_ & ~0x00000002);
            matchedAnnotationsBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                    ? getMatchedAnnotationsFieldBuilder()
                    : null;
          } else {
            matchedAnnotationsBuilder_.addAllMessages(other.matchedAnnotations_);
          }
        }
      }
      if (other.hasStatus()) {
        mergeStatus(other.getStatus());
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
Stores the criteria-annotation matching results for each search result item.
</pre>

Protobuf type {@code google.cloud.visionai.v1.AnnotationMatchingResult}
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/AnnotationMatchingResult.java