private void buildPartialOneofs(
        com.google.cloud.visionai.v1.SearchIndexEndpointRequest result) {
      result.queryCase_ = queryCase_;
      result.query_ = this.query_;
      if (queryCase_ == 2 && imageQueryBuilder_ != null) {
        result.query_ = imageQueryBuilder_.build();
      }
    }
<pre>
Request message for SearchIndexEndpoint.
</pre>

Protobuf type {@code google.cloud.visionai.v1.SearchIndexEndpointRequest}
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SearchIndexEndpointRequest.java