public boolean hasTextQuery() {
    return queryCase_ == 3;
  }
<pre>
A text-only query.
</pre>

<code>string text_query = 3;</code>

@return Whether the textQuery field is set.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SearchIndexEndpointRequest.java