private void buildPartialOneofs(com.google.cloud.vertexai.api.DeployedModel result) {
      result.predictionResourcesCase_ = predictionResourcesCase_;
      result.predictionResources_ = this.predictionResources_;
      if (predictionResourcesCase_ == 7 && dedicatedResourcesBuilder_ != null) {
        result.predictionResources_ = dedicatedResourcesBuilder_.build();
      }
      if (predictionResourcesCase_ == 8 && automaticResourcesBuilder_ != null) {
        result.predictionResources_ = automaticResourcesBuilder_.build();
      }
    }
<pre>
A deployment of a Model. Endpoints contain one or more DeployedModels.
</pre>

Protobuf type {@code google.cloud.vertexai.v1.DeployedModel}
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployedModel.java