public java.lang.String getDeployedModelId() {
      java.lang.Object ref = deployedModelId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        deployedModelId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
<pre>
Required. The ID of the DeployedModel to be undeployed from the Endpoint.
</pre>

<code>string deployed_model_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>

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