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

- [ ] 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 72ed372 commit 78330bc
Show file tree
Hide file tree
Showing 10 changed files with 2,493 additions and 1,039 deletions.

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 getAccount 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
* AnalyticsAdminServiceSettings.Builder analyticsAdminServiceSettingsBuilder =
* AnalyticsAdminServiceSettings.newBuilder();
* analyticsAdminServiceSettingsBuilder
* .getAccountSettings()
* .setRetrySettings(
* analyticsAdminServiceSettingsBuilder
* .getAccountSettings()
* .getRetrySettings()
* .toBuilder()
* analyticsAdminServiceSettingsBuilder.getAccountSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* AnalyticsAdminServiceSettings analyticsAdminServiceSettings =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@
* <p>Sample for AnalyticsAdminServiceClient:
*
* <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 (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
* AccountName name = AccountName.of("[ACCOUNT]");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,17 +210,17 @@
* <p>For example, to set the total timeout of getAccount 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
* AnalyticsAdminServiceStubSettings.Builder analyticsAdminServiceSettingsBuilder =
* AnalyticsAdminServiceStubSettings.newBuilder();
* analyticsAdminServiceSettingsBuilder
* .getAccountSettings()
* .setRetrySettings(
* analyticsAdminServiceSettingsBuilder
* .getAccountSettings()
* .getRetrySettings()
* .toBuilder()
* analyticsAdminServiceSettingsBuilder.getAccountSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* AnalyticsAdminServiceStubSettings analyticsAdminServiceSettings =
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,17 @@
* <p>For example, to set the total timeout of getAccount 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
* AnalyticsAdminServiceSettings.Builder analyticsAdminServiceSettingsBuilder =
* AnalyticsAdminServiceSettings.newBuilder();
* analyticsAdminServiceSettingsBuilder
* .getAccountSettings()
* .setRetrySettings(
* analyticsAdminServiceSettingsBuilder
* .getAccountSettings()
* .getRetrySettings()
* .toBuilder()
* analyticsAdminServiceSettingsBuilder.getAccountSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* AnalyticsAdminServiceSettings analyticsAdminServiceSettings =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@
* <p>Sample for AnalyticsAdminServiceClient:
*
* <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 (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
* AccountName name = AccountName.of("[ACCOUNT]");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,17 +155,17 @@
* <p>For example, to set the total timeout of getAccount 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
* AnalyticsAdminServiceStubSettings.Builder analyticsAdminServiceSettingsBuilder =
* AnalyticsAdminServiceStubSettings.newBuilder();
* analyticsAdminServiceSettingsBuilder
* .getAccountSettings()
* .setRetrySettings(
* analyticsAdminServiceSettingsBuilder
* .getAccountSettings()
* .getRetrySettings()
* .toBuilder()
* analyticsAdminServiceSettingsBuilder.getAccountSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* AnalyticsAdminServiceStubSettings analyticsAdminServiceSettings =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,8 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
})
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create().toBody("account", request.getAccount()))
ProtoRestSerializer.create()
.toBody("account", request.getAccount(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Account>newBuilder()
Expand Down Expand Up @@ -300,7 +301,8 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
})
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create().toBody("*", request.toBuilder().build()))
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<ProvisionAccountTicketResponse>newBuilder()
Expand Down Expand Up @@ -444,7 +446,7 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("property", request.getProperty()))
.toBody("property", request.getProperty(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Property>newBuilder()
Expand Down Expand Up @@ -517,7 +519,7 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("property", request.getProperty()))
.toBody("property", request.getProperty(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Property>newBuilder()
Expand Down Expand Up @@ -554,7 +556,7 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("firebaseLink", request.getFirebaseLink()))
.toBody("firebaseLink", request.getFirebaseLink(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<FirebaseLink>newBuilder()
Expand Down Expand Up @@ -661,7 +663,7 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("googleAdsLink", request.getGoogleAdsLink()))
.toBody("googleAdsLink", request.getGoogleAdsLink(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<GoogleAdsLink>newBuilder()
Expand Down Expand Up @@ -700,7 +702,7 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("googleAdsLink", request.getGoogleAdsLink()))
.toBody("googleAdsLink", request.getGoogleAdsLink(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<GoogleAdsLink>newBuilder()
Expand Down Expand Up @@ -921,7 +923,8 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
ProtoRestSerializer.create()
.toBody(
"measurementProtocolSecret",
request.getMeasurementProtocolSecret()))
request.getMeasurementProtocolSecret(),
false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<MeasurementProtocolSecret>newBuilder()
Expand Down Expand Up @@ -1000,7 +1003,8 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
ProtoRestSerializer.create()
.toBody(
"measurementProtocolSecret",
request.getMeasurementProtocolSecret()))
request.getMeasurementProtocolSecret(),
false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<MeasurementProtocolSecret>newBuilder()
Expand Down Expand Up @@ -1040,7 +1044,7 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearProperty().build()))
.toBody("*", request.toBuilder().clearProperty().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<AcknowledgeUserDataCollectionResponse>newBuilder()
Expand Down Expand Up @@ -1080,7 +1084,7 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearAccount().build()))
.toBody("*", request.toBuilder().clearAccount().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<SearchChangeHistoryEventsResponse>newBuilder()
Expand Down Expand Up @@ -1117,7 +1121,7 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("conversionEvent", request.getConversionEvent()))
.toBody("conversionEvent", request.getConversionEvent(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<ConversionEvent>newBuilder()
Expand Down Expand Up @@ -1260,7 +1264,7 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("customDimension", request.getCustomDimension()))
.toBody("customDimension", request.getCustomDimension(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<CustomDimension>newBuilder()
Expand Down Expand Up @@ -1301,7 +1305,7 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("customDimension", request.getCustomDimension()))
.toBody("customDimension", request.getCustomDimension(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<CustomDimension>newBuilder()
Expand Down Expand Up @@ -1376,7 +1380,7 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearName().build()))
.toBody("*", request.toBuilder().clearName().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Empty>newBuilder()
Expand Down Expand Up @@ -1447,7 +1451,7 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("customMetric", request.getCustomMetric()))
.toBody("customMetric", request.getCustomMetric(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<CustomMetric>newBuilder()
Expand Down Expand Up @@ -1486,7 +1490,7 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("customMetric", request.getCustomMetric()))
.toBody("customMetric", request.getCustomMetric(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<CustomMetric>newBuilder()
Expand Down Expand Up @@ -1559,7 +1563,7 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearName().build()))
.toBody("*", request.toBuilder().clearName().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Empty>newBuilder()
Expand Down Expand Up @@ -1671,7 +1675,9 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
request ->
ProtoRestSerializer.create()
.toBody(
"dataRetentionSettings", request.getDataRetentionSettings()))
"dataRetentionSettings",
request.getDataRetentionSettings(),
false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<DataRetentionSettings>newBuilder()
Expand Down Expand Up @@ -1708,7 +1714,7 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("dataStream", request.getDataStream()))
.toBody("dataStream", request.getDataStream(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<DataStream>newBuilder()
Expand Down Expand Up @@ -1781,7 +1787,7 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("dataStream", request.getDataStream()))
.toBody("dataStream", request.getDataStream(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<DataStream>newBuilder()
Expand Down

0 comments on commit 78330bc

Please sign in to comment.