public int getFacetSelectionsCount() {
      if (facetSelectionsBuilder_ == null) {
        return facetSelections_.size();
      } else {
        return facetSelectionsBuilder_.getCount();
      }
    }
<pre>
Stores most recent facet selection state. Only facet groups with user's
selection will be presented here. Selection state is either selected or
unselected. Only selected facet buckets will be used as search criteria.
</pre>

<code>repeated .google.cloud.visionai.v1.FacetGroup facet_selections = 6;</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SearchAssetsRequest.java