@java.lang.Override
    public boolean hasSharedResources() {
      return predictionResourcesCase_ == 17;
    }
<pre>
The resource name of the shared DeploymentResourcePool to deploy on.
Format:
`projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
</pre>

<code>string shared_resources = 17 [(.google.api.resource_reference) = { ... }</code>

@return Whether the sharedResources field is set.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployedModel.java