From 81e44ceab03cdda9135885ed63c44b6c343eb0e8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 9 Sep 2022 16:50:35 +0200 Subject: [PATCH 1/5] deps: update dependency io.grafeas:grafeas to v2.4.4 (#930) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grafeas:grafeas](https://togithub.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/grafeas) ([source](https://togithub.com/googleapis/java-grafeas)) | `2.4.3` -> `2.4.4` | [![age](https://badges.renovateapi.com/packages/maven/io.grafeas:grafeas/2.4.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grafeas:grafeas/2.4.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grafeas:grafeas/2.4.4/compatibility-slim/2.4.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grafeas:grafeas/2.4.4/confidence-slim/2.4.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-grafeas ### [`v2.4.4`](https://togithub.com/googleapis/java-grafeas/blob/HEAD/CHANGELOG.md#​244-httpsgithubcomgoogleapisjava-grafeascomparev243v244-2022-09-09) [Compare Source](https://togithub.com/googleapis/java-grafeas/compare/v2.4.3...v2.4.4) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#​526](https://togithub.com/googleapis/java-grafeas/issues/526)) ([6836958](https://togithub.com/googleapis/java-grafeas/commit/6836958bf7752dc1ab2bdbb4c9d78392327074ea))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-containeranalysis). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bf77e175..c4c4dc68 100644 --- a/pom.xml +++ b/pom.xml @@ -101,7 +101,7 @@ io.grafeas grafeas - 2.4.3 + 2.4.4 From 198f7858871bb17637789ae75c5523eb424f40bd Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 9 Sep 2022 14:52:14 +0000 Subject: [PATCH 2/5] chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#926) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 472750037 Source-Link: https://github.com/googleapis/googleapis/commit/88f2ea3f53b9712f2e04f28f06210f6f77fa7e24 Source-Link: https://github.com/googleapis/googleapis-gen/commit/230a5588306aae18fe8f2a57f14d4039ad72c901 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9 --- .../v1/ContainerAnalysisClient.java | 140 +++++++++++++----- .../v1/ContainerAnalysisSettings.java | 12 +- .../containeranalysis/v1/package-info.java | 7 +- .../stub/ContainerAnalysisStubSettings.java | 12 +- .../stub/HttpJsonContainerAnalysisStub.java | 6 +- 5 files changed, 120 insertions(+), 57 deletions(-) diff --git a/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/ContainerAnalysisClient.java b/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/ContainerAnalysisClient.java index e16d3d30..354836de 100644 --- a/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/ContainerAnalysisClient.java +++ b/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/ContainerAnalysisClient.java @@ -53,8 +53,11 @@ * calls that map to API methods. Sample code to get started: * *
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (ContainerAnalysisClient containerAnalysisClient = ContainerAnalysisClient.create()) {
  *   ResourceName resource =
  *       new ResourceName() {
@@ -110,8 +113,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * ContainerAnalysisSettings containerAnalysisSettings =
  *     ContainerAnalysisSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -123,8 +129,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * ContainerAnalysisSettings containerAnalysisSettings =
  *     ContainerAnalysisSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ContainerAnalysisClient containerAnalysisClient =
@@ -135,8 +144,11 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * ContainerAnalysisSettings containerAnalysisSettings =
  *     ContainerAnalysisSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -218,8 +230,11 @@ public ContainerAnalysisStub getStub() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContainerAnalysisClient containerAnalysisClient = ContainerAnalysisClient.create()) {
    *   ResourceName resource =
    *       new ResourceName() {
@@ -273,8 +288,11 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContainerAnalysisClient containerAnalysisClient = ContainerAnalysisClient.create()) {
    *   String resource = ProjectName.of("[PROJECT]").toString();
    *   Policy policy = Policy.newBuilder().build();
@@ -307,8 +325,11 @@ public final Policy setIamPolicy(String resource, Policy policy) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContainerAnalysisClient containerAnalysisClient = ContainerAnalysisClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -339,8 +360,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContainerAnalysisClient containerAnalysisClient = ContainerAnalysisClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -370,8 +394,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContainerAnalysisClient containerAnalysisClient = ContainerAnalysisClient.create()) {
    *   ResourceName resource =
    *       new ResourceName() {
@@ -420,8 +447,11 @@ public final Policy getIamPolicy(ResourceName resource) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContainerAnalysisClient containerAnalysisClient = ContainerAnalysisClient.create()) {
    *   String resource = ProjectName.of("[PROJECT]").toString();
    *   Policy response = containerAnalysisClient.getIamPolicy(resource);
@@ -449,8 +479,11 @@ public final Policy getIamPolicy(String resource) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContainerAnalysisClient containerAnalysisClient = ContainerAnalysisClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -480,8 +513,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContainerAnalysisClient containerAnalysisClient = ContainerAnalysisClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -509,8 +545,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContainerAnalysisClient containerAnalysisClient = ContainerAnalysisClient.create()) {
    *   ResourceName resource =
    *       new ResourceName() {
@@ -565,8 +604,11 @@ public final TestIamPermissionsResponse testIamPermissions(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContainerAnalysisClient containerAnalysisClient = ContainerAnalysisClient.create()) {
    *   String resource = ProjectName.of("[PROJECT]").toString();
    *   List permissions = new ArrayList<>();
@@ -603,8 +645,11 @@ public final TestIamPermissionsResponse testIamPermissions(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContainerAnalysisClient containerAnalysisClient = ContainerAnalysisClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -633,8 +678,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContainerAnalysisClient containerAnalysisClient = ContainerAnalysisClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -660,8 +708,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContainerAnalysisClient containerAnalysisClient = ContainerAnalysisClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
    *   String filter = "filter-1274492040";
@@ -692,8 +743,11 @@ public final VulnerabilityOccurrencesSummary getVulnerabilityOccurrencesSummary(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContainerAnalysisClient containerAnalysisClient = ContainerAnalysisClient.create()) {
    *   String parent = ProjectName.of("[PROJECT]").toString();
    *   String filter = "filter-1274492040";
@@ -724,8 +778,11 @@ public final VulnerabilityOccurrencesSummary getVulnerabilityOccurrencesSummary(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContainerAnalysisClient containerAnalysisClient = ContainerAnalysisClient.create()) {
    *   GetVulnerabilityOccurrencesSummaryRequest request =
    *       GetVulnerabilityOccurrencesSummaryRequest.newBuilder()
@@ -752,8 +809,11 @@ public final VulnerabilityOccurrencesSummary getVulnerabilityOccurrencesSummary(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ContainerAnalysisClient containerAnalysisClient = ContainerAnalysisClient.create()) {
    *   GetVulnerabilityOccurrencesSummaryRequest request =
    *       GetVulnerabilityOccurrencesSummaryRequest.newBuilder()
diff --git a/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/ContainerAnalysisSettings.java b/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/ContainerAnalysisSettings.java
index 2d61f2e9..77fb550f 100644
--- a/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/ContainerAnalysisSettings.java
+++ b/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/ContainerAnalysisSettings.java
@@ -58,17 +58,17 @@
  * 

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

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * ContainerAnalysisSettings.Builder containerAnalysisSettingsBuilder =
  *     ContainerAnalysisSettings.newBuilder();
  * containerAnalysisSettingsBuilder
  *     .setIamPolicySettings()
  *     .setRetrySettings(
- *         containerAnalysisSettingsBuilder
- *             .setIamPolicySettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         containerAnalysisSettingsBuilder.setIamPolicySettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ContainerAnalysisSettings containerAnalysisSettings = containerAnalysisSettingsBuilder.build();
diff --git a/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/package-info.java b/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/package-info.java
index 3e09b4e6..f32867fa 100644
--- a/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/package-info.java
+++ b/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/package-info.java
@@ -36,8 +36,11 @@
  * 

Sample for ContainerAnalysisClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (ContainerAnalysisClient containerAnalysisClient = ContainerAnalysisClient.create()) {
  *   ResourceName resource =
  *       new ResourceName() {
diff --git a/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/ContainerAnalysisStubSettings.java b/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/ContainerAnalysisStubSettings.java
index 0aee3f3d..77047425 100644
--- a/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/ContainerAnalysisStubSettings.java
+++ b/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/ContainerAnalysisStubSettings.java
@@ -69,17 +69,17 @@
  * 

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

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * ContainerAnalysisStubSettings.Builder containerAnalysisSettingsBuilder =
  *     ContainerAnalysisStubSettings.newBuilder();
  * containerAnalysisSettingsBuilder
  *     .setIamPolicySettings()
  *     .setRetrySettings(
- *         containerAnalysisSettingsBuilder
- *             .setIamPolicySettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         containerAnalysisSettingsBuilder.setIamPolicySettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ContainerAnalysisStubSettings containerAnalysisSettings =
diff --git a/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/HttpJsonContainerAnalysisStub.java b/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/HttpJsonContainerAnalysisStub.java
index 4f90d441..df44d6f8 100644
--- a/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/HttpJsonContainerAnalysisStub.java
+++ b/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/HttpJsonContainerAnalysisStub.java
@@ -84,7 +84,7 @@ public class HttpJsonContainerAnalysisStub extends ContainerAnalysisStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -122,7 +122,7 @@ public class HttpJsonContainerAnalysisStub extends ContainerAnalysisStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -161,7 +161,7 @@ public class HttpJsonContainerAnalysisStub extends ContainerAnalysisStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()

From 7b079487f6d3397617b3adc5c59a30e2345de4eb Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
 <55107282+release-please[bot]@users.noreply.github.com>
Date: Fri, 9 Sep 2022 15:10:24 +0000
Subject: [PATCH 3/5] chore(main): release 2.4.5-SNAPSHOT (#929)

:robot: I have created a release *beep* *boop*
---


### Updating meta-information for bleeding-edge SNAPSHOT release.

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
---
 google-cloud-containeranalysis-bom/pom.xml           | 12 ++++++------
 google-cloud-containeranalysis/pom.xml               |  4 ++--
 grpc-google-cloud-containeranalysis-v1/pom.xml       |  4 ++--
 grpc-google-cloud-containeranalysis-v1beta1/pom.xml  |  4 ++--
 pom.xml                                              | 12 ++++++------
 proto-google-cloud-containeranalysis-v1/pom.xml      |  4 ++--
 proto-google-cloud-containeranalysis-v1beta1/pom.xml |  4 ++--
 versions.txt                                         | 10 +++++-----
 8 files changed, 27 insertions(+), 27 deletions(-)

diff --git a/google-cloud-containeranalysis-bom/pom.xml b/google-cloud-containeranalysis-bom/pom.xml
index 9528da87..4916485e 100644
--- a/google-cloud-containeranalysis-bom/pom.xml
+++ b/google-cloud-containeranalysis-bom/pom.xml
@@ -3,7 +3,7 @@
   4.0.0
   com.google.cloud
   google-cloud-containeranalysis-bom
-  2.4.4
+  2.4.5-SNAPSHOT
   pom
   
     com.google.cloud
@@ -52,27 +52,27 @@
       
         com.google.cloud
         google-cloud-containeranalysis
-        2.4.4
+        2.4.5-SNAPSHOT
       
       
         com.google.api.grpc
         grpc-google-cloud-containeranalysis-v1beta1
-        0.94.4
+        0.94.5-SNAPSHOT
       
       
         com.google.api.grpc
         grpc-google-cloud-containeranalysis-v1
-        2.4.4
+        2.4.5-SNAPSHOT
       
       
         com.google.api.grpc
         proto-google-cloud-containeranalysis-v1
-        2.4.4
+        2.4.5-SNAPSHOT
       
       
         com.google.api.grpc
         proto-google-cloud-containeranalysis-v1beta1
-        0.94.4
+        0.94.5-SNAPSHOT
       
     
   
diff --git a/google-cloud-containeranalysis/pom.xml b/google-cloud-containeranalysis/pom.xml
index 72c882e8..040c4b49 100644
--- a/google-cloud-containeranalysis/pom.xml
+++ b/google-cloud-containeranalysis/pom.xml
@@ -3,7 +3,7 @@
   4.0.0
   com.google.cloud
   google-cloud-containeranalysis
-  2.4.4
+  2.4.5-SNAPSHOT
   jar
   Google Cloud Container Analysis
   https://github.com/googleapis/java-containeranalysis
@@ -11,7 +11,7 @@
   
     com.google.cloud
     google-cloud-containeranalysis-parent
-    2.4.4
+    2.4.5-SNAPSHOT
   
   
     google-cloud-containeranalysis
diff --git a/grpc-google-cloud-containeranalysis-v1/pom.xml b/grpc-google-cloud-containeranalysis-v1/pom.xml
index 91c745e2..899156d4 100644
--- a/grpc-google-cloud-containeranalysis-v1/pom.xml
+++ b/grpc-google-cloud-containeranalysis-v1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-cloud-containeranalysis-v1
-  2.4.4
+  2.4.5-SNAPSHOT
   grpc-google-cloud-containeranalysis-v1
   GRPC library for grpc-google-cloud-containeranalysis-v1
   
     com.google.cloud
     google-cloud-containeranalysis-parent
-    2.4.4
+    2.4.5-SNAPSHOT
   
   
     
diff --git a/grpc-google-cloud-containeranalysis-v1beta1/pom.xml b/grpc-google-cloud-containeranalysis-v1beta1/pom.xml
index b095d9a8..40fb28d5 100644
--- a/grpc-google-cloud-containeranalysis-v1beta1/pom.xml
+++ b/grpc-google-cloud-containeranalysis-v1beta1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-cloud-containeranalysis-v1beta1
-  0.94.4
+  0.94.5-SNAPSHOT
   grpc-google-cloud-containeranalysis-v1beta1
   GRPC library for grpc-google-cloud-containeranalysis-v1beta1
   
     com.google.cloud
     google-cloud-containeranalysis-parent
-    2.4.4
+    2.4.5-SNAPSHOT
   
   
     
diff --git a/pom.xml b/pom.xml
index c4c4dc68..bda196b8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
   com.google.cloud
   google-cloud-containeranalysis-parent
   pom
-  2.4.4
+  2.4.5-SNAPSHOT
   Google Cloud Container Analysis Parent
   https://github.com/googleapis/java-containeranalysis
   
@@ -61,27 +61,27 @@
       
         com.google.api.grpc
         proto-google-cloud-containeranalysis-v1
-        2.4.4
+        2.4.5-SNAPSHOT
       
       
         com.google.api.grpc
         proto-google-cloud-containeranalysis-v1beta1
-        0.94.4
+        0.94.5-SNAPSHOT
       
       
         com.google.api.grpc
         grpc-google-cloud-containeranalysis-v1beta1
-        0.94.4
+        0.94.5-SNAPSHOT
       
       
         com.google.api.grpc
         grpc-google-cloud-containeranalysis-v1
-        2.4.4
+        2.4.5-SNAPSHOT
       
       
         com.google.cloud
         google-cloud-containeranalysis
-        2.4.4
+        2.4.5-SNAPSHOT
       
 
       
diff --git a/proto-google-cloud-containeranalysis-v1/pom.xml b/proto-google-cloud-containeranalysis-v1/pom.xml
index ba51325f..88b134a3 100644
--- a/proto-google-cloud-containeranalysis-v1/pom.xml
+++ b/proto-google-cloud-containeranalysis-v1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-cloud-containeranalysis-v1
-  2.4.4
+  2.4.5-SNAPSHOT
   proto-google-cloud-containeranalysis-v1
   PROTO library for proto-google-cloud-containeranalysis-v1
   
     com.google.cloud
     google-cloud-containeranalysis-parent
-    2.4.4
+    2.4.5-SNAPSHOT
   
   
     
diff --git a/proto-google-cloud-containeranalysis-v1beta1/pom.xml b/proto-google-cloud-containeranalysis-v1beta1/pom.xml
index 2809478e..87111b6c 100644
--- a/proto-google-cloud-containeranalysis-v1beta1/pom.xml
+++ b/proto-google-cloud-containeranalysis-v1beta1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-cloud-containeranalysis-v1beta1
-  0.94.4
+  0.94.5-SNAPSHOT
   proto-google-cloud-containeranalysis-v1beta1
   PROTO library for proto-google-cloud-containeranalysis-v1beta1
   
     com.google.cloud
     google-cloud-containeranalysis-parent
-    2.4.4
+    2.4.5-SNAPSHOT
   
   
     
diff --git a/versions.txt b/versions.txt
index 9a7c7347..7cd77124 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,8 +1,8 @@
 # Format:
 # module:released-version:current-version
 
-proto-google-cloud-containeranalysis-v1:2.4.4:2.4.4
-proto-google-cloud-containeranalysis-v1beta1:0.94.4:0.94.4
-grpc-google-cloud-containeranalysis-v1beta1:0.94.4:0.94.4
-grpc-google-cloud-containeranalysis-v1:2.4.4:2.4.4
-google-cloud-containeranalysis:2.4.4:2.4.4
+proto-google-cloud-containeranalysis-v1:2.4.4:2.4.5-SNAPSHOT
+proto-google-cloud-containeranalysis-v1beta1:0.94.4:0.94.5-SNAPSHOT
+grpc-google-cloud-containeranalysis-v1beta1:0.94.4:0.94.5-SNAPSHOT
+grpc-google-cloud-containeranalysis-v1:2.4.4:2.4.5-SNAPSHOT
+google-cloud-containeranalysis:2.4.4:2.4.5-SNAPSHOT

From 2927178e886e7677c4d6c272da0e84d002e0ff45 Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Sat, 10 Sep 2022 02:12:12 +0000
Subject: [PATCH 4/5] chore: Generated snippets should not be owned by samples
 reviewers (#1575) (#933)

Source-Link: https://github.com/googleapis/synthtool/commit/2e9ac19d5b8181af77cdc5337cf922517813cc49
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93
---
 .github/.OwlBot.lock.yaml | 3 +--
 .github/CODEOWNERS        | 3 +++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index f8b912ad..62592923 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -13,5 +13,4 @@
 # limitations under the License.
 docker:
   image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
-  digest: sha256:b47e411068ffc6e6990cb4e0802fbac9a4488dec7f5f424553518ba21abea208
-# created: 2022-07-26T16:25:31.033836225Z
+  digest: sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 1578dc2f..5232f38f 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -10,3 +10,6 @@
 
 # The java-samples-reviewers team is the default owner for samples changes
 samples/**/*.java       @googleapis/java-samples-reviewers
+
+# Generated snippets should not be owned by samples reviewers
+samples/snippets/generated/       @googleapis/yoshi-java

From a4666890dface59ab610595bc486cf402b485c02 Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
 <55107282+release-please[bot]@users.noreply.github.com>
Date: Sat, 10 Sep 2022 02:28:19 +0000
Subject: [PATCH 5/5] chore(main): release 2.4.5 (#931)

:robot: I have created a release *beep* *boop*
---


## [2.4.5](https://github.com/googleapis/java-containeranalysis/compare/v2.4.4...v2.4.5) (2022-09-10)


### Dependencies

* Update dependency io.grafeas:grafeas to v2.4.4 ([#930](https://github.com/googleapis/java-containeranalysis/issues/930)) ([81e44ce](https://github.com/googleapis/java-containeranalysis/commit/81e44ceab03cdda9135885ed63c44b6c343eb0e8))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
---
 CHANGELOG.md                                         |  7 +++++++
 google-cloud-containeranalysis-bom/pom.xml           | 12 ++++++------
 google-cloud-containeranalysis/pom.xml               |  4 ++--
 grpc-google-cloud-containeranalysis-v1/pom.xml       |  4 ++--
 grpc-google-cloud-containeranalysis-v1beta1/pom.xml  |  4 ++--
 pom.xml                                              | 12 ++++++------
 proto-google-cloud-containeranalysis-v1/pom.xml      |  4 ++--
 proto-google-cloud-containeranalysis-v1beta1/pom.xml |  4 ++--
 versions.txt                                         | 10 +++++-----
 9 files changed, 34 insertions(+), 27 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 76179f6a..456ec3c3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
 # Changelog
 
+## [2.4.5](https://github.com/googleapis/java-containeranalysis/compare/v2.4.4...v2.4.5) (2022-09-10)
+
+
+### Dependencies
+
+* Update dependency io.grafeas:grafeas to v2.4.4 ([#930](https://github.com/googleapis/java-containeranalysis/issues/930)) ([81e44ce](https://github.com/googleapis/java-containeranalysis/commit/81e44ceab03cdda9135885ed63c44b6c343eb0e8))
+
 ## [2.4.4](https://github.com/googleapis/java-containeranalysis/compare/v2.4.3...v2.4.4) (2022-09-09)
 
 
diff --git a/google-cloud-containeranalysis-bom/pom.xml b/google-cloud-containeranalysis-bom/pom.xml
index 4916485e..5461c053 100644
--- a/google-cloud-containeranalysis-bom/pom.xml
+++ b/google-cloud-containeranalysis-bom/pom.xml
@@ -3,7 +3,7 @@
   4.0.0
   com.google.cloud
   google-cloud-containeranalysis-bom
-  2.4.5-SNAPSHOT
+  2.4.5
   pom
   
     com.google.cloud
@@ -52,27 +52,27 @@
       
         com.google.cloud
         google-cloud-containeranalysis
-        2.4.5-SNAPSHOT
+        2.4.5
       
       
         com.google.api.grpc
         grpc-google-cloud-containeranalysis-v1beta1
-        0.94.5-SNAPSHOT
+        0.94.5
       
       
         com.google.api.grpc
         grpc-google-cloud-containeranalysis-v1
-        2.4.5-SNAPSHOT
+        2.4.5
       
       
         com.google.api.grpc
         proto-google-cloud-containeranalysis-v1
-        2.4.5-SNAPSHOT
+        2.4.5
       
       
         com.google.api.grpc
         proto-google-cloud-containeranalysis-v1beta1
-        0.94.5-SNAPSHOT
+        0.94.5
       
     
   
diff --git a/google-cloud-containeranalysis/pom.xml b/google-cloud-containeranalysis/pom.xml
index 040c4b49..5fe112ed 100644
--- a/google-cloud-containeranalysis/pom.xml
+++ b/google-cloud-containeranalysis/pom.xml
@@ -3,7 +3,7 @@
   4.0.0
   com.google.cloud
   google-cloud-containeranalysis
-  2.4.5-SNAPSHOT
+  2.4.5
   jar
   Google Cloud Container Analysis
   https://github.com/googleapis/java-containeranalysis
@@ -11,7 +11,7 @@
   
     com.google.cloud
     google-cloud-containeranalysis-parent
-    2.4.5-SNAPSHOT
+    2.4.5
   
   
     google-cloud-containeranalysis
diff --git a/grpc-google-cloud-containeranalysis-v1/pom.xml b/grpc-google-cloud-containeranalysis-v1/pom.xml
index 899156d4..57787e02 100644
--- a/grpc-google-cloud-containeranalysis-v1/pom.xml
+++ b/grpc-google-cloud-containeranalysis-v1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-cloud-containeranalysis-v1
-  2.4.5-SNAPSHOT
+  2.4.5
   grpc-google-cloud-containeranalysis-v1
   GRPC library for grpc-google-cloud-containeranalysis-v1
   
     com.google.cloud
     google-cloud-containeranalysis-parent
-    2.4.5-SNAPSHOT
+    2.4.5
   
   
     
diff --git a/grpc-google-cloud-containeranalysis-v1beta1/pom.xml b/grpc-google-cloud-containeranalysis-v1beta1/pom.xml
index 40fb28d5..e121cb53 100644
--- a/grpc-google-cloud-containeranalysis-v1beta1/pom.xml
+++ b/grpc-google-cloud-containeranalysis-v1beta1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-cloud-containeranalysis-v1beta1
-  0.94.5-SNAPSHOT
+  0.94.5
   grpc-google-cloud-containeranalysis-v1beta1
   GRPC library for grpc-google-cloud-containeranalysis-v1beta1
   
     com.google.cloud
     google-cloud-containeranalysis-parent
-    2.4.5-SNAPSHOT
+    2.4.5
   
   
     
diff --git a/pom.xml b/pom.xml
index bda196b8..a4d9d7af 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
   com.google.cloud
   google-cloud-containeranalysis-parent
   pom
-  2.4.5-SNAPSHOT
+  2.4.5
   Google Cloud Container Analysis Parent
   https://github.com/googleapis/java-containeranalysis
   
@@ -61,27 +61,27 @@
       
         com.google.api.grpc
         proto-google-cloud-containeranalysis-v1
-        2.4.5-SNAPSHOT
+        2.4.5
       
       
         com.google.api.grpc
         proto-google-cloud-containeranalysis-v1beta1
-        0.94.5-SNAPSHOT
+        0.94.5
       
       
         com.google.api.grpc
         grpc-google-cloud-containeranalysis-v1beta1
-        0.94.5-SNAPSHOT
+        0.94.5
       
       
         com.google.api.grpc
         grpc-google-cloud-containeranalysis-v1
-        2.4.5-SNAPSHOT
+        2.4.5
       
       
         com.google.cloud
         google-cloud-containeranalysis
-        2.4.5-SNAPSHOT
+        2.4.5
       
 
       
diff --git a/proto-google-cloud-containeranalysis-v1/pom.xml b/proto-google-cloud-containeranalysis-v1/pom.xml
index 88b134a3..f4642367 100644
--- a/proto-google-cloud-containeranalysis-v1/pom.xml
+++ b/proto-google-cloud-containeranalysis-v1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-cloud-containeranalysis-v1
-  2.4.5-SNAPSHOT
+  2.4.5
   proto-google-cloud-containeranalysis-v1
   PROTO library for proto-google-cloud-containeranalysis-v1
   
     com.google.cloud
     google-cloud-containeranalysis-parent
-    2.4.5-SNAPSHOT
+    2.4.5
   
   
     
diff --git a/proto-google-cloud-containeranalysis-v1beta1/pom.xml b/proto-google-cloud-containeranalysis-v1beta1/pom.xml
index 87111b6c..071f4f70 100644
--- a/proto-google-cloud-containeranalysis-v1beta1/pom.xml
+++ b/proto-google-cloud-containeranalysis-v1beta1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-cloud-containeranalysis-v1beta1
-  0.94.5-SNAPSHOT
+  0.94.5
   proto-google-cloud-containeranalysis-v1beta1
   PROTO library for proto-google-cloud-containeranalysis-v1beta1
   
     com.google.cloud
     google-cloud-containeranalysis-parent
-    2.4.5-SNAPSHOT
+    2.4.5
   
   
     
diff --git a/versions.txt b/versions.txt
index 7cd77124..8cfcdfae 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,8 +1,8 @@
 # Format:
 # module:released-version:current-version
 
-proto-google-cloud-containeranalysis-v1:2.4.4:2.4.5-SNAPSHOT
-proto-google-cloud-containeranalysis-v1beta1:0.94.4:0.94.5-SNAPSHOT
-grpc-google-cloud-containeranalysis-v1beta1:0.94.4:0.94.5-SNAPSHOT
-grpc-google-cloud-containeranalysis-v1:2.4.4:2.4.5-SNAPSHOT
-google-cloud-containeranalysis:2.4.4:2.4.5-SNAPSHOT
+proto-google-cloud-containeranalysis-v1:2.4.5:2.4.5
+proto-google-cloud-containeranalysis-v1beta1:0.94.5:0.94.5
+grpc-google-cloud-containeranalysis-v1beta1:0.94.5:0.94.5
+grpc-google-cloud-containeranalysis-v1:2.4.5:2.4.5
+google-cloud-containeranalysis:2.4.5:2.4.5