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 (#159)

- [ ] 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 571b6be commit 86b4ab7
Show file tree
Hide file tree
Showing 10 changed files with 376 additions and 152 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,11 @@
* <p>For example, to set the total timeout of createMigrationWorkflow 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
* MigrationServiceSettings.Builder migrationServiceSettingsBuilder =
* MigrationServiceSettings.newBuilder();
* migrationServiceSettingsBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@
* <p>Sample for MigrationServiceClient:
*
* <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 (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* MigrationWorkflow migrationWorkflow = MigrationWorkflow.newBuilder().build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ public class HttpJsonMigrationServiceStub extends MigrationServiceStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("migrationWorkflow", request.getMigrationWorkflow()))
.toBody(
"migrationWorkflow", request.getMigrationWorkflow(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<MigrationWorkflow>newBuilder()
Expand Down Expand Up @@ -236,7 +237,7 @@ public class HttpJsonMigrationServiceStub extends MigrationServiceStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearName().build()))
.toBody("*", request.toBuilder().clearName().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Empty>newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,11 @@
* <p>For example, to set the total timeout of createMigrationWorkflow 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
* MigrationServiceStubSettings.Builder migrationServiceSettingsBuilder =
* MigrationServiceStubSettings.newBuilder();
* migrationServiceSettingsBuilder
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,11 @@
* <p>For example, to set the total timeout of createMigrationWorkflow 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
* MigrationServiceSettings.Builder migrationServiceSettingsBuilder =
* MigrationServiceSettings.newBuilder();
* migrationServiceSettingsBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@
* <p>Sample for MigrationServiceClient:
*
* <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 (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* MigrationWorkflow migrationWorkflow = MigrationWorkflow.newBuilder().build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ public class HttpJsonMigrationServiceStub extends MigrationServiceStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("migrationWorkflow", request.getMigrationWorkflow()))
.toBody(
"migrationWorkflow", request.getMigrationWorkflow(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<MigrationWorkflow>newBuilder()
Expand Down Expand Up @@ -236,7 +237,7 @@ public class HttpJsonMigrationServiceStub extends MigrationServiceStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearName().build()))
.toBody("*", request.toBuilder().clearName().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Empty>newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,11 @@
* <p>For example, to set the total timeout of createMigrationWorkflow 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
* MigrationServiceStubSettings.Builder migrationServiceSettingsBuilder =
* MigrationServiceStubSettings.newBuilder();
* migrationServiceSettingsBuilder
Expand Down

0 comments on commit 86b4ab7

Please sign in to comment.