From dd16f4cc1f4413f283bcc0855185c0c4e4114b16 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 22 Jun 2020 12:58:28 -0700 Subject: [PATCH] fix: migrate retry settings to grpc_service_config (#194) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/8090a8db-78af-43ce-903e-cbc4378c9d99/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 317110673 Source-Link: https://github.com/googleapis/googleapis/commit/fa4d2ecd0804eb92f27a65fe65ce2a554a361b93 --- README.md | 2 +- .../v4beta1/ApplicationServiceClient.java | 197 +++++++-------- .../v4beta1/ApplicationServiceSettings.java | 26 +- .../talent/v4beta1/CompanyServiceClient.java | 197 +++++++-------- .../v4beta1/CompanyServiceSettings.java | 26 +- .../talent/v4beta1/JobServiceClient.java | 213 ++++++++--------- .../talent/v4beta1/JobServiceSettings.java | 26 +- .../talent/v4beta1/ProfileServiceClient.java | 197 +++++++-------- .../v4beta1/ProfileServiceSettings.java | 26 +- .../talent/v4beta1/TenantServiceClient.java | 189 +++++++-------- .../talent/v4beta1/TenantServiceSettings.java | 26 +- .../cloud/talent/v4beta1/package-info.java | 25 +- .../v4beta1/stub/ApplicationServiceStub.java | 8 +- .../stub/ApplicationServiceStubSettings.java | 224 ++++++++++++++---- .../v4beta1/stub/CompanyServiceStub.java | 8 +- .../stub/CompanyServiceStubSettings.java | 92 +++---- .../v4beta1/stub/CompletionStubSettings.java | 18 +- .../stub/EventServiceStubSettings.java | 24 +- .../stub/GrpcApplicationServiceStub.java | 64 ++--- .../v4beta1/stub/GrpcCompanyServiceStub.java | 56 ++--- .../v4beta1/stub/GrpcJobServiceStub.java | 56 ++--- .../v4beta1/stub/GrpcProfileServiceStub.java | 56 ++--- .../v4beta1/stub/GrpcTenantServiceStub.java | 56 ++--- .../talent/v4beta1/stub/JobServiceStub.java | 8 +- .../v4beta1/stub/JobServiceStubSettings.java | 120 +++++----- .../v4beta1/stub/ProfileServiceStub.java | 8 +- .../stub/ProfileServiceStubSettings.java | 100 ++++---- .../v4beta1/stub/TenantServiceStub.java | 8 +- .../stub/TenantServiceStubSettings.java | 222 +++++++++++++---- .../v4beta1/ApplicationServiceClientTest.java | 78 +++--- .../v4beta1/CompanyServiceClientTest.java | 76 +++--- .../talent/v4beta1/JobServiceClientTest.java | 74 +++--- .../v4beta1/ProfileServiceClientTest.java | 74 +++--- .../v4beta1/TenantServiceClientTest.java | 74 +++--- synth.metadata | 6 +- 35 files changed, 1494 insertions(+), 1166 deletions(-) diff --git a/README.md b/README.md index 348269d4..a7bad47e 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 5.7.0 + 7.0.0 pom import diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ApplicationServiceClient.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ApplicationServiceClient.java index 2e95fae0..f101d854 100644 --- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ApplicationServiceClient.java +++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ApplicationServiceClient.java @@ -45,8 +45,9 @@ *
  * 
  * try (ApplicationServiceClient applicationServiceClient = ApplicationServiceClient.create()) {
- *   ApplicationName name = ApplicationName.of("[PROJECT]", "[TENANT]", "[PROFILE]", "[APPLICATION]");
- *   applicationServiceClient.deleteApplication(name);
+ *   ProfileName parent = ProfileName.of("[PROJECT]", "[TENANT]", "[PROFILE]");
+ *   Application application = Application.newBuilder().build();
+ *   Application response = applicationServiceClient.createApplication(parent, application);
  * }
  * 
  * 
@@ -156,102 +157,6 @@ public ApplicationServiceStub getStub() { return stub; } - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes specified application. - * - *

Sample code: - * - *


-   * try (ApplicationServiceClient applicationServiceClient = ApplicationServiceClient.create()) {
-   *   ApplicationName name = ApplicationName.of("[PROJECT]", "[TENANT]", "[PROFILE]", "[APPLICATION]");
-   *   applicationServiceClient.deleteApplication(name);
-   * }
-   * 
- * - * @param name Required. The resource name of the application to be deleted. - *

The format is - * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}". - * For example, "projects/foo/tenants/bar/profiles/baz/applications/qux". - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteApplication(ApplicationName name) { - DeleteApplicationRequest request = - DeleteApplicationRequest.newBuilder() - .setName(name == null ? null : name.toString()) - .build(); - deleteApplication(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes specified application. - * - *

Sample code: - * - *


-   * try (ApplicationServiceClient applicationServiceClient = ApplicationServiceClient.create()) {
-   *   ApplicationName name = ApplicationName.of("[PROJECT]", "[TENANT]", "[PROFILE]", "[APPLICATION]");
-   *   applicationServiceClient.deleteApplication(name.toString());
-   * }
-   * 
- * - * @param name Required. The resource name of the application to be deleted. - *

The format is - * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}". - * For example, "projects/foo/tenants/bar/profiles/baz/applications/qux". - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteApplication(String name) { - DeleteApplicationRequest request = DeleteApplicationRequest.newBuilder().setName(name).build(); - deleteApplication(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes specified application. - * - *

Sample code: - * - *


-   * try (ApplicationServiceClient applicationServiceClient = ApplicationServiceClient.create()) {
-   *   ApplicationName name = ApplicationName.of("[PROJECT]", "[TENANT]", "[PROFILE]", "[APPLICATION]");
-   *   DeleteApplicationRequest request = DeleteApplicationRequest.newBuilder()
-   *     .setName(name.toString())
-   *     .build();
-   *   applicationServiceClient.deleteApplication(request);
-   * }
-   * 
- * - * @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 - */ - public final void deleteApplication(DeleteApplicationRequest request) { - deleteApplicationCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes specified application. - * - *

Sample code: - * - *


-   * try (ApplicationServiceClient applicationServiceClient = ApplicationServiceClient.create()) {
-   *   ApplicationName name = ApplicationName.of("[PROJECT]", "[TENANT]", "[PROFILE]", "[APPLICATION]");
-   *   DeleteApplicationRequest request = DeleteApplicationRequest.newBuilder()
-   *     .setName(name.toString())
-   *     .build();
-   *   ApiFuture<Void> future = applicationServiceClient.deleteApplicationCallable().futureCall(request);
-   *   // Do something
-   *   future.get();
-   * }
-   * 
- */ - public final UnaryCallable deleteApplicationCallable() { - return stub.deleteApplicationCallable(); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Creates a new application entity. @@ -518,6 +423,102 @@ public final UnaryCallable updateApplicat return stub.updateApplicationCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes specified application. + * + *

Sample code: + * + *


+   * try (ApplicationServiceClient applicationServiceClient = ApplicationServiceClient.create()) {
+   *   ApplicationName name = ApplicationName.of("[PROJECT]", "[TENANT]", "[PROFILE]", "[APPLICATION]");
+   *   applicationServiceClient.deleteApplication(name);
+   * }
+   * 
+ * + * @param name Required. The resource name of the application to be deleted. + *

The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}". + * For example, "projects/foo/tenants/bar/profiles/baz/applications/qux". + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteApplication(ApplicationName name) { + DeleteApplicationRequest request = + DeleteApplicationRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + deleteApplication(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes specified application. + * + *

Sample code: + * + *


+   * try (ApplicationServiceClient applicationServiceClient = ApplicationServiceClient.create()) {
+   *   ApplicationName name = ApplicationName.of("[PROJECT]", "[TENANT]", "[PROFILE]", "[APPLICATION]");
+   *   applicationServiceClient.deleteApplication(name.toString());
+   * }
+   * 
+ * + * @param name Required. The resource name of the application to be deleted. + *

The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}". + * For example, "projects/foo/tenants/bar/profiles/baz/applications/qux". + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteApplication(String name) { + DeleteApplicationRequest request = DeleteApplicationRequest.newBuilder().setName(name).build(); + deleteApplication(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes specified application. + * + *

Sample code: + * + *


+   * try (ApplicationServiceClient applicationServiceClient = ApplicationServiceClient.create()) {
+   *   ApplicationName name = ApplicationName.of("[PROJECT]", "[TENANT]", "[PROFILE]", "[APPLICATION]");
+   *   DeleteApplicationRequest request = DeleteApplicationRequest.newBuilder()
+   *     .setName(name.toString())
+   *     .build();
+   *   applicationServiceClient.deleteApplication(request);
+   * }
+   * 
+ * + * @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 + */ + public final void deleteApplication(DeleteApplicationRequest request) { + deleteApplicationCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes specified application. + * + *

Sample code: + * + *


+   * try (ApplicationServiceClient applicationServiceClient = ApplicationServiceClient.create()) {
+   *   ApplicationName name = ApplicationName.of("[PROJECT]", "[TENANT]", "[PROFILE]", "[APPLICATION]");
+   *   DeleteApplicationRequest request = DeleteApplicationRequest.newBuilder()
+   *     .setName(name.toString())
+   *     .build();
+   *   ApiFuture<Void> future = applicationServiceClient.deleteApplicationCallable().futureCall(request);
+   *   // Do something
+   *   future.get();
+   * }
+   * 
+ */ + public final UnaryCallable deleteApplicationCallable() { + return stub.deleteApplicationCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Lists all applications associated with the profile. diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ApplicationServiceSettings.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ApplicationServiceSettings.java index 53e393c1..c219b525 100644 --- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ApplicationServiceSettings.java +++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ApplicationServiceSettings.java @@ -49,16 +49,16 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of deleteApplication to 30 seconds: + *

For example, to set the total timeout of createApplication to 30 seconds: * *

  * 
  * ApplicationServiceSettings.Builder applicationServiceSettingsBuilder =
  *     ApplicationServiceSettings.newBuilder();
  * applicationServiceSettingsBuilder
- *     .deleteApplicationSettings()
+ *     .createApplicationSettings()
  *     .setRetrySettings(
- *         applicationServiceSettingsBuilder.deleteApplicationSettings().getRetrySettings().toBuilder()
+ *         applicationServiceSettingsBuilder.createApplicationSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ApplicationServiceSettings applicationServiceSettings = applicationServiceSettingsBuilder.build();
@@ -68,11 +68,6 @@
 @Generated("by gapic-generator")
 @BetaApi
 public class ApplicationServiceSettings extends ClientSettings {
-  /** Returns the object with the settings used for calls to deleteApplication. */
-  public UnaryCallSettings deleteApplicationSettings() {
-    return ((ApplicationServiceStubSettings) getStubSettings()).deleteApplicationSettings();
-  }
-
   /** Returns the object with the settings used for calls to createApplication. */
   public UnaryCallSettings createApplicationSettings() {
     return ((ApplicationServiceStubSettings) getStubSettings()).createApplicationSettings();
@@ -88,6 +83,11 @@ public UnaryCallSettings updateApplicatio
     return ((ApplicationServiceStubSettings) getStubSettings()).updateApplicationSettings();
   }
 
+  /** Returns the object with the settings used for calls to deleteApplication. */
+  public UnaryCallSettings deleteApplicationSettings() {
+    return ((ApplicationServiceStubSettings) getStubSettings()).deleteApplicationSettings();
+  }
+
   /** Returns the object with the settings used for calls to listApplications. */
   public PagedCallSettings<
           ListApplicationsRequest, ListApplicationsResponse, ListApplicationsPagedResponse>
@@ -192,11 +192,6 @@ public Builder applyToAllUnaryMethods(
       return this;
     }
 
-    /** Returns the builder for the settings used for calls to deleteApplication. */
-    public UnaryCallSettings.Builder deleteApplicationSettings() {
-      return getStubSettingsBuilder().deleteApplicationSettings();
-    }
-
     /** Returns the builder for the settings used for calls to createApplication. */
     public UnaryCallSettings.Builder
         createApplicationSettings() {
@@ -214,6 +209,11 @@ public UnaryCallSettings.Builder getApplicat
       return getStubSettingsBuilder().updateApplicationSettings();
     }
 
+    /** Returns the builder for the settings used for calls to deleteApplication. */
+    public UnaryCallSettings.Builder deleteApplicationSettings() {
+      return getStubSettingsBuilder().deleteApplicationSettings();
+    }
+
     /** Returns the builder for the settings used for calls to listApplications. */
     public PagedCallSettings.Builder<
             ListApplicationsRequest, ListApplicationsResponse, ListApplicationsPagedResponse>
diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java
index b462751a..023197f7 100644
--- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java
+++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java
@@ -44,8 +44,9 @@
  * 
  * 
  * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
- *   CompanyName name = CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]");
- *   companyServiceClient.deleteCompany(name);
+ *   TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
+ *   Company company = Company.newBuilder().build();
+ *   Company response = companyServiceClient.createCompany(parent, company);
  * }
  * 
  * 
@@ -154,102 +155,6 @@ public CompanyServiceStub getStub() { return stub; } - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes specified company. Prerequisite: The company has no jobs associated with it. - * - *

Sample code: - * - *


-   * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
-   *   CompanyName name = CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]");
-   *   companyServiceClient.deleteCompany(name);
-   * }
-   * 
- * - * @param name Required. The resource name of the company to be deleted. - *

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for - * example, "projects/foo/tenants/bar/companies/baz". - *

If tenant id is unspecified, the default tenant is used, for example, - * "projects/foo/companies/bar". - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteCompany(CompanyName name) { - DeleteCompanyRequest request = - DeleteCompanyRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - deleteCompany(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes specified company. Prerequisite: The company has no jobs associated with it. - * - *

Sample code: - * - *


-   * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
-   *   CompanyName name = CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]");
-   *   companyServiceClient.deleteCompany(name.toString());
-   * }
-   * 
- * - * @param name Required. The resource name of the company to be deleted. - *

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for - * example, "projects/foo/tenants/bar/companies/baz". - *

If tenant id is unspecified, the default tenant is used, for example, - * "projects/foo/companies/bar". - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteCompany(String name) { - DeleteCompanyRequest request = DeleteCompanyRequest.newBuilder().setName(name).build(); - deleteCompany(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes specified company. Prerequisite: The company has no jobs associated with it. - * - *

Sample code: - * - *


-   * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
-   *   CompanyName name = CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]");
-   *   DeleteCompanyRequest request = DeleteCompanyRequest.newBuilder()
-   *     .setName(name.toString())
-   *     .build();
-   *   companyServiceClient.deleteCompany(request);
-   * }
-   * 
- * - * @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 - */ - public final void deleteCompany(DeleteCompanyRequest request) { - deleteCompanyCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes specified company. Prerequisite: The company has no jobs associated with it. - * - *

Sample code: - * - *


-   * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
-   *   CompanyName name = CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]");
-   *   DeleteCompanyRequest request = DeleteCompanyRequest.newBuilder()
-   *     .setName(name.toString())
-   *     .build();
-   *   ApiFuture<Void> future = companyServiceClient.deleteCompanyCallable().futureCall(request);
-   *   // Do something
-   *   future.get();
-   * }
-   * 
- */ - public final UnaryCallable deleteCompanyCallable() { - return stub.deleteCompanyCallable(); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Creates a new company entity. @@ -548,6 +453,102 @@ public final UnaryCallable updateCompanyCallable( return stub.updateCompanyCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes specified company. Prerequisite: The company has no jobs associated with it. + * + *

Sample code: + * + *


+   * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
+   *   CompanyName name = CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]");
+   *   companyServiceClient.deleteCompany(name);
+   * }
+   * 
+ * + * @param name Required. The resource name of the company to be deleted. + *

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/foo/tenants/bar/companies/baz". + *

If tenant id is unspecified, the default tenant is used, for example, + * "projects/foo/companies/bar". + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteCompany(CompanyName name) { + DeleteCompanyRequest request = + DeleteCompanyRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteCompany(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes specified company. Prerequisite: The company has no jobs associated with it. + * + *

Sample code: + * + *


+   * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
+   *   CompanyName name = CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]");
+   *   companyServiceClient.deleteCompany(name.toString());
+   * }
+   * 
+ * + * @param name Required. The resource name of the company to be deleted. + *

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/foo/tenants/bar/companies/baz". + *

