public Builder setImageQuery(com.google.cloud.visionai.v1.ImageQuery value) {
      if (imageQueryBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        query_ = value;
        onChanged();
      } else {
        imageQueryBuilder_.setMessage(value);
      }
      queryCase_ = 2;
      return this;
    }
<pre>
An image-only query.
</pre>

<code>.google.cloud.visionai.v1.ImageQuery image_query = 2;</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SearchIndexEndpointRequest.java