public com.google.protobuf.ByteString getModelBytes() {
      java.lang.Object ref = model_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        model_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
<pre>
Required. The resource name of the Model that this is the deployment of.
Note that the Model may be in a different location than the DeployedModel's
Endpoint.

The resource name may contain version id or version alias to specify the
version.
 Example: `projects/{project}/locations/{location}/models/{model}&#64;2`
             or
           `projects/{project}/locations/{location}/models/{model}&#64;golden`
if no version is specified, the default version will be deployed.
</pre>

<code>
string model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
</code>

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