public Builder mergeCriteria(com.google.cloud.visionai.v1.Criteria value) {
      if (criteriaBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)
            && criteria_ != null
            && criteria_ != com.google.cloud.visionai.v1.Criteria.getDefaultInstance()) {
          getCriteriaBuilder().mergeFrom(value);
        } else {
          criteria_ = value;
        }
      } else {
        criteriaBuilder_.mergeFrom(value);
      }
      if (criteria_ != null) {
        bitField0_ |= 0x00000001;
        onChanged();
      }
      return this;
    }
<pre>
The criteria used for matching. It can be an input search criteria or a
criteria converted from a facet selection.
</pre>

<code>.google.cloud.visionai.v1.Criteria criteria = 1;</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/AnnotationMatchingResult.java