code: @BetaApi(
        "The surface for long-running operations is not stable yet and may change in the future.")
    public final OperationFuture<Empty, WorkflowMetadata> instantiateInlineWorkflowTemplateAsync(
        InstantiateInlineWorkflowTemplateRequest request) {
      return instantiateInlineWorkflowTemplateOperationCallable().futureCall(request);
    }
docs: Instantiates a template and begins execution.
  
  <p>This method is equivalent to executing the sequence
  [CreateWorkflowTemplate][google.cloud.dataproc.v1beta2.WorkflowTemplateService.CreateWorkflowTemplate],
  [InstantiateWorkflowTemplate][google.cloud.dataproc.v1beta2.WorkflowTemplateService.InstantiateWorkflowTemplate],
  [DeleteWorkflowTemplate][google.cloud.dataproc.v1beta2.WorkflowTemplateService.DeleteWorkflowTemplate].
  
  <p>The returned Operation can be used to track execution of workflow by polling
  [operations.get][google.longrunning.Operations.GetOperation]. The Operation will complete when
  entire workflow is finished.
  
  <p>The running workflow can be aborted via
  [operations.cancel][google.longrunning.Operations.CancelOperation]. This will cause any
  inflight jobs to be cancelled and workflow-owned clusters to be deleted.
  
  <p>The [Operation.metadata][google.longrunning.Operation.metadata] will be
  [WorkflowMetadata][google.cloud.dataproc.v1beta2.WorkflowMetadata].
  
  <p>On successful completion, [Operation.response][google.longrunning.Operation.response] will
  be [Empty][google.protobuf.Empty].
  
  <p>Sample code:
  
  <pre><code>
  try (WorkflowTemplateServiceClient workflowTemplateServiceClient = WorkflowTemplateServiceClient.create()) {
  String formattedParent = RegionName.format("[PROJECT]", "[REGION]");
  WorkflowTemplate template = WorkflowTemplate.newBuilder().build();
  InstantiateInlineWorkflowTemplateRequest request = InstantiateInlineWorkflowTemplateRequest.newBuilder()
  .setParent(formattedParent)
  .setTemplate(template)
  .build();
  workflowTemplateServiceClient.instantiateInlineWorkflowTemplateAsync(request).get();
  }
  </code></pre>
  
  @param request The request object containing all of the parameters for the API call.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails