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

- [ ] 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 f4395e4 commit 8f79c07
Show file tree
Hide file tree
Showing 255 changed files with 2,492 additions and 1,046 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@
* <p>For example, to set the total timeout of createContent 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
* ContentServiceSettings.Builder contentServiceSettingsBuilder =
* ContentServiceSettings.newBuilder();
* contentServiceSettingsBuilder
* .createContentSettings()
* .setRetrySettings(
* contentServiceSettingsBuilder
* .createContentSettings()
* .getRetrySettings()
* .toBuilder()
* contentServiceSettingsBuilder.createContentSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* ContentServiceSettings contentServiceSettings = contentServiceSettingsBuilder.build();
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,17 @@
* <p>For example, to set the total timeout of getLake 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
* DataplexServiceSettings.Builder dataplexServiceSettingsBuilder =
* DataplexServiceSettings.newBuilder();
* dataplexServiceSettingsBuilder
* .getLakeSettings()
* .setRetrySettings(
* dataplexServiceSettingsBuilder
* .getLakeSettings()
* .getRetrySettings()
* .toBuilder()
* dataplexServiceSettingsBuilder.getLakeSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* DataplexServiceSettings dataplexServiceSettings = dataplexServiceSettingsBuilder.build();
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,17 @@
* <p>For example, to set the total timeout of createEntity 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
* MetadataServiceSettings.Builder metadataServiceSettingsBuilder =
* MetadataServiceSettings.newBuilder();
* metadataServiceSettingsBuilder
* .createEntitySettings()
* .setRetrySettings(
* metadataServiceSettingsBuilder
* .createEntitySettings()
* .getRetrySettings()
* .toBuilder()
* metadataServiceSettingsBuilder.createEntitySettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* MetadataServiceSettings metadataServiceSettings = metadataServiceSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@
* <p>Sample for ContentServiceClient:
*
* <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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) {
* LakeName parent = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]");
* Content content = Content.newBuilder().build();
Expand All @@ -43,8 +46,11 @@
* <p>Sample for MetadataServiceClient:
*
* <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 (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
* ZoneName parent = ZoneName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]");
* Entity entity = Entity.newBuilder().build();
Expand All @@ -62,8 +68,11 @@
* <p>Sample for DataplexServiceClient:
*
* <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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) {
* LakeName name = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]");
* Lake response = dataplexServiceClient.getLake(name);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,17 @@
* <p>For example, to set the total timeout of createContent 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
* ContentServiceStubSettings.Builder contentServiceSettingsBuilder =
* ContentServiceStubSettings.newBuilder();
* contentServiceSettingsBuilder
* .createContentSettings()
* .setRetrySettings(
* contentServiceSettingsBuilder
* .createContentSettings()
* .getRetrySettings()
* .toBuilder()
* contentServiceSettingsBuilder.createContentSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* ContentServiceStubSettings contentServiceSettings = contentServiceSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,17 +139,17 @@
* <p>For example, to set the total timeout of getLake 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
* DataplexServiceStubSettings.Builder dataplexServiceSettingsBuilder =
* DataplexServiceStubSettings.newBuilder();
* dataplexServiceSettingsBuilder
* .getLakeSettings()
* .setRetrySettings(
* dataplexServiceSettingsBuilder
* .getLakeSettings()
* .getRetrySettings()
* .toBuilder()
* dataplexServiceSettingsBuilder.getLakeSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* DataplexServiceStubSettings dataplexServiceSettings = dataplexServiceSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ public class HttpJsonContentServiceStub extends ContentServiceStub {
})
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create().toBody("content", request.getContent()))
ProtoRestSerializer.create()
.toBody("content", request.getContent(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Content>newBuilder()
Expand Down Expand Up @@ -138,7 +139,8 @@ public class HttpJsonContentServiceStub extends ContentServiceStub {
})
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create().toBody("content", request.getContent()))
ProtoRestSerializer.create()
.toBody("content", request.getContent(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Content>newBuilder()
Expand Down Expand Up @@ -280,7 +282,7 @@ public class HttpJsonContentServiceStub extends ContentServiceStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearResource().build()))
.toBody("*", request.toBuilder().clearResource().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Policy>newBuilder()
Expand Down Expand Up @@ -318,7 +320,7 @@ public class HttpJsonContentServiceStub extends ContentServiceStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearResource().build()))
.toBody("*", request.toBuilder().clearResource().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<TestIamPermissionsResponse>newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ public class HttpJsonDataplexServiceStub extends DataplexServiceStub {
return fields;
})
.setRequestBodyExtractor(
request -> ProtoRestSerializer.create().toBody("lake", request.getLake()))
request ->
ProtoRestSerializer.create().toBody("lake", request.getLake(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -194,7 +195,8 @@ public class HttpJsonDataplexServiceStub extends DataplexServiceStub {
return fields;
})
.setRequestBodyExtractor(
request -> ProtoRestSerializer.create().toBody("lake", request.getLake()))
request ->
ProtoRestSerializer.create().toBody("lake", request.getLake(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -374,7 +376,8 @@ public class HttpJsonDataplexServiceStub extends DataplexServiceStub {
return fields;
})
.setRequestBodyExtractor(
request -> ProtoRestSerializer.create().toBody("zone", request.getZone()))
request ->
ProtoRestSerializer.create().toBody("zone", request.getZone(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -415,7 +418,8 @@ public class HttpJsonDataplexServiceStub extends DataplexServiceStub {
return fields;
})
.setRequestBodyExtractor(
request -> ProtoRestSerializer.create().toBody("zone", request.getZone()))
request ->
ProtoRestSerializer.create().toBody("zone", request.getZone(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -596,7 +600,8 @@ public class HttpJsonDataplexServiceStub extends DataplexServiceStub {
})
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create().toBody("asset", request.getAsset()))
ProtoRestSerializer.create()
.toBody("asset", request.getAsset(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -638,7 +643,8 @@ public class HttpJsonDataplexServiceStub extends DataplexServiceStub {
})
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create().toBody("asset", request.getAsset()))
ProtoRestSerializer.create()
.toBody("asset", request.getAsset(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -818,7 +824,8 @@ public class HttpJsonDataplexServiceStub extends DataplexServiceStub {
return fields;
})
.setRequestBodyExtractor(
request -> ProtoRestSerializer.create().toBody("task", request.getTask()))
request ->
ProtoRestSerializer.create().toBody("task", request.getTask(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -859,7 +866,8 @@ public class HttpJsonDataplexServiceStub extends DataplexServiceStub {
return fields;
})
.setRequestBodyExtractor(
request -> ProtoRestSerializer.create().toBody("task", request.getTask()))
request ->
ProtoRestSerializer.create().toBody("task", request.getTask(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -1069,7 +1077,7 @@ public class HttpJsonDataplexServiceStub extends DataplexServiceStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearName().build()))
.toBody("*", request.toBuilder().clearName().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Empty>newBuilder()
Expand Down Expand Up @@ -1109,7 +1117,7 @@ public class HttpJsonDataplexServiceStub extends DataplexServiceStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("environment", request.getEnvironment()))
.toBody("environment", request.getEnvironment(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -1152,7 +1160,7 @@ public class HttpJsonDataplexServiceStub extends DataplexServiceStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("environment", request.getEnvironment()))
.toBody("environment", request.getEnvironment(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ public class HttpJsonMetadataServiceStub extends MetadataServiceStub {
})
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create().toBody("entity", request.getEntity()))
ProtoRestSerializer.create()
.toBody("entity", request.getEntity(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Entity>newBuilder()
Expand Down Expand Up @@ -136,7 +137,8 @@ public class HttpJsonMetadataServiceStub extends MetadataServiceStub {
})
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create().toBody("entity", request.getEntity()))
ProtoRestSerializer.create()
.toBody("entity", request.getEntity(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Entity>newBuilder()
Expand Down Expand Up @@ -278,7 +280,7 @@ public class HttpJsonMetadataServiceStub extends MetadataServiceStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("partition", request.getPartition()))
.toBody("partition", request.getPartition(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Partition>newBuilder()
Expand Down
Loading

0 comments on commit 8f79c07

Please sign in to comment.