public Builder mergeImageQuery(com.google.cloud.visionai.v1.ImageQuery value) {
      if (imageQueryBuilder_ == null) {
        if (queryCase_ == 2
            && query_ != com.google.cloud.visionai.v1.ImageQuery.getDefaultInstance()) {
          query_ =
              com.google.cloud.visionai.v1.ImageQuery.newBuilder(
                      (com.google.cloud.visionai.v1.ImageQuery) query_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          query_ = value;
        }
        onChanged();
      } else {
        if (queryCase_ == 2) {
          imageQueryBuilder_.mergeFrom(value);
        } 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