If tenant id is unspecified, the default tenant is used, for example, + * "projects/foo/companies/bar". + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteCompany(String name) { + DeleteCompanyRequest request = DeleteCompanyRequest.newBuilder().setName(name).build(); + deleteCompany(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes specified company. Prerequisite: The company has no jobs associated with it. + * + *

Sample code: + * + *


+   * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
+   *   CompanyName name = CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]");
+   *   DeleteCompanyRequest request = DeleteCompanyRequest.newBuilder()
+   *     .setName(name.toString())
+   *     .build();
+   *   companyServiceClient.deleteCompany(request);
+   * }
+   * 
+ * + * @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 + */ + public final void deleteCompany(DeleteCompanyRequest request) { + deleteCompanyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes specified company. Prerequisite: The company has no jobs associated with it. + * + *

Sample code: + * + *


+   * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
+   *   CompanyName name = CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]");
+   *   DeleteCompanyRequest request = DeleteCompanyRequest.newBuilder()
+   *     .setName(name.toString())
+   *     .build();
+   *   ApiFuture<Void> future = companyServiceClient.deleteCompanyCallable().futureCall(request);
+   *   // Do something
+   *   future.get();
+   * }
+   * 
+ */ + public final UnaryCallable deleteCompanyCallable() { + return stub.deleteCompanyCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Lists all companies associated with the project. diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java index 57ca428f..7a7c2703 100644 --- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java +++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java @@ -49,16 +49,16 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of deleteCompany to 30 seconds: + *

For example, to set the total timeout of createCompany to 30 seconds: * *

  * 
  * CompanyServiceSettings.Builder companyServiceSettingsBuilder =
  *     CompanyServiceSettings.newBuilder();
  * companyServiceSettingsBuilder
- *     .deleteCompanySettings()
+ *     .createCompanySettings()
  *     .setRetrySettings(
- *         companyServiceSettingsBuilder.deleteCompanySettings().getRetrySettings().toBuilder()
+ *         companyServiceSettingsBuilder.createCompanySettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * CompanyServiceSettings companyServiceSettings = companyServiceSettingsBuilder.build();
@@ -68,11 +68,6 @@
 @Generated("by gapic-generator")
 @BetaApi
 public class CompanyServiceSettings extends ClientSettings {
-  /** Returns the object with the settings used for calls to deleteCompany. */
-  public UnaryCallSettings deleteCompanySettings() {
-    return ((CompanyServiceStubSettings) getStubSettings()).deleteCompanySettings();
-  }
-
   /** Returns the object with the settings used for calls to createCompany. */
   public UnaryCallSettings createCompanySettings() {
     return ((CompanyServiceStubSettings) getStubSettings()).createCompanySettings();
@@ -88,6 +83,11 @@ public UnaryCallSettings updateCompanySettings()
     return ((CompanyServiceStubSettings) getStubSettings()).updateCompanySettings();
   }
 
+  /** Returns the object with the settings used for calls to deleteCompany. */
+  public UnaryCallSettings deleteCompanySettings() {
+    return ((CompanyServiceStubSettings) getStubSettings()).deleteCompanySettings();
+  }
+
   /** Returns the object with the settings used for calls to listCompanies. */
   public PagedCallSettings
       listCompaniesSettings() {
@@ -191,11 +191,6 @@ public Builder applyToAllUnaryMethods(
       return this;
     }
 
-    /** Returns the builder for the settings used for calls to deleteCompany. */
-    public UnaryCallSettings.Builder deleteCompanySettings() {
-      return getStubSettingsBuilder().deleteCompanySettings();
-    }
-
     /** Returns the builder for the settings used for calls to createCompany. */
     public UnaryCallSettings.Builder createCompanySettings() {
       return getStubSettingsBuilder().createCompanySettings();
@@ -211,6 +206,11 @@ public UnaryCallSettings.Builder updateCompanySet
       return getStubSettingsBuilder().updateCompanySettings();
     }
 
+    /** Returns the builder for the settings used for calls to deleteCompany. */
+    public UnaryCallSettings.Builder deleteCompanySettings() {
+      return getStubSettingsBuilder().deleteCompanySettings();
+    }
+
     /** Returns the builder for the settings used for calls to listCompanies. */
     public PagedCallSettings.Builder<
             ListCompaniesRequest, ListCompaniesResponse, ListCompaniesPagedResponse>
diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java
index c62d25d6..327c8221 100644
--- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java
+++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java
@@ -49,8 +49,9 @@
  * 
  * 
  * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
- *   JobName name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]");
- *   jobServiceClient.deleteJob(name);
+ *   TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
+ *   Job job = Job.newBuilder().build();
+ *   Job response = jobServiceClient.createJob(parent, job);
  * }
  * 
  * 
@@ -170,110 +171,6 @@ public final OperationsClient getOperationsClient() { return operationsClient; } - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the specified job. - * - *

Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes. - * - *

Sample code: - * - *


-   * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
-   *   JobName name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]");
-   *   jobServiceClient.deleteJob(name);
-   * }
-   * 
- * - * @param name Required. The resource name of the job to be deleted. - *

The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, - * "projects/foo/tenants/bar/jobs/baz". - *

If tenant id is unspecified, the default tenant is used. For example, - * "projects/foo/jobs/bar". - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteJob(JobName name) { - DeleteJobRequest request = - DeleteJobRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - deleteJob(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the specified job. - * - *

Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes. - * - *

Sample code: - * - *


-   * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
-   *   JobName name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]");
-   *   jobServiceClient.deleteJob(name.toString());
-   * }
-   * 
- * - * @param name Required. The resource name of the job to be deleted. - *

The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, - * "projects/foo/tenants/bar/jobs/baz". - *

If tenant id is unspecified, the default tenant is used. For example, - * "projects/foo/jobs/bar". - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteJob(String name) { - DeleteJobRequest request = DeleteJobRequest.newBuilder().setName(name).build(); - deleteJob(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the specified job. - * - *

Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes. - * - *

Sample code: - * - *


-   * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
-   *   JobName name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]");
-   *   DeleteJobRequest request = DeleteJobRequest.newBuilder()
-   *     .setName(name.toString())
-   *     .build();
-   *   jobServiceClient.deleteJob(request);
-   * }
-   * 
- * - * @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 - */ - public final void deleteJob(DeleteJobRequest request) { - deleteJobCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the specified job. - * - *

Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes. - * - *

Sample code: - * - *


-   * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
-   *   JobName name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]");
-   *   DeleteJobRequest request = DeleteJobRequest.newBuilder()
-   *     .setName(name.toString())
-   *     .build();
-   *   ApiFuture<Void> future = jobServiceClient.deleteJobCallable().futureCall(request);
-   *   // Do something
-   *   future.get();
-   * }
-   * 
- */ - public final UnaryCallable deleteJobCallable() { - return stub.deleteJobCallable(); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Creates a new job. @@ -938,6 +835,110 @@ public final UnaryCallable batchUpdateJobsCal return stub.batchUpdateJobsCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified job. + * + *

Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes. + * + *

Sample code: + * + *


+   * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   JobName name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]");
+   *   jobServiceClient.deleteJob(name);
+   * }
+   * 
+ * + * @param name Required. The resource name of the job to be deleted. + *

The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, + * "projects/foo/tenants/bar/jobs/baz". + *

If tenant id is unspecified, the default tenant is used. For example, + * "projects/foo/jobs/bar". + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteJob(JobName name) { + DeleteJobRequest request = + DeleteJobRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified job. + * + *

Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes. + * + *

Sample code: + * + *


+   * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   JobName name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]");
+   *   jobServiceClient.deleteJob(name.toString());
+   * }
+   * 
+ * + * @param name Required. The resource name of the job to be deleted. + *

The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, + * "projects/foo/tenants/bar/jobs/baz". + *

