code: public final WorkflowTemplate getWorkflowTemplate(String name) {
  
      GetWorkflowTemplateRequest request =
          GetWorkflowTemplateRequest.newBuilder().setName(name).build();
      return getWorkflowTemplate(request);
    }
docs: Retrieves the latest workflow template.
  
  <p>Can retrieve previously instantiated template by specifying optional version parameter.
  
  <p>Sample code:
  
  <pre><code>
  try (WorkflowTemplateServiceClient workflowTemplateServiceClient = WorkflowTemplateServiceClient.create()) {
  WorkflowTemplateName name = WorkflowTemplateName.of("[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]");
  WorkflowTemplate response = workflowTemplateServiceClient.getWorkflowTemplate(name.toString());
  }
  </code></pre>
  
  @param name Required. The "resource name" of the workflow template, as described in
  https://cloud.google.com/apis/design/resource_names of the form
  `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
  @throws com.google.api.gax.rpc.ApiException if the remote call fails