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

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 472750037

Source-Link: googleapis/googleapis@88f2ea3

Source-Link: googleapis/googleapis-gen@230a558
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9
  • Loading branch information
gcf-owl-bot[bot] authored Sep 9, 2022
1 parent ccaf9d5 commit ca5f5dd
Show file tree
Hide file tree
Showing 229 changed files with 2,248 additions and 934 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,16 @@
* <p>For example, to set the total timeout of getConnectionProfile 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
* DatastreamSettings.Builder datastreamSettingsBuilder = DatastreamSettings.newBuilder();
* datastreamSettingsBuilder
* .getConnectionProfileSettings()
* .setRetrySettings(
* datastreamSettingsBuilder
* .getConnectionProfileSettings()
* .getRetrySettings()
* .toBuilder()
* datastreamSettingsBuilder.getConnectionProfileSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* DatastreamSettings datastreamSettings = datastreamSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@
* <p>Sample for DatastreamClient:
*
* <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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* ConnectionProfileName name =
* ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,16 @@
* <p>For example, to set the total timeout of getConnectionProfile 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
* DatastreamStubSettings.Builder datastreamSettingsBuilder = DatastreamStubSettings.newBuilder();
* datastreamSettingsBuilder
* .getConnectionProfileSettings()
* .setRetrySettings(
* datastreamSettingsBuilder
* .getConnectionProfileSettings()
* .getRetrySettings()
* .toBuilder()
* datastreamSettingsBuilder.getConnectionProfileSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* DatastreamStubSettings datastreamSettings = datastreamSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("connectionProfile", request.getConnectionProfile()))
.toBody(
"connectionProfile", request.getConnectionProfile(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -265,7 +266,8 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("connectionProfile", request.getConnectionProfile()))
.toBody(
"connectionProfile", request.getConnectionProfile(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -343,7 +345,7 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearParent().build()))
.toBody("*", request.toBuilder().clearParent().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<DiscoverConnectionProfileResponse>newBuilder()
Expand Down Expand Up @@ -452,7 +454,8 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
})
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create().toBody("stream", request.getStream()))
ProtoRestSerializer.create()
.toBody("stream", request.getStream(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -496,7 +499,8 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
})
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create().toBody("stream", request.getStream()))
ProtoRestSerializer.create()
.toBody("stream", request.getStream(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -605,7 +609,7 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearParent().build()))
.toBody("*", request.toBuilder().clearParent().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<StreamObject>newBuilder()
Expand Down Expand Up @@ -676,7 +680,7 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearObject().build()))
.toBody("*", request.toBuilder().clearObject().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<StartBackfillJobResponse>newBuilder()
Expand Down Expand Up @@ -712,7 +716,7 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearObject().build()))
.toBody("*", request.toBuilder().clearObject().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<StopBackfillJobResponse>newBuilder()
Expand Down Expand Up @@ -786,7 +790,8 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("privateConnection", request.getPrivateConnection()))
.toBody(
"privateConnection", request.getPrivateConnection(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -936,7 +941,8 @@ public class HttpJsonDatastreamStub extends DatastreamStub {
})
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create().toBody("route", request.getRoute()))
ProtoRestSerializer.create()
.toBody("route", request.getRoute(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down
Loading

0 comments on commit ca5f5dd

Please sign in to comment.