public int getEndpointsCount() {
        if (endpointsBuilder_ == null) {
          return endpoints_.size();
        } else {
          return endpointsBuilder_.getCount();
        }
      }
<pre>
Currently, only integer type is supported for this field.
</pre>

<code>repeated .google.cloud.visionai.v1.FacetValue endpoints = 1;</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/FacetProperty.java