If tenant id is unspecified, the default tenant is used. For example, + * "projects/foo/jobs/bar". + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteJob(String name) { + DeleteJobRequest request = DeleteJobRequest.newBuilder().setName(name).build(); + deleteJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified job. + * + *

Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes. + * + *

Sample code: + * + *


+   * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   JobName name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]");
+   *   DeleteJobRequest request = DeleteJobRequest.newBuilder()
+   *     .setName(name.toString())
+   *     .build();
+   *   jobServiceClient.deleteJob(request);
+   * }
+   * 
+ * + * @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 + */ + public final void deleteJob(DeleteJobRequest request) { + deleteJobCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified job. + * + *

Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes. + * + *

Sample code: + * + *


+   * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   JobName name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]");
+   *   DeleteJobRequest request = DeleteJobRequest.newBuilder()
+   *     .setName(name.toString())
+   *     .build();
+   *   ApiFuture<Void> future = jobServiceClient.deleteJobCallable().futureCall(request);
+   *   // Do something
+   *   future.get();
+   * }
+   * 
+ */ + public final UnaryCallable deleteJobCallable() { + return stub.deleteJobCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter. diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java index 19cd20a0..723e1742 100644 --- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java +++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java @@ -53,16 +53,16 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of deleteJob to 30 seconds: + *

For example, to set the total timeout of createJob to 30 seconds: * *

  * 
  * JobServiceSettings.Builder jobServiceSettingsBuilder =
  *     JobServiceSettings.newBuilder();
  * jobServiceSettingsBuilder
- *     .deleteJobSettings()
+ *     .createJobSettings()
  *     .setRetrySettings(
- *         jobServiceSettingsBuilder.deleteJobSettings().getRetrySettings().toBuilder()
+ *         jobServiceSettingsBuilder.createJobSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * JobServiceSettings jobServiceSettings = jobServiceSettingsBuilder.build();
@@ -72,11 +72,6 @@
 @Generated("by gapic-generator")
 @BetaApi
 public class JobServiceSettings extends ClientSettings {
-  /** Returns the object with the settings used for calls to deleteJob. */
-  public UnaryCallSettings deleteJobSettings() {
-    return ((JobServiceStubSettings) getStubSettings()).deleteJobSettings();
-  }
-
   /** Returns the object with the settings used for calls to createJob. */
   public UnaryCallSettings createJobSettings() {
     return ((JobServiceStubSettings) getStubSettings()).createJobSettings();
@@ -118,6 +113,11 @@ public UnaryCallSettings batchUpdateJobsSetti
     return ((JobServiceStubSettings) getStubSettings()).batchUpdateJobsOperationSettings();
   }
 
+  /** Returns the object with the settings used for calls to deleteJob. */
+  public UnaryCallSettings deleteJobSettings() {
+    return ((JobServiceStubSettings) getStubSettings()).deleteJobSettings();
+  }
+
   /** Returns the object with the settings used for calls to batchDeleteJobs. */
   public UnaryCallSettings batchDeleteJobsSettings() {
     return ((JobServiceStubSettings) getStubSettings()).batchDeleteJobsSettings();
@@ -237,11 +237,6 @@ public Builder applyToAllUnaryMethods(
       return this;
     }
 
-    /** Returns the builder for the settings used for calls to deleteJob. */
-    public UnaryCallSettings.Builder deleteJobSettings() {
-      return getStubSettingsBuilder().deleteJobSettings();
-    }
-
     /** Returns the builder for the settings used for calls to createJob. */
     public UnaryCallSettings.Builder createJobSettings() {
       return getStubSettingsBuilder().createJobSettings();
@@ -285,6 +280,11 @@ public UnaryCallSettings.Builder batchUpdateJ
       return getStubSettingsBuilder().batchUpdateJobsOperationSettings();
     }
 
+    /** Returns the builder for the settings used for calls to deleteJob. */
+    public UnaryCallSettings.Builder deleteJobSettings() {
+      return getStubSettingsBuilder().deleteJobSettings();
+    }
+
     /** Returns the builder for the settings used for calls to batchDeleteJobs. */
     public UnaryCallSettings.Builder batchDeleteJobsSettings() {
       return getStubSettingsBuilder().batchDeleteJobsSettings();
diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ProfileServiceClient.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ProfileServiceClient.java
index e8525094..daacaf1d 100644
--- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ProfileServiceClient.java
+++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ProfileServiceClient.java
@@ -45,8 +45,9 @@
  * 
  * 
  * try (ProfileServiceClient profileServiceClient = ProfileServiceClient.create()) {
- *   ProfileName name = ProfileName.of("[PROJECT]", "[TENANT]", "[PROFILE]");
- *   profileServiceClient.deleteProfile(name);
+ *   TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
+ *   Profile profile = Profile.newBuilder().build();
+ *   Profile response = profileServiceClient.createProfile(parent, profile);
  * }
  * 
  * 
@@ -155,102 +156,6 @@ public ProfileServiceStub getStub() { return stub; } - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the specified profile. Prerequisite: The profile has no associated applications or - * assignments associated. - * - *

Sample code: - * - *


-   * try (ProfileServiceClient profileServiceClient = ProfileServiceClient.create()) {
-   *   ProfileName name = ProfileName.of("[PROJECT]", "[TENANT]", "[PROFILE]");
-   *   profileServiceClient.deleteProfile(name);
-   * }
-   * 
- * - * @param name Required. Resource name of the profile to be deleted. - *

The format is "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}". For - * example, "projects/foo/tenants/bar/profiles/baz". - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteProfile(ProfileName name) { - DeleteProfileRequest request = - DeleteProfileRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - deleteProfile(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the specified profile. Prerequisite: The profile has no associated applications or - * assignments associated. - * - *

Sample code: - * - *


-   * try (ProfileServiceClient profileServiceClient = ProfileServiceClient.create()) {
-   *   ProfileName name = ProfileName.of("[PROJECT]", "[TENANT]", "[PROFILE]");
-   *   profileServiceClient.deleteProfile(name.toString());
-   * }
-   * 
- * - * @param name Required. Resource name of the profile to be deleted. - *

The format is "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}". For - * example, "projects/foo/tenants/bar/profiles/baz". - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteProfile(String name) { - DeleteProfileRequest request = DeleteProfileRequest.newBuilder().setName(name).build(); - deleteProfile(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the specified profile. Prerequisite: The profile has no associated applications or - * assignments associated. - * - *

Sample code: - * - *


-   * try (ProfileServiceClient profileServiceClient = ProfileServiceClient.create()) {
-   *   ProfileName name = ProfileName.of("[PROJECT]", "[TENANT]", "[PROFILE]");
-   *   DeleteProfileRequest request = DeleteProfileRequest.newBuilder()
-   *     .setName(name.toString())
-   *     .build();
-   *   profileServiceClient.deleteProfile(request);
-   * }
-   * 
- * - * @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 - */ - public final void deleteProfile(DeleteProfileRequest request) { - deleteProfileCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the specified profile. Prerequisite: The profile has no associated applications or - * assignments associated. - * - *

Sample code: - * - *


-   * try (ProfileServiceClient profileServiceClient = ProfileServiceClient.create()) {
-   *   ProfileName name = ProfileName.of("[PROJECT]", "[TENANT]", "[PROFILE]");
-   *   DeleteProfileRequest request = DeleteProfileRequest.newBuilder()
-   *     .setName(name.toString())
-   *     .build();
-   *   ApiFuture<Void> future = profileServiceClient.deleteProfileCallable().futureCall(request);
-   *   // Do something
-   *   future.get();
-   * }
-   * 
- */ - public final UnaryCallable deleteProfileCallable() { - return stub.deleteProfileCallable(); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Searches for profiles within a tenant. @@ -753,6 +658,102 @@ public final UnaryCallable updateProfileCallable( return stub.updateProfileCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified profile. Prerequisite: The profile has no associated applications or + * assignments associated. + * + *

Sample code: + * + *


+   * try (ProfileServiceClient profileServiceClient = ProfileServiceClient.create()) {
+   *   ProfileName name = ProfileName.of("[PROJECT]", "[TENANT]", "[PROFILE]");
+   *   profileServiceClient.deleteProfile(name);
+   * }
+   * 
+ * + * @param name Required. Resource name of the profile to be deleted. + *

The format is "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}". For + * example, "projects/foo/tenants/bar/profiles/baz". + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteProfile(ProfileName name) { + DeleteProfileRequest request = + DeleteProfileRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteProfile(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified profile. Prerequisite: The profile has no associated applications or + * assignments associated. + * + *

Sample code: + * + *


+   * try (ProfileServiceClient profileServiceClient = ProfileServiceClient.create()) {
+   *   ProfileName name = ProfileName.of("[PROJECT]", "[TENANT]", "[PROFILE]");
+   *   profileServiceClient.deleteProfile(name.toString());
+   * }
+   * 
+ * + * @param name Required. Resource name of the profile to be deleted. + *

The format is "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}". For + * example, "projects/foo/tenants/bar/profiles/baz". + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteProfile(String name) { + DeleteProfileRequest request = DeleteProfileRequest.newBuilder().setName(name).build(); + deleteProfile(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified profile. Prerequisite: The profile has no associated applications or + * assignments associated. + * + *

Sample code: + * + *


+   * try (ProfileServiceClient profileServiceClient = ProfileServiceClient.create()) {
+   *   ProfileName name = ProfileName.of("[PROJECT]", "[TENANT]", "[PROFILE]");
+   *   DeleteProfileRequest request = DeleteProfileRequest.newBuilder()
+   *     .setName(name.toString())
+   *     .build();
+   *   profileServiceClient.deleteProfile(request);
+   * }
+   * 
+ * + * @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 + */ + public final void deleteProfile(DeleteProfileRequest request) { + deleteProfileCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified profile. Prerequisite: The profile has no associated applications or + * assignments associated. + * + *

Sample code: + * + *


+   * try (ProfileServiceClient profileServiceClient = ProfileServiceClient.create()) {
+   *   ProfileName name = ProfileName.of("[PROJECT]", "[TENANT]", "[PROFILE]");
+   *   DeleteProfileRequest request = DeleteProfileRequest.newBuilder()
+   *     .setName(name.toString())
+   *     .build();
+   *   ApiFuture<Void> future = profileServiceClient.deleteProfileCallable().futureCall(request);
+   *   // Do something
+   *   future.get();
+   * }
+   * 
+ */ + public final UnaryCallable deleteProfileCallable() { + return stub.deleteProfileCallable(); + } + @Override public final void close() { stub.close(); diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ProfileServiceSettings.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ProfileServiceSettings.java index 2c67fb44..e795aa53 100644 --- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ProfileServiceSettings.java +++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ProfileServiceSettings.java @@ -50,16 +50,16 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of deleteProfile to 30 seconds: + *

For example, to set the total timeout of createProfile to 30 seconds: * *

  * 
  * ProfileServiceSettings.Builder profileServiceSettingsBuilder =
  *     ProfileServiceSettings.newBuilder();
  * profileServiceSettingsBuilder
- *     .deleteProfileSettings()
+ *     .createProfileSettings()
  *     .setRetrySettings(
- *         profileServiceSettingsBuilder.deleteProfileSettings().getRetrySettings().toBuilder()
+ *         profileServiceSettingsBuilder.createProfileSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ProfileServiceSettings profileServiceSettings = profileServiceSettingsBuilder.build();
@@ -69,11 +69,6 @@
 @Generated("by gapic-generator")
 @BetaApi
 public class ProfileServiceSettings extends ClientSettings {
-  /** Returns the object with the settings used for calls to deleteProfile. */
-  public UnaryCallSettings deleteProfileSettings() {
-    return ((ProfileServiceStubSettings) getStubSettings()).deleteProfileSettings();
-  }
-
   /** Returns the object with the settings used for calls to searchProfiles. */
   public PagedCallSettings<
           SearchProfilesRequest, SearchProfilesResponse, SearchProfilesPagedResponse>
@@ -102,6 +97,11 @@ public UnaryCallSettings updateProfileSettings()
     return ((ProfileServiceStubSettings) getStubSettings()).updateProfileSettings();
   }
 
+  /** Returns the object with the settings used for calls to deleteProfile. */
+  public UnaryCallSettings deleteProfileSettings() {
+    return ((ProfileServiceStubSettings) getStubSettings()).deleteProfileSettings();
+  }
+
   public static final ProfileServiceSettings create(ProfileServiceStubSettings stub)
       throws IOException {
     return new ProfileServiceSettings.Builder(stub.toBuilder()).build();
@@ -199,11 +199,6 @@ public Builder applyToAllUnaryMethods(
       return this;
     }
 
-    /** Returns the builder for the settings used for calls to deleteProfile. */
-    public UnaryCallSettings.Builder deleteProfileSettings() {
-      return getStubSettingsBuilder().deleteProfileSettings();
-    }
-
     /** Returns the builder for the settings used for calls to searchProfiles. */
     public PagedCallSettings.Builder<
             SearchProfilesRequest, SearchProfilesResponse, SearchProfilesPagedResponse>
@@ -233,6 +228,11 @@ public UnaryCallSettings.Builder updateProfileSet
       return getStubSettingsBuilder().updateProfileSettings();
     }
 
+    /** Returns the builder for the settings used for calls to deleteProfile. */
+    public UnaryCallSettings.Builder deleteProfileSettings() {
+      return getStubSettingsBuilder().deleteProfileSettings();
+    }
+
     @Override
     public ProfileServiceSettings build() throws IOException {
       return new ProfileServiceSettings(this);
diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java
index 423df444..cbd5dccb 100644
--- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java
+++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java
@@ -44,8 +44,9 @@
  * 
  * 
  * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
- *   TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
- *   tenantServiceClient.deleteTenant(name);
+ *   ProjectName parent = ProjectName.of("[PROJECT]");
+ *   Tenant tenant = Tenant.newBuilder().build();
+ *   Tenant response = tenantServiceClient.createTenant(parent, tenant);
  * }
  * 
  * 
@@ -154,98 +155,6 @@ public TenantServiceStub getStub() { return stub; } - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes specified tenant. - * - *

Sample code: - * - *


-   * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
-   *   TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
-   *   tenantServiceClient.deleteTenant(name);
-   * }
-   * 
- * - * @param name Required. The resource name of the tenant to be deleted. - *

The format is "projects/{project_id}/tenants/{tenant_id}", for example, - * "projects/foo/tenants/bar". - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteTenant(TenantName name) { - DeleteTenantRequest request = - DeleteTenantRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - deleteTenant(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes specified tenant. - * - *

Sample code: - * - *


-   * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
-   *   TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
-   *   tenantServiceClient.deleteTenant(name.toString());
-   * }
-   * 
- * - * @param name Required. The resource name of the tenant to be deleted. - *

The format is "projects/{project_id}/tenants/{tenant_id}", for example, - * "projects/foo/tenants/bar". - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteTenant(String name) { - DeleteTenantRequest request = DeleteTenantRequest.newBuilder().setName(name).build(); - deleteTenant(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes specified tenant. - * - *

Sample code: - * - *


-   * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
-   *   TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
-   *   DeleteTenantRequest request = DeleteTenantRequest.newBuilder()
-   *     .setName(name.toString())
-   *     .build();
-   *   tenantServiceClient.deleteTenant(request);
-   * }
-   * 
- * - * @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 - */ - public final void deleteTenant(DeleteTenantRequest request) { - deleteTenantCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes specified tenant. - * - *

Sample code: - * - *


-   * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
-   *   TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
-   *   DeleteTenantRequest request = DeleteTenantRequest.newBuilder()
-   *     .setName(name.toString())
-   *     .build();
-   *   ApiFuture<Void> future = tenantServiceClient.deleteTenantCallable().futureCall(request);
-   *   // Do something
-   *   future.get();
-   * }
-   * 
- */ - public final UnaryCallable deleteTenantCallable() { - return stub.deleteTenantCallable(); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Creates a new tenant entity. @@ -506,6 +415,98 @@ public final UnaryCallable updateTenantCallable() { return stub.updateTenantCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes specified tenant. + * + *

Sample code: + * + *


+   * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
+   *   TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
+   *   tenantServiceClient.deleteTenant(name);
+   * }
+   * 
+ * + * @param name Required. The resource name of the tenant to be deleted. + *

The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/foo/tenants/bar". + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteTenant(TenantName name) { + DeleteTenantRequest request = + DeleteTenantRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteTenant(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes specified tenant. + * + *

Sample code: + * + *


+   * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
+   *   TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
+   *   tenantServiceClient.deleteTenant(name.toString());
+   * }
+   * 
+ * + * @param name Required. The resource name of the tenant to be deleted. + *

The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/foo/tenants/bar". + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteTenant(String name) { + DeleteTenantRequest request = DeleteTenantRequest.newBuilder().setName(name).build(); + deleteTenant(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes specified tenant. + * + *

Sample code: + * + *


+   * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
+   *   TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
+   *   DeleteTenantRequest request = DeleteTenantRequest.newBuilder()
+   *     .setName(name.toString())
+   *     .build();
+   *   tenantServiceClient.deleteTenant(request);
+   * }
+   * 
+ * + * @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 + */ + public final void deleteTenant(DeleteTenantRequest request) { + deleteTenantCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes specified tenant. + * + *

Sample code: + * + *


+   * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
+   *   TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
+   *   DeleteTenantRequest request = DeleteTenantRequest.newBuilder()
+   *     .setName(name.toString())
+   *     .build();
+   *   ApiFuture<Void> future = tenantServiceClient.deleteTenantCallable().futureCall(request);
+   *   // Do something
+   *   future.get();
+   * }
+   * 
+ */ + public final UnaryCallable deleteTenantCallable() { + return stub.deleteTenantCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Lists all tenants associated with the project. diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java index cc6eba9d..154f2c45 100644 --- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java +++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java @@ -49,16 +49,16 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of deleteTenant to 30 seconds: + *

For example, to set the total timeout of createTenant to 30 seconds: * *

  * 
  * TenantServiceSettings.Builder tenantServiceSettingsBuilder =
  *     TenantServiceSettings.newBuilder();
  * tenantServiceSettingsBuilder
- *     .deleteTenantSettings()
+ *     .createTenantSettings()
  *     .setRetrySettings(
- *         tenantServiceSettingsBuilder.deleteTenantSettings().getRetrySettings().toBuilder()
+ *         tenantServiceSettingsBuilder.createTenantSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * TenantServiceSettings tenantServiceSettings = tenantServiceSettingsBuilder.build();
@@ -68,11 +68,6 @@
 @Generated("by gapic-generator")
 @BetaApi
 public class TenantServiceSettings extends ClientSettings {
-  /** Returns the object with the settings used for calls to deleteTenant. */
-  public UnaryCallSettings deleteTenantSettings() {
-    return ((TenantServiceStubSettings) getStubSettings()).deleteTenantSettings();
-  }
-
   /** Returns the object with the settings used for calls to createTenant. */
   public UnaryCallSettings createTenantSettings() {
     return ((TenantServiceStubSettings) getStubSettings()).createTenantSettings();
@@ -88,6 +83,11 @@ public UnaryCallSettings updateTenantSettings() {
     return ((TenantServiceStubSettings) getStubSettings()).updateTenantSettings();
   }
 
+  /** Returns the object with the settings used for calls to deleteTenant. */
+  public UnaryCallSettings deleteTenantSettings() {
+    return ((TenantServiceStubSettings) getStubSettings()).deleteTenantSettings();
+  }
+
   /** Returns the object with the settings used for calls to listTenants. */
   public PagedCallSettings
       listTenantsSettings() {
@@ -191,11 +191,6 @@ public Builder applyToAllUnaryMethods(
       return this;
     }
 
-    /** Returns the builder for the settings used for calls to deleteTenant. */
-    public UnaryCallSettings.Builder deleteTenantSettings() {
-      return getStubSettingsBuilder().deleteTenantSettings();
-    }
-
     /** Returns the builder for the settings used for calls to createTenant. */
     public UnaryCallSettings.Builder createTenantSettings() {
       return getStubSettingsBuilder().createTenantSettings();
@@ -211,6 +206,11 @@ public UnaryCallSettings.Builder updateTenantSettin
       return getStubSettingsBuilder().updateTenantSettings();
     }
 
+    /** Returns the builder for the settings used for calls to deleteTenant. */
+    public UnaryCallSettings.Builder deleteTenantSettings() {
+      return getStubSettingsBuilder().deleteTenantSettings();
+    }
+
     /** Returns the builder for the settings used for calls to listTenants. */
     public PagedCallSettings.Builder<
             ListTenantsRequest, ListTenantsResponse, ListTenantsPagedResponse>
diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java
index 7c905953..1f42c866 100644
--- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java
+++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java
@@ -29,8 +29,9 @@
  * 
  * 
  * try (ApplicationServiceClient applicationServiceClient = ApplicationServiceClient.create()) {
- *   ApplicationName name = ApplicationName.of("[PROJECT]", "[TENANT]", "[PROFILE]", "[APPLICATION]");
- *   applicationServiceClient.deleteApplication(name);
+ *   ProfileName parent = ProfileName.of("[PROJECT]", "[TENANT]", "[PROFILE]");
+ *   Application application = Application.newBuilder().build();
+ *   Application response = applicationServiceClient.createApplication(parent, application);
  * }
  * 
  * 
@@ -45,8 +46,9 @@ *
  * 
  * try (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
- *   CompanyName name = CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]");
- *   companyServiceClient.deleteCompany(name);
+ *   TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
+ *   Company company = Company.newBuilder().build();
+ *   Company response = companyServiceClient.createCompany(parent, company);
  * }
  * 
  * 
@@ -99,8 +101,9 @@ *
  * 
  * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
- *   JobName name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]");
- *   jobServiceClient.deleteJob(name);
+ *   TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
+ *   Job job = Job.newBuilder().build();
+ *   Job response = jobServiceClient.createJob(parent, job);
  * }
  * 
  * 
@@ -115,8 +118,9 @@ *
  * 
  * try (ProfileServiceClient profileServiceClient = ProfileServiceClient.create()) {
- *   ProfileName name = ProfileName.of("[PROJECT]", "[TENANT]", "[PROFILE]");
- *   profileServiceClient.deleteProfile(name);
+ *   TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
+ *   Profile profile = Profile.newBuilder().build();
+ *   Profile response = profileServiceClient.createProfile(parent, profile);
  * }
  * 
  * 
@@ -130,8 +134,9 @@ *
  * 
  * try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
- *   TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
- *   tenantServiceClient.deleteTenant(name);
+ *   ProjectName parent = ProjectName.of("[PROJECT]");
+ *   Tenant tenant = Tenant.newBuilder().build();
+ *   Tenant response = tenantServiceClient.createTenant(parent, tenant);
  * }
  * 
  * 
diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ApplicationServiceStub.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ApplicationServiceStub.java index 0ed41fdc..e40e3186 100644 --- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ApplicationServiceStub.java +++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ApplicationServiceStub.java @@ -40,10 +40,6 @@ @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public abstract class ApplicationServiceStub implements BackgroundResource { - public UnaryCallable deleteApplicationCallable() { - throw new UnsupportedOperationException("Not implemented: deleteApplicationCallable()"); - } - public UnaryCallable createApplicationCallable() { throw new UnsupportedOperationException("Not implemented: createApplicationCallable()"); } @@ -56,6 +52,10 @@ public UnaryCallable updateApplicationCal throw new UnsupportedOperationException("Not implemented: updateApplicationCallable()"); } + public UnaryCallable deleteApplicationCallable() { + throw new UnsupportedOperationException("Not implemented: deleteApplicationCallable()"); + } + public UnaryCallable listApplicationsPagedCallable() { throw new UnsupportedOperationException("Not implemented: listApplicationsPagedCallable()"); diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ApplicationServiceStubSettings.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ApplicationServiceStubSettings.java index b18811e4..95a69471 100644 --- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ApplicationServiceStubSettings.java +++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ApplicationServiceStubSettings.java @@ -71,16 +71,16 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of deleteApplication to 30 seconds: + *

For example, to set the total timeout of createApplication to 30 seconds: * *

  * 
  * ApplicationServiceStubSettings.Builder applicationServiceSettingsBuilder =
  *     ApplicationServiceStubSettings.newBuilder();
  * applicationServiceSettingsBuilder
- *     .deleteApplicationSettings()
+ *     .createApplicationSettings()
  *     .setRetrySettings(
- *         applicationServiceSettingsBuilder.deleteApplicationSettings().getRetrySettings().toBuilder()
+ *         applicationServiceSettingsBuilder.createApplicationSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ApplicationServiceStubSettings applicationServiceSettings = applicationServiceSettingsBuilder.build();
@@ -97,19 +97,14 @@ public class ApplicationServiceStubSettings extends StubSettings deleteApplicationSettings;
   private final UnaryCallSettings createApplicationSettings;
   private final UnaryCallSettings getApplicationSettings;
   private final UnaryCallSettings updateApplicationSettings;
+  private final UnaryCallSettings deleteApplicationSettings;
   private final PagedCallSettings<
           ListApplicationsRequest, ListApplicationsResponse, ListApplicationsPagedResponse>
       listApplicationsSettings;
 
-  /** Returns the object with the settings used for calls to deleteApplication. */
-  public UnaryCallSettings deleteApplicationSettings() {
-    return deleteApplicationSettings;
-  }
-
   /** Returns the object with the settings used for calls to createApplication. */
   public UnaryCallSettings createApplicationSettings() {
     return createApplicationSettings;
@@ -125,6 +120,11 @@ public UnaryCallSettings updateApplicatio
     return updateApplicationSettings;
   }
 
+  /** Returns the object with the settings used for calls to deleteApplication. */
+  public UnaryCallSettings deleteApplicationSettings() {
+    return deleteApplicationSettings;
+  }
+
   /** Returns the object with the settings used for calls to listApplications. */
   public PagedCallSettings<
           ListApplicationsRequest, ListApplicationsResponse, ListApplicationsPagedResponse>
@@ -201,10 +201,10 @@ public Builder toBuilder() {
   protected ApplicationServiceStubSettings(Builder settingsBuilder) throws IOException {
     super(settingsBuilder);
 
-    deleteApplicationSettings = settingsBuilder.deleteApplicationSettings().build();
     createApplicationSettings = settingsBuilder.createApplicationSettings().build();
     getApplicationSettings = settingsBuilder.getApplicationSettings().build();
     updateApplicationSettings = settingsBuilder.updateApplicationSettings().build();
+    deleteApplicationSettings = settingsBuilder.deleteApplicationSettings().build();
     listApplicationsSettings = settingsBuilder.listApplicationsSettings().build();
   }
 
@@ -272,14 +272,14 @@ public static class Builder
       extends StubSettings.Builder {
     private final ImmutableList> unaryMethodSettingsBuilders;
 
-    private final UnaryCallSettings.Builder
-        deleteApplicationSettings;
     private final UnaryCallSettings.Builder
         createApplicationSettings;
     private final UnaryCallSettings.Builder
         getApplicationSettings;
     private final UnaryCallSettings.Builder
         updateApplicationSettings;
+    private final UnaryCallSettings.Builder
+        deleteApplicationSettings;
     private final PagedCallSettings.Builder<
             ListApplicationsRequest, ListApplicationsResponse, ListApplicationsPagedResponse>
         listApplicationsSettings;
@@ -291,11 +291,48 @@ public static class Builder
       ImmutableMap.Builder> definitions =
           ImmutableMap.builder();
       definitions.put(
-          "idempotent",
+          "retry_policy_1_codes",
+          ImmutableSet.copyOf(
+              Lists.newArrayList(
+                  StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
+      definitions.put(
+          "no_retry_2_codes", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put(
+          "retry_policy_6_codes",
+          ImmutableSet.copyOf(
+              Lists.newArrayList(
+                  StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
+      definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put(
+          "no_retry_3_codes", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put(
+          "retry_policy_3_codes",
+          ImmutableSet.copyOf(
+              Lists.newArrayList(
+                  StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
+      definitions.put(
+          "retry_policy_2_codes",
           ImmutableSet.copyOf(
               Lists.newArrayList(
                   StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
-      definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put(
+          "retry_policy_4_codes",
+          ImmutableSet.copyOf(
+              Lists.newArrayList(
+                  StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
+      definitions.put(
+          "no_retry_4_codes", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put(
+          "no_retry_6_codes", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put(
+          "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put(
+          "retry_policy_5_codes",
+          ImmutableSet.copyOf(
+              Lists.newArrayList(
+                  StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
+      definitions.put(
+          "no_retry_5_codes", ImmutableSet.copyOf(Lists.newArrayList()));
       RETRYABLE_CODE_DEFINITIONS = definitions.build();
     }
 
@@ -304,17 +341,122 @@ public static class Builder
     static {
       ImmutableMap.Builder definitions = ImmutableMap.builder();
       RetrySettings settings = null;
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("no_retry_3_params", settings);
       settings =
           RetrySettings.newBuilder()
               .setInitialRetryDelay(Duration.ofMillis(100L))
               .setRetryDelayMultiplier(1.3)
               .setMaxRetryDelay(Duration.ofMillis(60000L))
-              .setInitialRpcTimeout(Duration.ofMillis(20000L))
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("retry_policy_6_params", settings);
+      settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build();
+      definitions.put("no_retry_params", settings);
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("no_retry_5_params", settings);
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("no_retry_1_params", settings);
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("no_retry_2_params", settings);
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
               .setRpcTimeoutMultiplier(1.0)
-              .setMaxRpcTimeout(Duration.ofMillis(20000L))
-              .setTotalTimeout(Duration.ofMillis(600000L))
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
               .build();
-      definitions.put("default", settings);
+      definitions.put("no_retry_4_params", settings);
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("no_retry_6_params", settings);
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRetryDelay(Duration.ofMillis(100L))
+              .setRetryDelayMultiplier(1.3)
+              .setMaxRetryDelay(Duration.ofMillis(60000L))
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("retry_policy_1_params", settings);
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRetryDelay(Duration.ofMillis(100L))
+              .setRetryDelayMultiplier(1.3)
+              .setMaxRetryDelay(Duration.ofMillis(60000L))
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("retry_policy_3_params", settings);
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRetryDelay(Duration.ofMillis(100L))
+              .setRetryDelayMultiplier(1.3)
+              .setMaxRetryDelay(Duration.ofMillis(60000L))
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("retry_policy_2_params", settings);
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRetryDelay(Duration.ofMillis(100L))
+              .setRetryDelayMultiplier(1.3)
+              .setMaxRetryDelay(Duration.ofMillis(60000L))
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("retry_policy_4_params", settings);
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRetryDelay(Duration.ofMillis(100L))
+              .setRetryDelayMultiplier(1.3)
+              .setMaxRetryDelay(Duration.ofMillis(60000L))
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("retry_policy_5_params", settings);
       RETRY_PARAM_DEFINITIONS = definitions.build();
     }
 
@@ -325,22 +467,22 @@ protected Builder() {
     protected Builder(ClientContext clientContext) {
       super(clientContext);
 
-      deleteApplicationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
-
       createApplicationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
       getApplicationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
       updateApplicationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
+      deleteApplicationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+
       listApplicationsSettings = PagedCallSettings.newBuilder(LIST_APPLICATIONS_PAGE_STR_FACT);
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
-              deleteApplicationSettings,
               createApplicationSettings,
               getApplicationSettings,
               updateApplicationSettings,
+              deleteApplicationSettings,
               listApplicationsSettings);
 
       initDefaults(this);
@@ -357,30 +499,30 @@ private static Builder createDefault() {
 
     private static Builder initDefaults(Builder builder) {
 
-      builder
-          .deleteApplicationSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
-
       builder
           .createApplicationSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_5_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_5_params"));
 
       builder
           .getApplicationSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params"));
 
       builder
           .updateApplicationSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_5_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_5_params"));
+
+      builder
+          .deleteApplicationSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params"));
 
       builder
           .listApplicationsSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params"));
 
       return builder;
     }
@@ -388,18 +530,18 @@ private static Builder initDefaults(Builder builder) {
     protected Builder(ApplicationServiceStubSettings settings) {
       super(settings);
 
-      deleteApplicationSettings = settings.deleteApplicationSettings.toBuilder();
       createApplicationSettings = settings.createApplicationSettings.toBuilder();
       getApplicationSettings = settings.getApplicationSettings.toBuilder();
       updateApplicationSettings = settings.updateApplicationSettings.toBuilder();
+      deleteApplicationSettings = settings.deleteApplicationSettings.toBuilder();
       listApplicationsSettings = settings.listApplicationsSettings.toBuilder();
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
-              deleteApplicationSettings,
               createApplicationSettings,
               getApplicationSettings,
               updateApplicationSettings,
+              deleteApplicationSettings,
               listApplicationsSettings);
     }
 
@@ -419,11 +561,6 @@ public Builder applyToAllUnaryMethods(
       return unaryMethodSettingsBuilders;
     }
 
-    /** Returns the builder for the settings used for calls to deleteApplication. */
-    public UnaryCallSettings.Builder deleteApplicationSettings() {
-      return deleteApplicationSettings;
-    }
-
     /** Returns the builder for the settings used for calls to createApplication. */
     public UnaryCallSettings.Builder
         createApplicationSettings() {
@@ -441,6 +578,11 @@ public UnaryCallSettings.Builder getApplicat
       return updateApplicationSettings;
     }
 
+    /** Returns the builder for the settings used for calls to deleteApplication. */
+    public UnaryCallSettings.Builder deleteApplicationSettings() {
+      return deleteApplicationSettings;
+    }
+
     /** Returns the builder for the settings used for calls to listApplications. */
     public PagedCallSettings.Builder<
             ListApplicationsRequest, ListApplicationsResponse, ListApplicationsPagedResponse>
diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java
index c781800f..263eb1d6 100644
--- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java
+++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java
@@ -40,10 +40,6 @@
 @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
 public abstract class CompanyServiceStub implements BackgroundResource {
 
-  public UnaryCallable deleteCompanyCallable() {
-    throw new UnsupportedOperationException("Not implemented: deleteCompanyCallable()");
-  }
-
   public UnaryCallable createCompanyCallable() {
     throw new UnsupportedOperationException("Not implemented: createCompanyCallable()");
   }
@@ -56,6 +52,10 @@ public UnaryCallable updateCompanyCallable() {
     throw new UnsupportedOperationException("Not implemented: updateCompanyCallable()");
   }
 
+  public UnaryCallable deleteCompanyCallable() {
+    throw new UnsupportedOperationException("Not implemented: deleteCompanyCallable()");
+  }
+
   public UnaryCallable
       listCompaniesPagedCallable() {
     throw new UnsupportedOperationException("Not implemented: listCompaniesPagedCallable()");
diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java
index 55b73fd6..e6f5c29e 100644
--- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java
+++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java
@@ -71,16 +71,16 @@
  * 

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of deleteCompany to 30 seconds: + *

For example, to set the total timeout of createCompany to 30 seconds: * *

  * 
  * CompanyServiceStubSettings.Builder companyServiceSettingsBuilder =
  *     CompanyServiceStubSettings.newBuilder();
  * companyServiceSettingsBuilder
- *     .deleteCompanySettings()
+ *     .createCompanySettings()
  *     .setRetrySettings(
- *         companyServiceSettingsBuilder.deleteCompanySettings().getRetrySettings().toBuilder()
+ *         companyServiceSettingsBuilder.createCompanySettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * CompanyServiceStubSettings companyServiceSettings = companyServiceSettingsBuilder.build();
@@ -97,19 +97,14 @@ public class CompanyServiceStubSettings extends StubSettings deleteCompanySettings;
   private final UnaryCallSettings createCompanySettings;
   private final UnaryCallSettings getCompanySettings;
   private final UnaryCallSettings updateCompanySettings;
+  private final UnaryCallSettings deleteCompanySettings;
   private final PagedCallSettings<
           ListCompaniesRequest, ListCompaniesResponse, ListCompaniesPagedResponse>
       listCompaniesSettings;
 
-  /** Returns the object with the settings used for calls to deleteCompany. */
-  public UnaryCallSettings deleteCompanySettings() {
-    return deleteCompanySettings;
-  }
-
   /** Returns the object with the settings used for calls to createCompany. */
   public UnaryCallSettings createCompanySettings() {
     return createCompanySettings;
@@ -125,6 +120,11 @@ public UnaryCallSettings updateCompanySettings()
     return updateCompanySettings;
   }
 
+  /** Returns the object with the settings used for calls to deleteCompany. */
+  public UnaryCallSettings deleteCompanySettings() {
+    return deleteCompanySettings;
+  }
+
   /** Returns the object with the settings used for calls to listCompanies. */
   public PagedCallSettings
       listCompaniesSettings() {
@@ -200,10 +200,10 @@ public Builder toBuilder() {
   protected CompanyServiceStubSettings(Builder settingsBuilder) throws IOException {
     super(settingsBuilder);
 
-    deleteCompanySettings = settingsBuilder.deleteCompanySettings().build();
     createCompanySettings = settingsBuilder.createCompanySettings().build();
     getCompanySettings = settingsBuilder.getCompanySettings().build();
     updateCompanySettings = settingsBuilder.updateCompanySettings().build();
+    deleteCompanySettings = settingsBuilder.deleteCompanySettings().build();
     listCompaniesSettings = settingsBuilder.listCompaniesSettings().build();
   }
 
@@ -264,10 +264,10 @@ public ApiFuture getFuturePagedResponse(
   public static class Builder extends StubSettings.Builder {
     private final ImmutableList> unaryMethodSettingsBuilders;
 
-    private final UnaryCallSettings.Builder deleteCompanySettings;
     private final UnaryCallSettings.Builder createCompanySettings;
     private final UnaryCallSettings.Builder getCompanySettings;
     private final UnaryCallSettings.Builder updateCompanySettings;
+    private final UnaryCallSettings.Builder deleteCompanySettings;
     private final PagedCallSettings.Builder<
             ListCompaniesRequest, ListCompaniesResponse, ListCompaniesPagedResponse>
         listCompaniesSettings;
@@ -279,11 +279,13 @@ public static class Builder extends StubSettings.Builder> definitions =
           ImmutableMap.builder();
       definitions.put(
-          "idempotent",
+          "no_retry_6_codes", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put(
+          "retry_policy_5_codes",
           ImmutableSet.copyOf(
               Lists.newArrayList(
                   StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
-      definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.newArrayList()));
       RETRYABLE_CODE_DEFINITIONS = definitions.build();
     }
 
@@ -297,12 +299,22 @@ public static class Builder extends StubSettings.Builder>of(
-              deleteCompanySettings,
               createCompanySettings,
               getCompanySettings,
               updateCompanySettings,
+              deleteCompanySettings,
               listCompaniesSettings);
 
       initDefaults(this);
@@ -345,30 +357,30 @@ private static Builder createDefault() {
 
     private static Builder initDefaults(Builder builder) {
 
-      builder
-          .deleteCompanySettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
-
       builder
           .createCompanySettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_6_params"));
 
       builder
           .getCompanySettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_5_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_5_params"));
 
       builder
           .updateCompanySettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_6_params"));
+
+      builder
+          .deleteCompanySettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_5_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_5_params"));
 
       builder
           .listCompaniesSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_5_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_5_params"));
 
       return builder;
     }
@@ -376,18 +388,18 @@ private static Builder initDefaults(Builder builder) {
     protected Builder(CompanyServiceStubSettings settings) {
       super(settings);
 
-      deleteCompanySettings = settings.deleteCompanySettings.toBuilder();
       createCompanySettings = settings.createCompanySettings.toBuilder();
       getCompanySettings = settings.getCompanySettings.toBuilder();
       updateCompanySettings = settings.updateCompanySettings.toBuilder();
+      deleteCompanySettings = settings.deleteCompanySettings.toBuilder();
       listCompaniesSettings = settings.listCompaniesSettings.toBuilder();
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
-              deleteCompanySettings,
               createCompanySettings,
               getCompanySettings,
               updateCompanySettings,
+              deleteCompanySettings,
               listCompaniesSettings);
     }
 
@@ -407,11 +419,6 @@ public Builder applyToAllUnaryMethods(
       return unaryMethodSettingsBuilders;
     }
 
-    /** Returns the builder for the settings used for calls to deleteCompany. */
-    public UnaryCallSettings.Builder deleteCompanySettings() {
-      return deleteCompanySettings;
-    }
-
     /** Returns the builder for the settings used for calls to createCompany. */
     public UnaryCallSettings.Builder createCompanySettings() {
       return createCompanySettings;
@@ -427,6 +434,11 @@ public UnaryCallSettings.Builder updateCompanySet
       return updateCompanySettings;
     }
 
+    /** Returns the builder for the settings used for calls to deleteCompany. */
+    public UnaryCallSettings.Builder deleteCompanySettings() {
+      return deleteCompanySettings;
+    }
+
     /** Returns the builder for the settings used for calls to listCompanies. */
     public PagedCallSettings.Builder<
             ListCompaniesRequest, ListCompaniesResponse, ListCompaniesPagedResponse>
diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java
index 03c3bcb4..c495de34 100644
--- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java
+++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java
@@ -176,11 +176,11 @@ public static class Builder extends StubSettings.Builder> definitions =
           ImmutableMap.builder();
       definitions.put(
-          "idempotent",
+          "retry_policy_6_codes",
           ImmutableSet.copyOf(
               Lists.newArrayList(
                   StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
-      definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList()));
       RETRYABLE_CODE_DEFINITIONS = definitions.build();
     }
 
@@ -194,12 +194,14 @@ public static class Builder extends StubSettings.Builder> definitions =
           ImmutableMap.builder();
+      definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList()));
       definitions.put(
-          "idempotent",
-          ImmutableSet.copyOf(
-              Lists.newArrayList(
-                  StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
-      definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.newArrayList()));
+          "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList()));
       RETRYABLE_CODE_DEFINITIONS = definitions.build();
     }
 
@@ -188,17 +185,16 @@ public static class Builder extends StubSettings.Builder definitions = ImmutableMap.builder();
       RetrySettings settings = null;
+      settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build();
+      definitions.put("no_retry_params", settings);
       settings =
           RetrySettings.newBuilder()
-              .setInitialRetryDelay(Duration.ofMillis(100L))
-              .setRetryDelayMultiplier(1.3)
-              .setMaxRetryDelay(Duration.ofMillis(60000L))
-              .setInitialRpcTimeout(Duration.ofMillis(20000L))
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
               .setRpcTimeoutMultiplier(1.0)
-              .setMaxRpcTimeout(Duration.ofMillis(20000L))
-              .setTotalTimeout(Duration.ofMillis(600000L))
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
               .build();
-      definitions.put("default", settings);
+      definitions.put("no_retry_1_params", settings);
       RETRY_PARAM_DEFINITIONS = definitions.build();
     }
 
@@ -230,8 +226,8 @@ private static Builder initDefaults(Builder builder) {
 
       builder
           .createClientEventSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       return builder;
     }
diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcApplicationServiceStub.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcApplicationServiceStub.java
index 90293fb2..7d0cfb68 100644
--- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcApplicationServiceStub.java
+++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcApplicationServiceStub.java
@@ -51,15 +51,6 @@
 @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
 public class GrpcApplicationServiceStub extends ApplicationServiceStub {
 
-  private static final MethodDescriptor
-      deleteApplicationMethodDescriptor =
-          MethodDescriptor.newBuilder()
-              .setType(MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName("google.cloud.talent.v4beta1.ApplicationService/DeleteApplication")
-              .setRequestMarshaller(
-                  ProtoUtils.marshaller(DeleteApplicationRequest.getDefaultInstance()))
-              .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance()))
-              .build();
   private static final MethodDescriptor
       createApplicationMethodDescriptor =
           MethodDescriptor.newBuilder()
@@ -87,6 +78,15 @@ public class GrpcApplicationServiceStub extends ApplicationServiceStub {
                   ProtoUtils.marshaller(UpdateApplicationRequest.getDefaultInstance()))
               .setResponseMarshaller(ProtoUtils.marshaller(Application.getDefaultInstance()))
               .build();
+  private static final MethodDescriptor
+      deleteApplicationMethodDescriptor =
+          MethodDescriptor.newBuilder()
+              .setType(MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName("google.cloud.talent.v4beta1.ApplicationService/DeleteApplication")
+              .setRequestMarshaller(
+                  ProtoUtils.marshaller(DeleteApplicationRequest.getDefaultInstance()))
+              .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance()))
+              .build();
   private static final MethodDescriptor
       listApplicationsMethodDescriptor =
           MethodDescriptor.newBuilder()
@@ -100,10 +100,10 @@ public class GrpcApplicationServiceStub extends ApplicationServiceStub {
 
   private final BackgroundResource backgroundResources;
 
-  private final UnaryCallable deleteApplicationCallable;
   private final UnaryCallable createApplicationCallable;
   private final UnaryCallable getApplicationCallable;
   private final UnaryCallable updateApplicationCallable;
+  private final UnaryCallable deleteApplicationCallable;
   private final UnaryCallable
       listApplicationsCallable;
   private final UnaryCallable
@@ -150,19 +150,6 @@ protected GrpcApplicationServiceStub(
       throws IOException {
     this.callableFactory = callableFactory;
 
-    GrpcCallSettings deleteApplicationTransportSettings =
-        GrpcCallSettings.newBuilder()
-            .setMethodDescriptor(deleteApplicationMethodDescriptor)
-            .setParamsExtractor(
-                new RequestParamsExtractor() {
-                  @Override
-                  public Map extract(DeleteApplicationRequest request) {
-                    ImmutableMap.Builder params = ImmutableMap.builder();
-                    params.put("name", String.valueOf(request.getName()));
-                    return params.build();
-                  }
-                })
-            .build();
     GrpcCallSettings createApplicationTransportSettings =
         GrpcCallSettings.newBuilder()
             .setMethodDescriptor(createApplicationMethodDescriptor)
@@ -203,6 +190,19 @@ public Map extract(UpdateApplicationRequest request) {
                   }
                 })
             .build();
+    GrpcCallSettings deleteApplicationTransportSettings =
+        GrpcCallSettings.newBuilder()
+            .setMethodDescriptor(deleteApplicationMethodDescriptor)
+            .setParamsExtractor(
+                new RequestParamsExtractor() {
+                  @Override
+                  public Map extract(DeleteApplicationRequest request) {
+                    ImmutableMap.Builder params = ImmutableMap.builder();
+                    params.put("name", String.valueOf(request.getName()));
+                    return params.build();
+                  }
+                })
+            .build();
     GrpcCallSettings
         listApplicationsTransportSettings =
             GrpcCallSettings.newBuilder()
@@ -218,11 +218,6 @@ public Map extract(ListApplicationsRequest request) {
                     })
                 .build();
 
-    this.deleteApplicationCallable =
-        callableFactory.createUnaryCallable(
-            deleteApplicationTransportSettings,
-            settings.deleteApplicationSettings(),
-            clientContext);
     this.createApplicationCallable =
         callableFactory.createUnaryCallable(
             createApplicationTransportSettings,
@@ -236,6 +231,11 @@ public Map extract(ListApplicationsRequest request) {
             updateApplicationTransportSettings,
             settings.updateApplicationSettings(),
             clientContext);
+    this.deleteApplicationCallable =
+        callableFactory.createUnaryCallable(
+            deleteApplicationTransportSettings,
+            settings.deleteApplicationSettings(),
+            clientContext);
     this.listApplicationsCallable =
         callableFactory.createUnaryCallable(
             listApplicationsTransportSettings, settings.listApplicationsSettings(), clientContext);
@@ -246,10 +246,6 @@ public Map extract(ListApplicationsRequest request) {
     backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources());
   }
 
-  public UnaryCallable deleteApplicationCallable() {
-    return deleteApplicationCallable;
-  }
-
   public UnaryCallable createApplicationCallable() {
     return createApplicationCallable;
   }
@@ -262,6 +258,10 @@ public UnaryCallable updateApplicationCal
     return updateApplicationCallable;
   }
 
+  public UnaryCallable deleteApplicationCallable() {
+    return deleteApplicationCallable;
+  }
+
   public UnaryCallable
       listApplicationsPagedCallable() {
     return listApplicationsPagedCallable;
diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
index 2beeb69b..732ae646 100644
--- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
+++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
@@ -51,13 +51,6 @@
 @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
 public class GrpcCompanyServiceStub extends CompanyServiceStub {
 
-  private static final MethodDescriptor deleteCompanyMethodDescriptor =
-      MethodDescriptor.newBuilder()
-          .setType(MethodDescriptor.MethodType.UNARY)
-          .setFullMethodName("google.cloud.talent.v4beta1.CompanyService/DeleteCompany")
-          .setRequestMarshaller(ProtoUtils.marshaller(DeleteCompanyRequest.getDefaultInstance()))
-          .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance()))
-          .build();
   private static final MethodDescriptor
       createCompanyMethodDescriptor =
           MethodDescriptor.newBuilder()
@@ -83,6 +76,13 @@ public class GrpcCompanyServiceStub extends CompanyServiceStub {
                   ProtoUtils.marshaller(UpdateCompanyRequest.getDefaultInstance()))
               .setResponseMarshaller(ProtoUtils.marshaller(Company.getDefaultInstance()))
               .build();
+  private static final MethodDescriptor deleteCompanyMethodDescriptor =
+      MethodDescriptor.newBuilder()
+          .setType(MethodDescriptor.MethodType.UNARY)
+          .setFullMethodName("google.cloud.talent.v4beta1.CompanyService/DeleteCompany")
+          .setRequestMarshaller(ProtoUtils.marshaller(DeleteCompanyRequest.getDefaultInstance()))
+          .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance()))
+          .build();
   private static final MethodDescriptor
       listCompaniesMethodDescriptor =
           MethodDescriptor.newBuilder()
@@ -96,10 +96,10 @@ public class GrpcCompanyServiceStub extends CompanyServiceStub {
 
   private final BackgroundResource backgroundResources;
 
-  private final UnaryCallable deleteCompanyCallable;
   private final UnaryCallable createCompanyCallable;
   private final UnaryCallable getCompanyCallable;
   private final UnaryCallable updateCompanyCallable;
+  private final UnaryCallable deleteCompanyCallable;
   private final UnaryCallable listCompaniesCallable;
   private final UnaryCallable
       listCompaniesPagedCallable;
@@ -145,19 +145,6 @@ protected GrpcCompanyServiceStub(
       throws IOException {
     this.callableFactory = callableFactory;
 
-    GrpcCallSettings deleteCompanyTransportSettings =
-        GrpcCallSettings.newBuilder()
-            .setMethodDescriptor(deleteCompanyMethodDescriptor)
-            .setParamsExtractor(
-                new RequestParamsExtractor() {
-                  @Override
-                  public Map extract(DeleteCompanyRequest request) {
-                    ImmutableMap.Builder params = ImmutableMap.builder();
-                    params.put("name", String.valueOf(request.getName()));
-                    return params.build();
-                  }
-                })
-            .build();
     GrpcCallSettings createCompanyTransportSettings =
         GrpcCallSettings.newBuilder()
             .setMethodDescriptor(createCompanyMethodDescriptor)
@@ -197,6 +184,19 @@ public Map extract(UpdateCompanyRequest request) {
                   }
                 })
             .build();
+    GrpcCallSettings deleteCompanyTransportSettings =
+        GrpcCallSettings.newBuilder()
+            .setMethodDescriptor(deleteCompanyMethodDescriptor)
+            .setParamsExtractor(
+                new RequestParamsExtractor() {
+                  @Override
+                  public Map extract(DeleteCompanyRequest request) {
+                    ImmutableMap.Builder params = ImmutableMap.builder();
+                    params.put("name", String.valueOf(request.getName()));
+                    return params.build();
+                  }
+                })
+            .build();
     GrpcCallSettings listCompaniesTransportSettings =
         GrpcCallSettings.newBuilder()
             .setMethodDescriptor(listCompaniesMethodDescriptor)
@@ -211,9 +211,6 @@ public Map extract(ListCompaniesRequest request) {
                 })
             .build();
 
-    this.deleteCompanyCallable =
-        callableFactory.createUnaryCallable(
-            deleteCompanyTransportSettings, settings.deleteCompanySettings(), clientContext);
     this.createCompanyCallable =
         callableFactory.createUnaryCallable(
             createCompanyTransportSettings, settings.createCompanySettings(), clientContext);
@@ -223,6 +220,9 @@ public Map extract(ListCompaniesRequest request) {
     this.updateCompanyCallable =
         callableFactory.createUnaryCallable(
             updateCompanyTransportSettings, settings.updateCompanySettings(), clientContext);
+    this.deleteCompanyCallable =
+        callableFactory.createUnaryCallable(
+            deleteCompanyTransportSettings, settings.deleteCompanySettings(), clientContext);
     this.listCompaniesCallable =
         callableFactory.createUnaryCallable(
             listCompaniesTransportSettings, settings.listCompaniesSettings(), clientContext);
@@ -233,10 +233,6 @@ public Map extract(ListCompaniesRequest request) {
     backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources());
   }
 
-  public UnaryCallable deleteCompanyCallable() {
-    return deleteCompanyCallable;
-  }
-
   public UnaryCallable createCompanyCallable() {
     return createCompanyCallable;
   }
@@ -249,6 +245,10 @@ public UnaryCallable updateCompanyCallable() {
     return updateCompanyCallable;
   }
 
+  public UnaryCallable deleteCompanyCallable() {
+    return deleteCompanyCallable;
+  }
+
   public UnaryCallable
       listCompaniesPagedCallable() {
     return listCompaniesPagedCallable;
diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
index c605e6d4..f4199699 100644
--- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
+++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
@@ -63,13 +63,6 @@
 @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
 public class GrpcJobServiceStub extends JobServiceStub {
 
-  private static final MethodDescriptor deleteJobMethodDescriptor =
-      MethodDescriptor.newBuilder()
-          .setType(MethodDescriptor.MethodType.UNARY)
-          .setFullMethodName("google.cloud.talent.v4beta1.JobService/DeleteJob")
-          .setRequestMarshaller(ProtoUtils.marshaller(DeleteJobRequest.getDefaultInstance()))
-          .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance()))
-          .build();
   private static final MethodDescriptor createJobMethodDescriptor =
       MethodDescriptor.newBuilder()
           .setType(MethodDescriptor.MethodType.UNARY)
@@ -109,6 +102,13 @@ public class GrpcJobServiceStub extends JobServiceStub {
                   ProtoUtils.marshaller(BatchUpdateJobsRequest.getDefaultInstance()))
               .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
               .build();
+  private static final MethodDescriptor deleteJobMethodDescriptor =
+      MethodDescriptor.newBuilder()
+          .setType(MethodDescriptor.MethodType.UNARY)
+          .setFullMethodName("google.cloud.talent.v4beta1.JobService/DeleteJob")
+          .setRequestMarshaller(ProtoUtils.marshaller(DeleteJobRequest.getDefaultInstance()))
+          .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance()))
+          .build();
   private static final MethodDescriptor
       batchDeleteJobsMethodDescriptor =
           MethodDescriptor.newBuilder()
@@ -146,7 +146,6 @@ public class GrpcJobServiceStub extends JobServiceStub {
   private final BackgroundResource backgroundResources;
   private final GrpcOperationsStub operationsStub;
 
-  private final UnaryCallable deleteJobCallable;
   private final UnaryCallable createJobCallable;
   private final UnaryCallable batchCreateJobsCallable;
   private final OperationCallable<
@@ -158,6 +157,7 @@ public class GrpcJobServiceStub extends JobServiceStub {
   private final OperationCallable<
           BatchUpdateJobsRequest, JobOperationResult, BatchOperationMetadata>
       batchUpdateJobsOperationCallable;
+  private final UnaryCallable deleteJobCallable;
   private final UnaryCallable batchDeleteJobsCallable;
   private final UnaryCallable listJobsCallable;
   private final UnaryCallable listJobsPagedCallable;
@@ -207,19 +207,6 @@ protected GrpcJobServiceStub(
     this.callableFactory = callableFactory;
     this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
 
-    GrpcCallSettings deleteJobTransportSettings =
-        GrpcCallSettings.newBuilder()
-            .setMethodDescriptor(deleteJobMethodDescriptor)
-            .setParamsExtractor(
-                new RequestParamsExtractor() {
-                  @Override
-                  public Map extract(DeleteJobRequest request) {
-                    ImmutableMap.Builder params = ImmutableMap.builder();
-                    params.put("name", String.valueOf(request.getName()));
-                    return params.build();
-                  }
-                })
-            .build();
     GrpcCallSettings createJobTransportSettings =
         GrpcCallSettings.newBuilder()
             .setMethodDescriptor(createJobMethodDescriptor)
@@ -285,6 +272,19 @@ public Map extract(BatchUpdateJobsRequest request) {
                   }
                 })
             .build();
+    GrpcCallSettings deleteJobTransportSettings =
+        GrpcCallSettings.newBuilder()
+            .setMethodDescriptor(deleteJobMethodDescriptor)
+            .setParamsExtractor(
+                new RequestParamsExtractor() {
+                  @Override
+                  public Map extract(DeleteJobRequest request) {
+                    ImmutableMap.Builder params = ImmutableMap.builder();
+                    params.put("name", String.valueOf(request.getName()));
+                    return params.build();
+                  }
+                })
+            .build();
     GrpcCallSettings batchDeleteJobsTransportSettings =
         GrpcCallSettings.newBuilder()
             .setMethodDescriptor(batchDeleteJobsMethodDescriptor)
@@ -338,9 +338,6 @@ public Map extract(SearchJobsRequest request) {
                 })
             .build();
 
-    this.deleteJobCallable =
-        callableFactory.createUnaryCallable(
-            deleteJobTransportSettings, settings.deleteJobSettings(), clientContext);
     this.createJobCallable =
         callableFactory.createUnaryCallable(
             createJobTransportSettings, settings.createJobSettings(), clientContext);
@@ -368,6 +365,9 @@ public Map extract(SearchJobsRequest request) {
             settings.batchUpdateJobsOperationSettings(),
             clientContext,
             this.operationsStub);
+    this.deleteJobCallable =
+        callableFactory.createUnaryCallable(
+            deleteJobTransportSettings, settings.deleteJobSettings(), clientContext);
     this.batchDeleteJobsCallable =
         callableFactory.createUnaryCallable(
             batchDeleteJobsTransportSettings, settings.batchDeleteJobsSettings(), clientContext);
@@ -402,10 +402,6 @@ public GrpcOperationsStub getOperationsStub() {
     return operationsStub;
   }
 
-  public UnaryCallable deleteJobCallable() {
-    return deleteJobCallable;
-  }
-
   public UnaryCallable createJobCallable() {
     return createJobCallable;
   }
@@ -438,6 +434,10 @@ public UnaryCallable batchUpdateJobsCallable(
     return batchUpdateJobsCallable;
   }
 
+  public UnaryCallable deleteJobCallable() {
+    return deleteJobCallable;
+  }
+
   public UnaryCallable batchDeleteJobsCallable() {
     return batchDeleteJobsCallable;
   }
diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcProfileServiceStub.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcProfileServiceStub.java
index 3224b2b4..646753e1 100644
--- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcProfileServiceStub.java
+++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcProfileServiceStub.java
@@ -54,13 +54,6 @@
 @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
 public class GrpcProfileServiceStub extends ProfileServiceStub {
 
-  private static final MethodDescriptor deleteProfileMethodDescriptor =
-      MethodDescriptor.newBuilder()
-          .setType(MethodDescriptor.MethodType.UNARY)
-          .setFullMethodName("google.cloud.talent.v4beta1.ProfileService/DeleteProfile")
-          .setRequestMarshaller(ProtoUtils.marshaller(DeleteProfileRequest.getDefaultInstance()))
-          .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance()))
-          .build();
   private static final MethodDescriptor
       searchProfilesMethodDescriptor =
           MethodDescriptor.newBuilder()
@@ -105,10 +98,16 @@ public class GrpcProfileServiceStub extends ProfileServiceStub {
                   ProtoUtils.marshaller(UpdateProfileRequest.getDefaultInstance()))
               .setResponseMarshaller(ProtoUtils.marshaller(Profile.getDefaultInstance()))
               .build();
+  private static final MethodDescriptor deleteProfileMethodDescriptor =
+      MethodDescriptor.newBuilder()
+          .setType(MethodDescriptor.MethodType.UNARY)
+          .setFullMethodName("google.cloud.talent.v4beta1.ProfileService/DeleteProfile")
+          .setRequestMarshaller(ProtoUtils.marshaller(DeleteProfileRequest.getDefaultInstance()))
+          .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance()))
+          .build();
 
   private final BackgroundResource backgroundResources;
 
-  private final UnaryCallable deleteProfileCallable;
   private final UnaryCallable searchProfilesCallable;
   private final UnaryCallable
       searchProfilesPagedCallable;
@@ -118,6 +117,7 @@ public class GrpcProfileServiceStub extends ProfileServiceStub {
   private final UnaryCallable createProfileCallable;
   private final UnaryCallable getProfileCallable;
   private final UnaryCallable updateProfileCallable;
+  private final UnaryCallable deleteProfileCallable;
 
   private final GrpcStubCallableFactory callableFactory;
 
@@ -160,19 +160,6 @@ protected GrpcProfileServiceStub(
       throws IOException {
     this.callableFactory = callableFactory;
 
-    GrpcCallSettings deleteProfileTransportSettings =
-        GrpcCallSettings.newBuilder()
-            .setMethodDescriptor(deleteProfileMethodDescriptor)
-            .setParamsExtractor(
-                new RequestParamsExtractor() {
-                  @Override
-                  public Map extract(DeleteProfileRequest request) {
-                    ImmutableMap.Builder params = ImmutableMap.builder();
-                    params.put("name", String.valueOf(request.getName()));
-                    return params.build();
-                  }
-                })
-            .build();
     GrpcCallSettings
         searchProfilesTransportSettings =
             GrpcCallSettings.newBuilder()
@@ -239,10 +226,20 @@ public Map extract(UpdateProfileRequest request) {
                   }
                 })
             .build();
+    GrpcCallSettings deleteProfileTransportSettings =
+        GrpcCallSettings.newBuilder()
+            .setMethodDescriptor(deleteProfileMethodDescriptor)
+            .setParamsExtractor(
+                new RequestParamsExtractor() {
+                  @Override
+                  public Map extract(DeleteProfileRequest request) {
+                    ImmutableMap.Builder params = ImmutableMap.builder();
+                    params.put("name", String.valueOf(request.getName()));
+                    return params.build();
+                  }
+                })
+            .build();
 
-    this.deleteProfileCallable =
-        callableFactory.createUnaryCallable(
-            deleteProfileTransportSettings, settings.deleteProfileSettings(), clientContext);
     this.searchProfilesCallable =
         callableFactory.createUnaryCallable(
             searchProfilesTransportSettings, settings.searchProfilesSettings(), clientContext);
@@ -264,14 +261,13 @@ public Map extract(UpdateProfileRequest request) {
     this.updateProfileCallable =
         callableFactory.createUnaryCallable(
             updateProfileTransportSettings, settings.updateProfileSettings(), clientContext);
+    this.deleteProfileCallable =
+        callableFactory.createUnaryCallable(
+            deleteProfileTransportSettings, settings.deleteProfileSettings(), clientContext);
 
     backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources());
   }
 
-  public UnaryCallable deleteProfileCallable() {
-    return deleteProfileCallable;
-  }
-
   public UnaryCallable
       searchProfilesPagedCallable() {
     return searchProfilesPagedCallable;
@@ -301,6 +297,10 @@ public UnaryCallable updateProfileCallable() {
     return updateProfileCallable;
   }
 
+  public UnaryCallable deleteProfileCallable() {
+    return deleteProfileCallable;
+  }
+
   @Override
   public final void close() {
     shutdown();
diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
index 60fadda0..92821cdf 100644
--- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
+++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
@@ -51,13 +51,6 @@
 @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
 public class GrpcTenantServiceStub extends TenantServiceStub {
 
-  private static final MethodDescriptor deleteTenantMethodDescriptor =
-      MethodDescriptor.newBuilder()
-          .setType(MethodDescriptor.MethodType.UNARY)
-          .setFullMethodName("google.cloud.talent.v4beta1.TenantService/DeleteTenant")
-          .setRequestMarshaller(ProtoUtils.marshaller(DeleteTenantRequest.getDefaultInstance()))
-          .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance()))
-          .build();
   private static final MethodDescriptor createTenantMethodDescriptor =
       MethodDescriptor.newBuilder()
           .setType(MethodDescriptor.MethodType.UNARY)
@@ -79,6 +72,13 @@ public class GrpcTenantServiceStub extends TenantServiceStub {
           .setRequestMarshaller(ProtoUtils.marshaller(UpdateTenantRequest.getDefaultInstance()))
           .setResponseMarshaller(ProtoUtils.marshaller(Tenant.getDefaultInstance()))
           .build();
+  private static final MethodDescriptor deleteTenantMethodDescriptor =
+      MethodDescriptor.newBuilder()
+          .setType(MethodDescriptor.MethodType.UNARY)
+          .setFullMethodName("google.cloud.talent.v4beta1.TenantService/DeleteTenant")
+          .setRequestMarshaller(ProtoUtils.marshaller(DeleteTenantRequest.getDefaultInstance()))
+          .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance()))
+          .build();
   private static final MethodDescriptor
       listTenantsMethodDescriptor =
           MethodDescriptor.newBuilder()
@@ -91,10 +91,10 @@ public class GrpcTenantServiceStub extends TenantServiceStub {
 
   private final BackgroundResource backgroundResources;
 
-  private final UnaryCallable deleteTenantCallable;
   private final UnaryCallable createTenantCallable;
   private final UnaryCallable getTenantCallable;
   private final UnaryCallable updateTenantCallable;
+  private final UnaryCallable deleteTenantCallable;
   private final UnaryCallable listTenantsCallable;
   private final UnaryCallable
       listTenantsPagedCallable;
@@ -138,19 +138,6 @@ protected GrpcTenantServiceStub(
       throws IOException {
     this.callableFactory = callableFactory;
 
-    GrpcCallSettings deleteTenantTransportSettings =
-        GrpcCallSettings.newBuilder()
-            .setMethodDescriptor(deleteTenantMethodDescriptor)
-            .setParamsExtractor(
-                new RequestParamsExtractor() {
-                  @Override
-                  public Map extract(DeleteTenantRequest request) {
-                    ImmutableMap.Builder params = ImmutableMap.builder();
-                    params.put("name", String.valueOf(request.getName()));
-                    return params.build();
-                  }
-                })
-            .build();
     GrpcCallSettings createTenantTransportSettings =
         GrpcCallSettings.newBuilder()
             .setMethodDescriptor(createTenantMethodDescriptor)
@@ -190,6 +177,19 @@ public Map extract(UpdateTenantRequest request) {
                   }
                 })
             .build();
+    GrpcCallSettings deleteTenantTransportSettings =
+        GrpcCallSettings.newBuilder()
+            .setMethodDescriptor(deleteTenantMethodDescriptor)
+            .setParamsExtractor(
+                new RequestParamsExtractor() {
+                  @Override
+                  public Map extract(DeleteTenantRequest request) {
+                    ImmutableMap.Builder params = ImmutableMap.builder();
+                    params.put("name", String.valueOf(request.getName()));
+                    return params.build();
+                  }
+                })
+            .build();
     GrpcCallSettings listTenantsTransportSettings =
         GrpcCallSettings.newBuilder()
             .setMethodDescriptor(listTenantsMethodDescriptor)
@@ -204,9 +204,6 @@ public Map extract(ListTenantsRequest request) {
                 })
             .build();
 
-    this.deleteTenantCallable =
-        callableFactory.createUnaryCallable(
-            deleteTenantTransportSettings, settings.deleteTenantSettings(), clientContext);
     this.createTenantCallable =
         callableFactory.createUnaryCallable(
             createTenantTransportSettings, settings.createTenantSettings(), clientContext);
@@ -216,6 +213,9 @@ public Map extract(ListTenantsRequest request) {
     this.updateTenantCallable =
         callableFactory.createUnaryCallable(
             updateTenantTransportSettings, settings.updateTenantSettings(), clientContext);
+    this.deleteTenantCallable =
+        callableFactory.createUnaryCallable(
+            deleteTenantTransportSettings, settings.deleteTenantSettings(), clientContext);
     this.listTenantsCallable =
         callableFactory.createUnaryCallable(
             listTenantsTransportSettings, settings.listTenantsSettings(), clientContext);
@@ -226,10 +226,6 @@ public Map extract(ListTenantsRequest request) {
     backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources());
   }
 
-  public UnaryCallable deleteTenantCallable() {
-    return deleteTenantCallable;
-  }
-
   public UnaryCallable createTenantCallable() {
     return createTenantCallable;
   }
@@ -242,6 +238,10 @@ public UnaryCallable updateTenantCallable() {
     return updateTenantCallable;
   }
 
+  public UnaryCallable deleteTenantCallable() {
+    return deleteTenantCallable;
+  }
+
   public UnaryCallable listTenantsPagedCallable() {
     return listTenantsPagedCallable;
   }
diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java
index 0e14e039..86474e0e 100644
--- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java
+++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java
@@ -57,10 +57,6 @@ public OperationsStub getOperationsStub() {
     throw new UnsupportedOperationException("Not implemented: getOperationsStub()");
   }
 
-  public UnaryCallable deleteJobCallable() {
-    throw new UnsupportedOperationException("Not implemented: deleteJobCallable()");
-  }
-
   public UnaryCallable createJobCallable() {
     throw new UnsupportedOperationException("Not implemented: createJobCallable()");
   }
@@ -93,6 +89,10 @@ public UnaryCallable batchUpdateJobsCallable(
     throw new UnsupportedOperationException("Not implemented: batchUpdateJobsCallable()");
   }
 
+  public UnaryCallable deleteJobCallable() {
+    throw new UnsupportedOperationException("Not implemented: deleteJobCallable()");
+  }
+
   public UnaryCallable batchDeleteJobsCallable() {
     throw new UnsupportedOperationException("Not implemented: batchDeleteJobsCallable()");
   }
diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java
index dde89e8b..f3cf4158 100644
--- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java
+++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java
@@ -85,16 +85,16 @@
  * 

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of deleteJob to 30 seconds: + *

For example, to set the total timeout of createJob to 30 seconds: * *

  * 
  * JobServiceStubSettings.Builder jobServiceSettingsBuilder =
  *     JobServiceStubSettings.newBuilder();
  * jobServiceSettingsBuilder
- *     .deleteJobSettings()
+ *     .createJobSettings()
  *     .setRetrySettings(
- *         jobServiceSettingsBuilder.deleteJobSettings().getRetrySettings().toBuilder()
+ *         jobServiceSettingsBuilder.createJobSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * JobServiceStubSettings jobServiceSettings = jobServiceSettingsBuilder.build();
@@ -111,7 +111,6 @@ public class JobServiceStubSettings extends StubSettings
           .add("https://www.googleapis.com/auth/jobs")
           .build();
 
-  private final UnaryCallSettings deleteJobSettings;
   private final UnaryCallSettings createJobSettings;
   private final UnaryCallSettings batchCreateJobsSettings;
   private final OperationCallSettings<
@@ -123,6 +122,7 @@ public class JobServiceStubSettings extends StubSettings
   private final OperationCallSettings<
           BatchUpdateJobsRequest, JobOperationResult, BatchOperationMetadata>
       batchUpdateJobsOperationSettings;
+  private final UnaryCallSettings deleteJobSettings;
   private final UnaryCallSettings batchDeleteJobsSettings;
   private final PagedCallSettings
       listJobsSettings;
@@ -132,11 +132,6 @@ public class JobServiceStubSettings extends StubSettings
           SearchJobsRequest, SearchJobsResponse, SearchJobsForAlertPagedResponse>
       searchJobsForAlertSettings;
 
-  /** Returns the object with the settings used for calls to deleteJob. */
-  public UnaryCallSettings deleteJobSettings() {
-    return deleteJobSettings;
-  }
-
   /** Returns the object with the settings used for calls to createJob. */
   public UnaryCallSettings createJobSettings() {
     return createJobSettings;
@@ -176,6 +171,11 @@ public UnaryCallSettings batchUpdateJobsSetti
     return batchUpdateJobsOperationSettings;
   }
 
+  /** Returns the object with the settings used for calls to deleteJob. */
+  public UnaryCallSettings deleteJobSettings() {
+    return deleteJobSettings;
+  }
+
   /** Returns the object with the settings used for calls to batchDeleteJobs. */
   public UnaryCallSettings batchDeleteJobsSettings() {
     return batchDeleteJobsSettings;
@@ -268,7 +268,6 @@ public Builder toBuilder() {
   protected JobServiceStubSettings(Builder settingsBuilder) throws IOException {
     super(settingsBuilder);
 
-    deleteJobSettings = settingsBuilder.deleteJobSettings().build();
     createJobSettings = settingsBuilder.createJobSettings().build();
     batchCreateJobsSettings = settingsBuilder.batchCreateJobsSettings().build();
     batchCreateJobsOperationSettings = settingsBuilder.batchCreateJobsOperationSettings().build();
@@ -276,6 +275,7 @@ protected JobServiceStubSettings(Builder settingsBuilder) throws IOException {
     updateJobSettings = settingsBuilder.updateJobSettings().build();
     batchUpdateJobsSettings = settingsBuilder.batchUpdateJobsSettings().build();
     batchUpdateJobsOperationSettings = settingsBuilder.batchUpdateJobsOperationSettings().build();
+    deleteJobSettings = settingsBuilder.deleteJobSettings().build();
     batchDeleteJobsSettings = settingsBuilder.batchDeleteJobsSettings().build();
     listJobsSettings = settingsBuilder.listJobsSettings().build();
     searchJobsSettings = settingsBuilder.searchJobsSettings().build();
@@ -453,7 +453,6 @@ public ApiFuture getFuturePagedResponse(
   public static class Builder extends StubSettings.Builder {
     private final ImmutableList> unaryMethodSettingsBuilders;
 
-    private final UnaryCallSettings.Builder deleteJobSettings;
     private final UnaryCallSettings.Builder createJobSettings;
     private final UnaryCallSettings.Builder
         batchCreateJobsSettings;
@@ -467,6 +466,7 @@ public static class Builder extends StubSettings.Builder
         batchUpdateJobsOperationSettings;
+    private final UnaryCallSettings.Builder deleteJobSettings;
     private final UnaryCallSettings.Builder batchDeleteJobsSettings;
     private final PagedCallSettings.Builder<
             ListJobsRequest, ListJobsResponse, ListJobsPagedResponse>
@@ -484,12 +484,14 @@ public static class Builder extends StubSettings.Builder> definitions =
           ImmutableMap.builder();
+      definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put(
+          "no_retry_3_codes", ImmutableSet.copyOf(Lists.newArrayList()));
       definitions.put(
-          "idempotent",
+          "retry_policy_3_codes",
           ImmutableSet.copyOf(
               Lists.newArrayList(
                   StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
-      definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.newArrayList()));
       RETRYABLE_CODE_DEFINITIONS = definitions.build();
     }
 
@@ -498,17 +500,27 @@ public static class Builder extends StubSettings.Builder definitions = ImmutableMap.builder();
       RetrySettings settings = null;
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("no_retry_3_params", settings);
       settings =
           RetrySettings.newBuilder()
               .setInitialRetryDelay(Duration.ofMillis(100L))
               .setRetryDelayMultiplier(1.3)
               .setMaxRetryDelay(Duration.ofMillis(60000L))
-              .setInitialRpcTimeout(Duration.ofMillis(20000L))
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
               .setRpcTimeoutMultiplier(1.0)
-              .setMaxRpcTimeout(Duration.ofMillis(20000L))
-              .setTotalTimeout(Duration.ofMillis(600000L))
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
               .build();
-      definitions.put("default", settings);
+      definitions.put("retry_policy_3_params", settings);
+      settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build();
+      definitions.put("no_retry_params", settings);
       RETRY_PARAM_DEFINITIONS = definitions.build();
     }
 
@@ -519,8 +531,6 @@ protected Builder() {
     protected Builder(ClientContext clientContext) {
       super(clientContext);
 
-      deleteJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
-
       createJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
       batchCreateJobsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
@@ -535,6 +545,8 @@ protected Builder(ClientContext clientContext) {
 
       batchUpdateJobsOperationSettings = OperationCallSettings.newBuilder();
 
+      deleteJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+
       batchDeleteJobsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
       listJobsSettings = PagedCallSettings.newBuilder(LIST_JOBS_PAGE_STR_FACT);
@@ -546,12 +558,12 @@ protected Builder(ClientContext clientContext) {
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
-              deleteJobSettings,
               createJobSettings,
               batchCreateJobsSettings,
               getJobSettings,
               updateJobSettings,
               batchUpdateJobsSettings,
+              deleteJobSettings,
               batchDeleteJobsSettings,
               listJobsSettings,
               searchJobsSettings,
@@ -571,62 +583,62 @@ private static Builder createDefault() {
 
     private static Builder initDefaults(Builder builder) {
 
-      builder
-          .deleteJobSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
-
       builder
           .createJobSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params"));
 
       builder
           .batchCreateJobsSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params"));
 
       builder
           .getJobSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_3_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_3_params"));
 
       builder
           .updateJobSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params"));
 
       builder
           .batchUpdateJobsSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params"));
+
+      builder
+          .deleteJobSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_3_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_3_params"));
 
       builder
           .batchDeleteJobsSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params"));
 
       builder
           .listJobsSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_3_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_3_params"));
 
       builder
           .searchJobsSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params"));
 
       builder
           .searchJobsForAlertSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params"));
       builder
           .batchCreateJobsOperationSettings()
           .setInitialCallSettings(
               UnaryCallSettings
                   .newUnaryCallSettingsBuilder()
-                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-                  .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"))
+                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes"))
+                  .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params"))
                   .build())
           .setResponseTransformer(
               ProtoOperationTransformers.ResponseTransformer.create(JobOperationResult.class))
@@ -648,8 +660,8 @@ private static Builder initDefaults(Builder builder) {
           .setInitialCallSettings(
               UnaryCallSettings
                   .newUnaryCallSettingsBuilder()
-                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-                  .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"))
+                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes"))
+                  .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params"))
                   .build())
           .setResponseTransformer(
               ProtoOperationTransformers.ResponseTransformer.create(JobOperationResult.class))
@@ -673,7 +685,6 @@ private static Builder initDefaults(Builder builder) {
     protected Builder(JobServiceStubSettings settings) {
       super(settings);
 
-      deleteJobSettings = settings.deleteJobSettings.toBuilder();
       createJobSettings = settings.createJobSettings.toBuilder();
       batchCreateJobsSettings = settings.batchCreateJobsSettings.toBuilder();
       batchCreateJobsOperationSettings = settings.batchCreateJobsOperationSettings.toBuilder();
@@ -681,6 +692,7 @@ protected Builder(JobServiceStubSettings settings) {
       updateJobSettings = settings.updateJobSettings.toBuilder();
       batchUpdateJobsSettings = settings.batchUpdateJobsSettings.toBuilder();
       batchUpdateJobsOperationSettings = settings.batchUpdateJobsOperationSettings.toBuilder();
+      deleteJobSettings = settings.deleteJobSettings.toBuilder();
       batchDeleteJobsSettings = settings.batchDeleteJobsSettings.toBuilder();
       listJobsSettings = settings.listJobsSettings.toBuilder();
       searchJobsSettings = settings.searchJobsSettings.toBuilder();
@@ -688,12 +700,12 @@ protected Builder(JobServiceStubSettings settings) {
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
-              deleteJobSettings,
               createJobSettings,
               batchCreateJobsSettings,
               getJobSettings,
               updateJobSettings,
               batchUpdateJobsSettings,
+              deleteJobSettings,
               batchDeleteJobsSettings,
               listJobsSettings,
               searchJobsSettings,
@@ -716,11 +728,6 @@ public Builder applyToAllUnaryMethods(
       return unaryMethodSettingsBuilders;
     }
 
-    /** Returns the builder for the settings used for calls to deleteJob. */
-    public UnaryCallSettings.Builder deleteJobSettings() {
-      return deleteJobSettings;
-    }
-
     /** Returns the builder for the settings used for calls to createJob. */
     public UnaryCallSettings.Builder createJobSettings() {
       return createJobSettings;
@@ -764,6 +771,11 @@ public UnaryCallSettings.Builder batchUpdateJ
       return batchUpdateJobsOperationSettings;
     }
 
+    /** Returns the builder for the settings used for calls to deleteJob. */
+    public UnaryCallSettings.Builder deleteJobSettings() {
+      return deleteJobSettings;
+    }
+
     /** Returns the builder for the settings used for calls to batchDeleteJobs. */
     public UnaryCallSettings.Builder batchDeleteJobsSettings() {
       return batchDeleteJobsSettings;
diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ProfileServiceStub.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ProfileServiceStub.java
index 5dec1a12..556089e8 100644
--- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ProfileServiceStub.java
+++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ProfileServiceStub.java
@@ -43,10 +43,6 @@
 @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
 public abstract class ProfileServiceStub implements BackgroundResource {
 
-  public UnaryCallable deleteProfileCallable() {
-    throw new UnsupportedOperationException("Not implemented: deleteProfileCallable()");
-  }
-
   public UnaryCallable
       searchProfilesPagedCallable() {
     throw new UnsupportedOperationException("Not implemented: searchProfilesPagedCallable()");
@@ -76,6 +72,10 @@ public UnaryCallable updateProfileCallable() {
     throw new UnsupportedOperationException("Not implemented: updateProfileCallable()");
   }
 
+  public UnaryCallable deleteProfileCallable() {
+    throw new UnsupportedOperationException("Not implemented: deleteProfileCallable()");
+  }
+
   @Override
   public abstract void close();
 }
diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ProfileServiceStubSettings.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ProfileServiceStubSettings.java
index 8c706b12..7c3c8c78 100644
--- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ProfileServiceStubSettings.java
+++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ProfileServiceStubSettings.java
@@ -75,16 +75,16 @@
  * 

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of deleteProfile to 30 seconds: + *

For example, to set the total timeout of createProfile to 30 seconds: * *

  * 
  * ProfileServiceStubSettings.Builder profileServiceSettingsBuilder =
  *     ProfileServiceStubSettings.newBuilder();
  * profileServiceSettingsBuilder
- *     .deleteProfileSettings()
+ *     .createProfileSettings()
  *     .setRetrySettings(
- *         profileServiceSettingsBuilder.deleteProfileSettings().getRetrySettings().toBuilder()
+ *         profileServiceSettingsBuilder.createProfileSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ProfileServiceStubSettings profileServiceSettings = profileServiceSettingsBuilder.build();
@@ -101,7 +101,6 @@ public class ProfileServiceStubSettings extends StubSettings deleteProfileSettings;
   private final PagedCallSettings<
           SearchProfilesRequest, SearchProfilesResponse, SearchProfilesPagedResponse>
       searchProfilesSettings;
@@ -111,11 +110,7 @@ public class ProfileServiceStubSettings extends StubSettings createProfileSettings;
   private final UnaryCallSettings getProfileSettings;
   private final UnaryCallSettings updateProfileSettings;
-
-  /** Returns the object with the settings used for calls to deleteProfile. */
-  public UnaryCallSettings deleteProfileSettings() {
-    return deleteProfileSettings;
-  }
+  private final UnaryCallSettings deleteProfileSettings;
 
   /** Returns the object with the settings used for calls to searchProfiles. */
   public PagedCallSettings<
@@ -145,6 +140,11 @@ public UnaryCallSettings updateProfileSettings()
     return updateProfileSettings;
   }
 
+  /** Returns the object with the settings used for calls to deleteProfile. */
+  public UnaryCallSettings deleteProfileSettings() {
+    return deleteProfileSettings;
+  }
+
   @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
   public ProfileServiceStub createStub() throws IOException {
     if (getTransportChannelProvider()
@@ -214,12 +214,12 @@ public Builder toBuilder() {
   protected ProfileServiceStubSettings(Builder settingsBuilder) throws IOException {
     super(settingsBuilder);
 
-    deleteProfileSettings = settingsBuilder.deleteProfileSettings().build();
     searchProfilesSettings = settingsBuilder.searchProfilesSettings().build();
     listProfilesSettings = settingsBuilder.listProfilesSettings().build();
     createProfileSettings = settingsBuilder.createProfileSettings().build();
     getProfileSettings = settingsBuilder.getProfileSettings().build();
     updateProfileSettings = settingsBuilder.updateProfileSettings().build();
+    deleteProfileSettings = settingsBuilder.deleteProfileSettings().build();
   }
 
   private static final PagedListDescriptor<
@@ -336,7 +336,6 @@ public ApiFuture getFuturePagedResponse(
   public static class Builder extends StubSettings.Builder {
     private final ImmutableList> unaryMethodSettingsBuilders;
 
-    private final UnaryCallSettings.Builder deleteProfileSettings;
     private final PagedCallSettings.Builder<
             SearchProfilesRequest, SearchProfilesResponse, SearchProfilesPagedResponse>
         searchProfilesSettings;
@@ -346,6 +345,7 @@ public static class Builder extends StubSettings.Builder createProfileSettings;
     private final UnaryCallSettings.Builder getProfileSettings;
     private final UnaryCallSettings.Builder updateProfileSettings;
+    private final UnaryCallSettings.Builder deleteProfileSettings;
 
     private static final ImmutableMap>
         RETRYABLE_CODE_DEFINITIONS;
@@ -354,11 +354,13 @@ public static class Builder extends StubSettings.Builder> definitions =
           ImmutableMap.builder();
       definitions.put(
-          "idempotent",
+          "retry_policy_4_codes",
           ImmutableSet.copyOf(
               Lists.newArrayList(
                   StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
-      definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put(
+          "no_retry_2_codes", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList()));
       RETRYABLE_CODE_DEFINITIONS = definitions.build();
     }
 
@@ -372,12 +374,22 @@ public static class Builder extends StubSettings.Builder>of(
-              deleteProfileSettings,
               searchProfilesSettings,
               listProfilesSettings,
               createProfileSettings,
               getProfileSettings,
-              updateProfileSettings);
+              updateProfileSettings,
+              deleteProfileSettings);
 
       initDefaults(this);
     }
@@ -423,35 +435,35 @@ private static Builder createDefault() {
 
     private static Builder initDefaults(Builder builder) {
 
-      builder
-          .deleteProfileSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
-
       builder
           .searchProfilesSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params"));
 
       builder
           .listProfilesSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_4_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_4_params"));
 
       builder
           .createProfileSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params"));
 
       builder
           .getProfileSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_4_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_4_params"));
 
       builder
           .updateProfileSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params"));
+
+      builder
+          .deleteProfileSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_4_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_4_params"));
 
       return builder;
     }
@@ -459,21 +471,21 @@ private static Builder initDefaults(Builder builder) {
     protected Builder(ProfileServiceStubSettings settings) {
       super(settings);
 
-      deleteProfileSettings = settings.deleteProfileSettings.toBuilder();
       searchProfilesSettings = settings.searchProfilesSettings.toBuilder();
       listProfilesSettings = settings.listProfilesSettings.toBuilder();
       createProfileSettings = settings.createProfileSettings.toBuilder();
       getProfileSettings = settings.getProfileSettings.toBuilder();
       updateProfileSettings = settings.updateProfileSettings.toBuilder();
+      deleteProfileSettings = settings.deleteProfileSettings.toBuilder();
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
-              deleteProfileSettings,
               searchProfilesSettings,
               listProfilesSettings,
               createProfileSettings,
               getProfileSettings,
-              updateProfileSettings);
+              updateProfileSettings,
+              deleteProfileSettings);
     }
 
     // NEXT_MAJOR_VER: remove 'throws Exception'
@@ -492,11 +504,6 @@ public Builder applyToAllUnaryMethods(
       return unaryMethodSettingsBuilders;
     }
 
-    /** Returns the builder for the settings used for calls to deleteProfile. */
-    public UnaryCallSettings.Builder deleteProfileSettings() {
-      return deleteProfileSettings;
-    }
-
     /** Returns the builder for the settings used for calls to searchProfiles. */
     public PagedCallSettings.Builder<
             SearchProfilesRequest, SearchProfilesResponse, SearchProfilesPagedResponse>
@@ -526,6 +533,11 @@ public UnaryCallSettings.Builder updateProfileSet
       return updateProfileSettings;
     }
 
+    /** Returns the builder for the settings used for calls to deleteProfile. */
+    public UnaryCallSettings.Builder deleteProfileSettings() {
+      return deleteProfileSettings;
+    }
+
     @Override
     public ProfileServiceStubSettings build() throws IOException {
       return new ProfileServiceStubSettings(this);
diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java
index 94bd7eca..9d8528c8 100644
--- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java
+++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java
@@ -40,10 +40,6 @@
 @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
 public abstract class TenantServiceStub implements BackgroundResource {
 
-  public UnaryCallable deleteTenantCallable() {
-    throw new UnsupportedOperationException("Not implemented: deleteTenantCallable()");
-  }
-
   public UnaryCallable createTenantCallable() {
     throw new UnsupportedOperationException("Not implemented: createTenantCallable()");
   }
@@ -56,6 +52,10 @@ public UnaryCallable updateTenantCallable() {
     throw new UnsupportedOperationException("Not implemented: updateTenantCallable()");
   }
 
+  public UnaryCallable deleteTenantCallable() {
+    throw new UnsupportedOperationException("Not implemented: deleteTenantCallable()");
+  }
+
   public UnaryCallable listTenantsPagedCallable() {
     throw new UnsupportedOperationException("Not implemented: listTenantsPagedCallable()");
   }
diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java
index 5878504d..2f8b99a8 100644
--- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java
+++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java
@@ -71,16 +71,16 @@
  * 

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of deleteTenant to 30 seconds: + *

For example, to set the total timeout of createTenant to 30 seconds: * *

  * 
  * TenantServiceStubSettings.Builder tenantServiceSettingsBuilder =
  *     TenantServiceStubSettings.newBuilder();
  * tenantServiceSettingsBuilder
- *     .deleteTenantSettings()
+ *     .createTenantSettings()
  *     .setRetrySettings(
- *         tenantServiceSettingsBuilder.deleteTenantSettings().getRetrySettings().toBuilder()
+ *         tenantServiceSettingsBuilder.createTenantSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * TenantServiceStubSettings tenantServiceSettings = tenantServiceSettingsBuilder.build();
@@ -97,18 +97,13 @@ public class TenantServiceStubSettings extends StubSettings deleteTenantSettings;
   private final UnaryCallSettings createTenantSettings;
   private final UnaryCallSettings getTenantSettings;
   private final UnaryCallSettings updateTenantSettings;
+  private final UnaryCallSettings deleteTenantSettings;
   private final PagedCallSettings
       listTenantsSettings;
 
-  /** Returns the object with the settings used for calls to deleteTenant. */
-  public UnaryCallSettings deleteTenantSettings() {
-    return deleteTenantSettings;
-  }
-
   /** Returns the object with the settings used for calls to createTenant. */
   public UnaryCallSettings createTenantSettings() {
     return createTenantSettings;
@@ -124,6 +119,11 @@ public UnaryCallSettings updateTenantSettings() {
     return updateTenantSettings;
   }
 
+  /** Returns the object with the settings used for calls to deleteTenant. */
+  public UnaryCallSettings deleteTenantSettings() {
+    return deleteTenantSettings;
+  }
+
   /** Returns the object with the settings used for calls to listTenants. */
   public PagedCallSettings
       listTenantsSettings() {
@@ -199,10 +199,10 @@ public Builder toBuilder() {
   protected TenantServiceStubSettings(Builder settingsBuilder) throws IOException {
     super(settingsBuilder);
 
-    deleteTenantSettings = settingsBuilder.deleteTenantSettings().build();
     createTenantSettings = settingsBuilder.createTenantSettings().build();
     getTenantSettings = settingsBuilder.getTenantSettings().build();
     updateTenantSettings = settingsBuilder.updateTenantSettings().build();
+    deleteTenantSettings = settingsBuilder.deleteTenantSettings().build();
     listTenantsSettings = settingsBuilder.listTenantsSettings().build();
   }
 
@@ -263,10 +263,10 @@ public ApiFuture getFuturePagedResponse(
   public static class Builder extends StubSettings.Builder {
     private final ImmutableList> unaryMethodSettingsBuilders;
 
-    private final UnaryCallSettings.Builder deleteTenantSettings;
     private final UnaryCallSettings.Builder createTenantSettings;
     private final UnaryCallSettings.Builder getTenantSettings;
     private final UnaryCallSettings.Builder updateTenantSettings;
+    private final UnaryCallSettings.Builder deleteTenantSettings;
     private final PagedCallSettings.Builder<
             ListTenantsRequest, ListTenantsResponse, ListTenantsPagedResponse>
         listTenantsSettings;
@@ -278,11 +278,48 @@ public static class Builder extends StubSettings.Builder> definitions =
           ImmutableMap.builder();
       definitions.put(
-          "idempotent",
+          "retry_policy_1_codes",
+          ImmutableSet.copyOf(
+              Lists.newArrayList(
+                  StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
+      definitions.put(
+          "no_retry_2_codes", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put(
+          "retry_policy_6_codes",
+          ImmutableSet.copyOf(
+              Lists.newArrayList(
+                  StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
+      definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put(
+          "no_retry_3_codes", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put(
+          "retry_policy_3_codes",
+          ImmutableSet.copyOf(
+              Lists.newArrayList(
+                  StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
+      definitions.put(
+          "retry_policy_2_codes",
+          ImmutableSet.copyOf(
+              Lists.newArrayList(
+                  StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
+      definitions.put(
+          "retry_policy_4_codes",
+          ImmutableSet.copyOf(
+              Lists.newArrayList(
+                  StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
+      definitions.put(
+          "no_retry_4_codes", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put(
+          "no_retry_6_codes", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put(
+          "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put(
+          "retry_policy_5_codes",
           ImmutableSet.copyOf(
               Lists.newArrayList(
                   StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
-      definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put(
+          "no_retry_5_codes", ImmutableSet.copyOf(Lists.newArrayList()));
       RETRYABLE_CODE_DEFINITIONS = definitions.build();
     }
 
@@ -291,17 +328,122 @@ public static class Builder extends StubSettings.Builder definitions = ImmutableMap.builder();
       RetrySettings settings = null;
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("no_retry_3_params", settings);
       settings =
           RetrySettings.newBuilder()
               .setInitialRetryDelay(Duration.ofMillis(100L))
               .setRetryDelayMultiplier(1.3)
               .setMaxRetryDelay(Duration.ofMillis(60000L))
-              .setInitialRpcTimeout(Duration.ofMillis(20000L))
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("retry_policy_6_params", settings);
+      settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build();
+      definitions.put("no_retry_params", settings);
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("no_retry_5_params", settings);
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("no_retry_1_params", settings);
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("no_retry_2_params", settings);
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
               .setRpcTimeoutMultiplier(1.0)
-              .setMaxRpcTimeout(Duration.ofMillis(20000L))
-              .setTotalTimeout(Duration.ofMillis(300000L))
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
               .build();
-      definitions.put("default", settings);
+      definitions.put("no_retry_4_params", settings);
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("no_retry_6_params", settings);
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRetryDelay(Duration.ofMillis(100L))
+              .setRetryDelayMultiplier(1.3)
+              .setMaxRetryDelay(Duration.ofMillis(60000L))
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("retry_policy_1_params", settings);
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRetryDelay(Duration.ofMillis(100L))
+              .setRetryDelayMultiplier(1.3)
+              .setMaxRetryDelay(Duration.ofMillis(60000L))
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("retry_policy_3_params", settings);
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRetryDelay(Duration.ofMillis(100L))
+              .setRetryDelayMultiplier(1.3)
+              .setMaxRetryDelay(Duration.ofMillis(60000L))
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("retry_policy_2_params", settings);
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRetryDelay(Duration.ofMillis(100L))
+              .setRetryDelayMultiplier(1.3)
+              .setMaxRetryDelay(Duration.ofMillis(60000L))
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("retry_policy_4_params", settings);
+      settings =
+          RetrySettings.newBuilder()
+              .setInitialRetryDelay(Duration.ofMillis(100L))
+              .setRetryDelayMultiplier(1.3)
+              .setMaxRetryDelay(Duration.ofMillis(60000L))
+              .setInitialRpcTimeout(Duration.ofMillis(30000L))
+              .setRpcTimeoutMultiplier(1.0)
+              .setMaxRpcTimeout(Duration.ofMillis(30000L))
+              .setTotalTimeout(Duration.ofMillis(30000L))
+              .build();
+      definitions.put("retry_policy_5_params", settings);
       RETRY_PARAM_DEFINITIONS = definitions.build();
     }
 
@@ -312,22 +454,22 @@ protected Builder() {
     protected Builder(ClientContext clientContext) {
       super(clientContext);
 
-      deleteTenantSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
-
       createTenantSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
       getTenantSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
       updateTenantSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
+      deleteTenantSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+
       listTenantsSettings = PagedCallSettings.newBuilder(LIST_TENANTS_PAGE_STR_FACT);
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
-              deleteTenantSettings,
               createTenantSettings,
               getTenantSettings,
               updateTenantSettings,
+              deleteTenantSettings,
               listTenantsSettings);
 
       initDefaults(this);
@@ -344,30 +486,30 @@ private static Builder createDefault() {
 
     private static Builder initDefaults(Builder builder) {
 
-      builder
-          .deleteTenantSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
-
       builder
           .createTenantSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_4_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_4_params"));
 
       builder
           .getTenantSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));
 
       builder
           .updateTenantSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_4_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_4_params"));
+
+      builder
+          .deleteTenantSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));
 
       builder
           .listTenantsSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));
 
       return builder;
     }
@@ -375,18 +517,18 @@ private static Builder initDefaults(Builder builder) {
     protected Builder(TenantServiceStubSettings settings) {
       super(settings);
 
-      deleteTenantSettings = settings.deleteTenantSettings.toBuilder();
       createTenantSettings = settings.createTenantSettings.toBuilder();
       getTenantSettings = settings.getTenantSettings.toBuilder();
       updateTenantSettings = settings.updateTenantSettings.toBuilder();
+      deleteTenantSettings = settings.deleteTenantSettings.toBuilder();
       listTenantsSettings = settings.listTenantsSettings.toBuilder();
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
-              deleteTenantSettings,
               createTenantSettings,
               getTenantSettings,
               updateTenantSettings,
+              deleteTenantSettings,
               listTenantsSettings);
     }
 
@@ -406,11 +548,6 @@ public Builder applyToAllUnaryMethods(
       return unaryMethodSettingsBuilders;
     }
 
-    /** Returns the builder for the settings used for calls to deleteTenant. */
-    public UnaryCallSettings.Builder deleteTenantSettings() {
-      return deleteTenantSettings;
-    }
-
     /** Returns the builder for the settings used for calls to createTenant. */
     public UnaryCallSettings.Builder createTenantSettings() {
       return createTenantSettings;
@@ -426,6 +563,11 @@ public UnaryCallSettings.Builder updateTenantSettin
       return updateTenantSettings;
     }
 
+    /** Returns the builder for the settings used for calls to deleteTenant. */
+    public UnaryCallSettings.Builder deleteTenantSettings() {
+      return deleteTenantSettings;
+    }
+
     /** Returns the builder for the settings used for calls to listTenants. */
     public PagedCallSettings.Builder<
             ListTenantsRequest, ListTenantsResponse, ListTenantsPagedResponse>
diff --git a/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/ApplicationServiceClientTest.java b/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/ApplicationServiceClientTest.java
index e3fef508..830dec31 100644
--- a/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/ApplicationServiceClientTest.java
+++ b/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/ApplicationServiceClientTest.java
@@ -98,45 +98,6 @@ public void tearDown() throws Exception {
     client.close();
   }
 
-  @Test
-  @SuppressWarnings("all")
-  public void deleteApplicationTest() {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockApplicationService.addResponse(expectedResponse);
-
-    ApplicationName name =
-        ApplicationName.of("[PROJECT]", "[TENANT]", "[PROFILE]", "[APPLICATION]");
-
-    client.deleteApplication(name);
-
-    List actualRequests = mockApplicationService.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    DeleteApplicationRequest actualRequest = (DeleteApplicationRequest) actualRequests.get(0);
-
-    Assert.assertEquals(name, ApplicationName.parse(actualRequest.getName()));
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  @SuppressWarnings("all")
-  public void deleteApplicationExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
-    mockApplicationService.addException(exception);
-
-    try {
-      ApplicationName name =
-          ApplicationName.of("[PROJECT]", "[TENANT]", "[PROFILE]", "[APPLICATION]");
-
-      client.deleteApplication(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception
-    }
-  }
-
   @Test
   @SuppressWarnings("all")
   public void createApplicationTest() {
@@ -310,6 +271,45 @@ public void updateApplicationExceptionTest() throws Exception {
     }
   }
 
+  @Test
+  @SuppressWarnings("all")
+  public void deleteApplicationTest() {
+    Empty expectedResponse = Empty.newBuilder().build();
+    mockApplicationService.addResponse(expectedResponse);
+
+    ApplicationName name =
+        ApplicationName.of("[PROJECT]", "[TENANT]", "[PROFILE]", "[APPLICATION]");
+
+    client.deleteApplication(name);
+
+    List actualRequests = mockApplicationService.getRequests();
+    Assert.assertEquals(1, actualRequests.size());
+    DeleteApplicationRequest actualRequest = (DeleteApplicationRequest) actualRequests.get(0);
+
+    Assert.assertEquals(name, ApplicationName.parse(actualRequest.getName()));
+    Assert.assertTrue(
+        channelProvider.isHeaderSent(
+            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+  }
+
+  @Test
+  @SuppressWarnings("all")
+  public void deleteApplicationExceptionTest() throws Exception {
+    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
+    mockApplicationService.addException(exception);
+
+    try {
+      ApplicationName name =
+          ApplicationName.of("[PROJECT]", "[TENANT]", "[PROFILE]", "[APPLICATION]");
+
+      client.deleteApplication(name);
+      Assert.fail("No exception raised");
+    } catch (InvalidArgumentException e) {
+      // Expected exception
+    }
+  }
+
   @Test
   @SuppressWarnings("all")
   public void listApplicationsTest() {
diff --git a/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java b/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java
index 35d3c84d..cd68ca61 100644
--- a/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java
+++ b/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java
@@ -98,44 +98,6 @@ public void tearDown() throws Exception {
     client.close();
   }
 
-  @Test
-  @SuppressWarnings("all")
-  public void deleteCompanyTest() {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockCompanyService.addResponse(expectedResponse);
-
-    CompanyName name = CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]");
-
-    client.deleteCompany(name);
-
-    List actualRequests = mockCompanyService.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    DeleteCompanyRequest actualRequest = (DeleteCompanyRequest) actualRequests.get(0);
-
-    Assert.assertEquals(name, CompanyName.parse(actualRequest.getName()));
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  @SuppressWarnings("all")
-  public void deleteCompanyExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
-    mockCompanyService.addException(exception);
-
-    try {
-      CompanyName name =
-          CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]");
-
-      client.deleteCompany(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception
-    }
-  }
-
   @Test
   @SuppressWarnings("all")
   public void createCompanyTest() {
@@ -321,6 +283,44 @@ public void updateCompanyExceptionTest() throws Exception {
     }
   }
 
+  @Test
+  @SuppressWarnings("all")
+  public void deleteCompanyTest() {
+    Empty expectedResponse = Empty.newBuilder().build();
+    mockCompanyService.addResponse(expectedResponse);
+
+    CompanyName name = CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]");
+
+    client.deleteCompany(name);
+
+    List actualRequests = mockCompanyService.getRequests();
+    Assert.assertEquals(1, actualRequests.size());
+    DeleteCompanyRequest actualRequest = (DeleteCompanyRequest) actualRequests.get(0);
+
+    Assert.assertEquals(name, CompanyName.parse(actualRequest.getName()));
+    Assert.assertTrue(
+        channelProvider.isHeaderSent(
+            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+  }
+
+  @Test
+  @SuppressWarnings("all")
+  public void deleteCompanyExceptionTest() throws Exception {
+    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
+    mockCompanyService.addException(exception);
+
+    try {
+      CompanyName name =
+          CompanyName.ofProjectTenantCompanyName("[PROJECT]", "[TENANT]", "[COMPANY]");
+
+      client.deleteCompany(name);
+      Assert.fail("No exception raised");
+    } catch (InvalidArgumentException e) {
+      // Expected exception
+    }
+  }
+
   @Test
   @SuppressWarnings("all")
   public void listCompaniesTest() {
diff --git a/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java b/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java
index 66e34e1c..5463124c 100644
--- a/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java
+++ b/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java
@@ -105,43 +105,6 @@ public void tearDown() throws Exception {
     client.close();
   }
 
-  @Test
-  @SuppressWarnings("all")
-  public void deleteJobTest() {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockJobService.addResponse(expectedResponse);
-
-    JobName name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]");
-
-    client.deleteJob(name);
-
-    List actualRequests = mockJobService.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    DeleteJobRequest actualRequest = (DeleteJobRequest) actualRequests.get(0);
-
-    Assert.assertEquals(name, JobName.parse(actualRequest.getName()));
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  @SuppressWarnings("all")
-  public void deleteJobExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
-    mockJobService.addException(exception);
-
-    try {
-      JobName name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]");
-
-      client.deleteJob(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception
-    }
-  }
-
   @Test
   @SuppressWarnings("all")
   public void createJobTest() {
@@ -438,6 +401,43 @@ public void batchUpdateJobsExceptionTest() throws Exception {
     }
   }
 
+  @Test
+  @SuppressWarnings("all")
+  public void deleteJobTest() {
+    Empty expectedResponse = Empty.newBuilder().build();
+    mockJobService.addResponse(expectedResponse);
+
+    JobName name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]");
+
+    client.deleteJob(name);
+
+    List actualRequests = mockJobService.getRequests();
+    Assert.assertEquals(1, actualRequests.size());
+    DeleteJobRequest actualRequest = (DeleteJobRequest) actualRequests.get(0);
+
+    Assert.assertEquals(name, JobName.parse(actualRequest.getName()));
+    Assert.assertTrue(
+        channelProvider.isHeaderSent(
+            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+  }
+
+  @Test
+  @SuppressWarnings("all")
+  public void deleteJobExceptionTest() throws Exception {
+    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
+    mockJobService.addException(exception);
+
+    try {
+      JobName name = JobName.ofProjectTenantJobName("[PROJECT]", "[TENANT]", "[JOB]");
+
+      client.deleteJob(name);
+      Assert.fail("No exception raised");
+    } catch (InvalidArgumentException e) {
+      // Expected exception
+    }
+  }
+
   @Test
   @SuppressWarnings("all")
   public void batchDeleteJobsTest() {
diff --git a/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/ProfileServiceClientTest.java b/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/ProfileServiceClientTest.java
index e132ca74..10ef9f39 100644
--- a/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/ProfileServiceClientTest.java
+++ b/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/ProfileServiceClientTest.java
@@ -99,43 +99,6 @@ public void tearDown() throws Exception {
     client.close();
   }
 
-  @Test
-  @SuppressWarnings("all")
-  public void deleteProfileTest() {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockProfileService.addResponse(expectedResponse);
-
-    ProfileName name = ProfileName.of("[PROJECT]", "[TENANT]", "[PROFILE]");
-
-    client.deleteProfile(name);
-
-    List actualRequests = mockProfileService.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    DeleteProfileRequest actualRequest = (DeleteProfileRequest) actualRequests.get(0);
-
-    Assert.assertEquals(name, ProfileName.parse(actualRequest.getName()));
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  @SuppressWarnings("all")
-  public void deleteProfileExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
-    mockProfileService.addException(exception);
-
-    try {
-      ProfileName name = ProfileName.of("[PROJECT]", "[TENANT]", "[PROFILE]");
-
-      client.deleteProfile(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception
-    }
-  }
-
   @Test
   @SuppressWarnings("all")
   public void searchProfilesTest() {
@@ -413,4 +376,41 @@ public void updateProfileExceptionTest() throws Exception {
       // Expected exception
     }
   }
+
+  @Test
+  @SuppressWarnings("all")
+  public void deleteProfileTest() {
+    Empty expectedResponse = Empty.newBuilder().build();
+    mockProfileService.addResponse(expectedResponse);
+
+    ProfileName name = ProfileName.of("[PROJECT]", "[TENANT]", "[PROFILE]");
+
+    client.deleteProfile(name);
+
+    List actualRequests = mockProfileService.getRequests();
+    Assert.assertEquals(1, actualRequests.size());
+    DeleteProfileRequest actualRequest = (DeleteProfileRequest) actualRequests.get(0);
+
+    Assert.assertEquals(name, ProfileName.parse(actualRequest.getName()));
+    Assert.assertTrue(
+        channelProvider.isHeaderSent(
+            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+  }
+
+  @Test
+  @SuppressWarnings("all")
+  public void deleteProfileExceptionTest() throws Exception {
+    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
+    mockProfileService.addException(exception);
+
+    try {
+      ProfileName name = ProfileName.of("[PROJECT]", "[TENANT]", "[PROFILE]");
+
+      client.deleteProfile(name);
+      Assert.fail("No exception raised");
+    } catch (InvalidArgumentException e) {
+      // Expected exception
+    }
+  }
 }
diff --git a/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java b/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java
index ae8c0db1..25d0f8d2 100644
--- a/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java
+++ b/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java
@@ -98,43 +98,6 @@ public void tearDown() throws Exception {
     client.close();
   }
 
-  @Test
-  @SuppressWarnings("all")
-  public void deleteTenantTest() {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockTenantService.addResponse(expectedResponse);
-
-    TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
-
-    client.deleteTenant(name);
-
-    List actualRequests = mockTenantService.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    DeleteTenantRequest actualRequest = (DeleteTenantRequest) actualRequests.get(0);
-
-    Assert.assertEquals(name, TenantName.parse(actualRequest.getName()));
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  @SuppressWarnings("all")
-  public void deleteTenantExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
-    mockTenantService.addException(exception);
-
-    try {
-      TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
-
-      client.deleteTenant(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception
-    }
-  }
-
   @Test
   @SuppressWarnings("all")
   public void createTenantTest() {
@@ -261,6 +224,43 @@ public void updateTenantExceptionTest() throws Exception {
     }
   }
 
+  @Test
+  @SuppressWarnings("all")
+  public void deleteTenantTest() {
+    Empty expectedResponse = Empty.newBuilder().build();
+    mockTenantService.addResponse(expectedResponse);
+
+    TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
+
+    client.deleteTenant(name);
+
+    List actualRequests = mockTenantService.getRequests();
+    Assert.assertEquals(1, actualRequests.size());
+    DeleteTenantRequest actualRequest = (DeleteTenantRequest) actualRequests.get(0);
+
+    Assert.assertEquals(name, TenantName.parse(actualRequest.getName()));
+    Assert.assertTrue(
+        channelProvider.isHeaderSent(
+            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+  }
+
+  @Test
+  @SuppressWarnings("all")
+  public void deleteTenantExceptionTest() throws Exception {
+    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
+    mockTenantService.addException(exception);
+
+    try {
+      TenantName name = TenantName.of("[PROJECT]", "[TENANT]");
+
+      client.deleteTenant(name);
+      Assert.fail("No exception raised");
+    } catch (InvalidArgumentException e) {
+      // Expected exception
+    }
+  }
+
   @Test
   @SuppressWarnings("all")
   public void listTenantsTest() {
diff --git a/synth.metadata b/synth.metadata
index e79c3cc8..43bc7d33 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,15 +4,15 @@
       "git": {
         "name": ".",
         "remote": "https://github.com/googleapis/java-talent.git",
-        "sha": "30b36788ec5754bc4dc9d7935f0e8a3b59b0b917"
+        "sha": "9ccd8a51047e0d869b410adc688c52fd430328dd"
       }
     },
     {
       "git": {
         "name": "googleapis",
         "remote": "https://github.com/googleapis/googleapis.git",
-        "sha": "8070bcb140b06991a636d4ba7d665c5adab1675d",
-        "internalRef": "314792023"
+        "sha": "fa4d2ecd0804eb92f27a65fe65ce2a554a361b93",
+        "internalRef": "317110673"
       }
     },
     {