public int getCriteriaCount() {
      if (criteriaBuilder_ == null) {
        return criteria_.size();
      } else {
        return criteriaBuilder_.getCount();
      }
    }
<pre>
Criteria applied to search results.
</pre>

<code>repeated .google.cloud.visionai.v1.Criteria criteria = 4;</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SearchAssetsRequest.java