@java.lang.Override
    public com.google.cloud.vertexai.api.AutomaticResources getAutomaticResources() {
      if (automaticResourcesBuilder_ == null) {
        if (predictionResourcesCase_ == 8) {
          return (com.google.cloud.vertexai.api.AutomaticResources) predictionResources_;
        }
        return com.google.cloud.vertexai.api.AutomaticResources.getDefaultInstance();
      } else {
        if (predictionResourcesCase_ == 8) {
          return automaticResourcesBuilder_.getMessage();
        }
        return com.google.cloud.vertexai.api.AutomaticResources.getDefaultInstance();
      }
    }
<pre>
A description of resources that to large degree are decided by Vertex
AI, and require only a modest additional configuration.
</pre>

<code>.google.cloud.vertexai.v1.AutomaticResources automatic_resources = 8;</code>

@return The automaticResources.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployedModel.java