public Builder setEndpoints(int index, com.google.cloud.visionai.v1.FacetValue value) {
        if (endpointsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEndpointsIsMutable();
          endpoints_.set(index, value);
          onChanged();
        } else {
          endpointsBuilder_.setMessage(index, value);
        }
        return this;
      }
<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