public boolean hasVertexModel() {
    return artifactPathCase_ == 2;
  }
<pre>
The resource name original model hosted in the vertex AI platform.
</pre>

<code>string vertex_model = 2;</code>

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