public final OperationFuture<DeployModelResponse, DeployModelOperationMetadata> deployModelAsync(
      String endpoint, DeployedModel deployedModel, Map<String, Integer> trafficSplit) {
    DeployModelRequest request =
        DeployModelRequest.newBuilder()
            .setEndpoint(endpoint)
            .setDeployedModel(deployedModel)
            .putAllTrafficSplit(trafficSplit)
            .build();
    return deployModelAsync(request);
  }
Deploys a Model into this Endpoint, creating a DeployedModel within it.

<p>Sample code:

<pre>{@code
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
  String endpoint =
      EndpointName.ofProjectLocationEndpointName("[PROJECT]", "[LOCATION]", "[ENDPOINT]")
          .toString();
  DeployedModel deployedModel = DeployedModel.newBuilder().build();
  Map<String, Integer> trafficSplit = new HashMap<>();
  DeployModelResponse response =
      endpointServiceClient.deployModelAsync(endpoint, deployedModel, trafficSplit).get();
}
}</pre>

@param endpoint Required. The name of the Endpoint resource into which to deploy a Model.
    Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
@param deployedModel Required. The DeployedModel to be created within the Endpoint. Note that
    [Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] must be updated
    for the DeployedModel to start receiving traffic, either as part of this call, or via
    [EndpointService.UpdateEndpoint][google.cloud.aiplatform.v1.EndpointService.UpdateEndpoint].
@param trafficSplit A map from a DeployedModel's ID to the percentage of this Endpoint's
    traffic that should be forwarded to that DeployedModel.
    <p>If this field is non-empty, then the Endpoint's
    [traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] will be overwritten with
    it. To refer to the ID of the just being deployed Model, a "0" should be used, and the
    actual ID of the new DeployedModel will be filled in its place by this method. The traffic
    percentage values must add up to 100.
    <p>If this field is empty, then the Endpoint's
    [traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] is not updated.
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/EndpointServiceClient.java