public final Company createCompany(ProjectName parent, Company company) {
    CreateCompanyRequest request =
        CreateCompanyRequest.newBuilder()
            .setParent(parent == null ? null : parent.toString())
            .setCompany(company)
            .build();
    return createCompany(request);
  }
Creates a new company entity.

<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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
  ProjectName parent = ProjectName.of("[PROJECT]");
  Company company = Company.newBuilder().build();
  Company response = companyServiceClient.createCompany(parent, company);
}
}</pre>

@param parent Required. Resource name of the tenant under which the company is created.
    <p>The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant is created, for
    example, "projects/foo".
@param company Required. The company to be created.
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java