Skip to content

Commit

Permalink
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, gener…
Browse files Browse the repository at this point in the history
…ator_java versions (#908)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 472750037

Source-Link: googleapis/googleapis@88f2ea3

Source-Link: https://github.com/googleapis/googleapis-gen/commit/230a5588306aae18fe8f2a57f14d4039ad72c901
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9
  • Loading branch information
gcf-owl-bot[bot] authored Sep 9, 2022
1 parent 48a7a56 commit 07df811
Show file tree
Hide file tree
Showing 359 changed files with 3,554 additions and 1,486 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,17 @@
* <p>For example, to set the total timeout of createSource to 30 seconds:
*
* <pre>{@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
* SecurityCenterSettings.Builder securityCenterSettingsBuilder =
* SecurityCenterSettings.newBuilder();
* securityCenterSettingsBuilder
* .createSourceSettings()
* .setRetrySettings(
* securityCenterSettingsBuilder
* .createSourceSettings()
* .getRetrySettings()
* .toBuilder()
* securityCenterSettingsBuilder.createSourceSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* SecurityCenterSettings securityCenterSettings = securityCenterSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@
* <p>Sample for SecurityCenterClient:
*
* <pre>{@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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
* OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
* Source source = Source.newBuilder().build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearParent().build()))
.toBody("*", request.toBuilder().clearParent().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -191,7 +191,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
})
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create().toBody("source", request.getSource()))
ProtoRestSerializer.create()
.toBody("source", request.getSource(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Source>newBuilder()
Expand Down Expand Up @@ -227,7 +228,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
})
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create().toBody("finding", request.getFinding()))
ProtoRestSerializer.create()
.toBody("finding", request.getFinding(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Finding>newBuilder()
Expand Down Expand Up @@ -268,7 +270,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("muteConfig", request.getMuteConfig()))
.toBody("muteConfig", request.getMuteConfig(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<MuteConfig>newBuilder()
Expand Down Expand Up @@ -306,7 +308,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("notificationConfig", request.getNotificationConfig()))
.toBody(
"notificationConfig", request.getNotificationConfig(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<NotificationConfig>newBuilder()
Expand Down Expand Up @@ -448,7 +451,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearResource().build()))
.toBody("*", request.toBuilder().clearResource().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Policy>newBuilder()
Expand Down Expand Up @@ -623,7 +626,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearParent().build()))
.toBody("*", request.toBuilder().clearParent().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<GroupAssetsResponse>newBuilder()
Expand Down Expand Up @@ -662,7 +665,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearParent().build()))
.toBody("*", request.toBuilder().clearParent().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<GroupFindingsResponse>newBuilder()
Expand Down Expand Up @@ -898,7 +901,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearParent().build()))
.toBody("*", request.toBuilder().clearParent().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -940,7 +943,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearName().build()))
.toBody("*", request.toBuilder().clearName().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Finding>newBuilder()
Expand Down Expand Up @@ -978,7 +981,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearName().build()))
.toBody("*", request.toBuilder().clearName().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Finding>newBuilder()
Expand Down Expand Up @@ -1014,7 +1017,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearResource().build()))
.toBody("*", request.toBuilder().clearResource().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Policy>newBuilder()
Expand Down Expand Up @@ -1050,7 +1053,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearResource().build()))
.toBody("*", request.toBuilder().clearResource().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<TestIamPermissionsResponse>newBuilder()
Expand Down Expand Up @@ -1094,7 +1097,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("externalSystem", request.getExternalSystem()))
.toBody("externalSystem", request.getExternalSystem(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<ExternalSystem>newBuilder()
Expand Down Expand Up @@ -1134,7 +1137,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
})
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create().toBody("finding", request.getFinding()))
ProtoRestSerializer.create()
.toBody("finding", request.getFinding(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Finding>newBuilder()
Expand Down Expand Up @@ -1175,7 +1179,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("muteConfig", request.getMuteConfig()))
.toBody("muteConfig", request.getMuteConfig(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<MuteConfig>newBuilder()
Expand Down Expand Up @@ -1216,7 +1220,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("notificationConfig", request.getNotificationConfig()))
.toBody(
"notificationConfig", request.getNotificationConfig(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<NotificationConfig>newBuilder()
Expand Down Expand Up @@ -1258,7 +1263,9 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
request ->
ProtoRestSerializer.create()
.toBody(
"organizationSettings", request.getOrganizationSettings()))
"organizationSettings",
request.getOrganizationSettings(),
false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<OrganizationSettings>newBuilder()
Expand Down Expand Up @@ -1295,7 +1302,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
})
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create().toBody("source", request.getSource()))
ProtoRestSerializer.create()
.toBody("source", request.getSource(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Source>newBuilder()
Expand Down Expand Up @@ -1341,7 +1349,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("securityMarks", request.getSecurityMarks()))
.toBody("securityMarks", request.getSecurityMarks(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<SecurityMarks>newBuilder()
Expand Down Expand Up @@ -1383,7 +1391,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("bigQueryExport", request.getBigQueryExport()))
.toBody("bigQueryExport", request.getBigQueryExport(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<BigQueryExport>newBuilder()
Expand Down Expand Up @@ -1464,7 +1472,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("bigQueryExport", request.getBigQueryExport()))
.toBody("bigQueryExport", request.getBigQueryExport(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<BigQueryExport>newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,17 +141,17 @@
* <p>For example, to set the total timeout of createSource to 30 seconds:
*
* <pre>{@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
* SecurityCenterStubSettings.Builder securityCenterSettingsBuilder =
* SecurityCenterStubSettings.newBuilder();
* securityCenterSettingsBuilder
* .createSourceSettings()
* .setRetrySettings(
* securityCenterSettingsBuilder
* .createSourceSettings()
* .getRetrySettings()
* .toBuilder()
* securityCenterSettingsBuilder.createSourceSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* SecurityCenterStubSettings securityCenterSettings = securityCenterSettingsBuilder.build();
Expand Down
Loading

0 comments on commit 07df811

Please sign in to comment.