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

- [ ] 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 34b72dc commit 27075b4
Show file tree
Hide file tree
Showing 65 changed files with 609 additions and 281 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,16 @@
* <p>For example, to set the total timeout of getBillingAccount 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
* CloudBillingSettings.Builder cloudBillingSettingsBuilder = CloudBillingSettings.newBuilder();
* cloudBillingSettingsBuilder
* .getBillingAccountSettings()
* .setRetrySettings(
* cloudBillingSettingsBuilder
* .getBillingAccountSettings()
* .getRetrySettings()
* .toBuilder()
* cloudBillingSettingsBuilder.getBillingAccountSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* CloudBillingSettings cloudBillingSettings = cloudBillingSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,11 @@
* calls that map to API methods. Sample code to get started:
*
* <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 (CloudCatalogClient cloudCatalogClient = CloudCatalogClient.create()) {
* for (Service element : cloudCatalogClient.listServices().iterateAll()) {
* // doThingsWith(element);
Expand Down Expand Up @@ -79,8 +82,11 @@
* <p>To customize credentials:
*
* <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
* CloudCatalogSettings cloudCatalogSettings =
* CloudCatalogSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -91,8 +97,11 @@
* <p>To customize the endpoint:
*
* <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
* CloudCatalogSettings cloudCatalogSettings =
* CloudCatalogSettings.newBuilder().setEndpoint(myEndpoint).build();
* CloudCatalogClient cloudCatalogClient = CloudCatalogClient.create(cloudCatalogSettings);
Expand All @@ -102,8 +111,11 @@
* the wire:
*
* <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
* CloudCatalogSettings cloudCatalogSettings =
* CloudCatalogSettings.newBuilder()
* .setTransportChannelProvider(
Expand Down Expand Up @@ -170,8 +182,11 @@ public CloudCatalogStub getStub() {
* <p>Sample code:
*
* <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 (CloudCatalogClient cloudCatalogClient = CloudCatalogClient.create()) {
* for (Service element : cloudCatalogClient.listServices().iterateAll()) {
* // doThingsWith(element);
Expand All @@ -194,8 +209,11 @@ public final ListServicesPagedResponse listServices() {
* <p>Sample code:
*
* <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 (CloudCatalogClient cloudCatalogClient = CloudCatalogClient.create()) {
* ListServicesRequest request =
* ListServicesRequest.newBuilder()
Expand All @@ -222,8 +240,11 @@ public final ListServicesPagedResponse listServices(ListServicesRequest request)
* <p>Sample code:
*
* <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 (CloudCatalogClient cloudCatalogClient = CloudCatalogClient.create()) {
* ListServicesRequest request =
* ListServicesRequest.newBuilder()
Expand Down Expand Up @@ -251,8 +272,11 @@ public final ListServicesPagedResponse listServices(ListServicesRequest request)
* <p>Sample code:
*
* <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 (CloudCatalogClient cloudCatalogClient = CloudCatalogClient.create()) {
* ListServicesRequest request =
* ListServicesRequest.newBuilder()
Expand Down Expand Up @@ -285,8 +309,11 @@ public final UnaryCallable<ListServicesRequest, ListServicesResponse> listServic
* <p>Sample code:
*
* <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 (CloudCatalogClient cloudCatalogClient = CloudCatalogClient.create()) {
* ServiceName parent = ServiceName.of("[SERVICE]");
* for (Sku element : cloudCatalogClient.listSkus(parent).iterateAll()) {
Expand All @@ -311,8 +338,11 @@ public final ListSkusPagedResponse listSkus(ServiceName parent) {
* <p>Sample code:
*
* <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 (CloudCatalogClient cloudCatalogClient = CloudCatalogClient.create()) {
* String parent = ServiceName.of("[SERVICE]").toString();
* for (Sku element : cloudCatalogClient.listSkus(parent).iterateAll()) {
Expand All @@ -336,8 +366,11 @@ public final ListSkusPagedResponse listSkus(String parent) {
* <p>Sample code:
*
* <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 (CloudCatalogClient cloudCatalogClient = CloudCatalogClient.create()) {
* ListSkusRequest request =
* ListSkusRequest.newBuilder()
Expand Down Expand Up @@ -368,8 +401,11 @@ public final ListSkusPagedResponse listSkus(ListSkusRequest request) {
* <p>Sample code:
*
* <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 (CloudCatalogClient cloudCatalogClient = CloudCatalogClient.create()) {
* ListSkusRequest request =
* ListSkusRequest.newBuilder()
Expand Down Expand Up @@ -399,8 +435,11 @@ public final UnaryCallable<ListSkusRequest, ListSkusPagedResponse> listSkusPaged
* <p>Sample code:
*
* <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 (CloudCatalogClient cloudCatalogClient = CloudCatalogClient.create()) {
* ListSkusRequest request =
* ListSkusRequest.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,16 @@
* <p>For example, to set the total timeout of listServices 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
* CloudCatalogSettings.Builder cloudCatalogSettingsBuilder = CloudCatalogSettings.newBuilder();
* cloudCatalogSettingsBuilder
* .listServicesSettings()
* .setRetrySettings(
* cloudCatalogSettingsBuilder
* .listServicesSettings()
* .getRetrySettings()
* .toBuilder()
* cloudCatalogSettingsBuilder.listServicesSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* CloudCatalogSettings cloudCatalogSettings = cloudCatalogSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@
* <p>Sample for CloudBillingClient:
*
* <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 (CloudBillingClient cloudBillingClient = CloudBillingClient.create()) {
* BillingAccountName name = BillingAccountName.of("[BILLING_ACCOUNT]");
* BillingAccount response = cloudBillingClient.getBillingAccount(name);
Expand All @@ -40,8 +43,11 @@
* <p>Sample for CloudCatalogClient:
*
* <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 (CloudCatalogClient cloudCatalogClient = CloudCatalogClient.create()) {
* for (Service element : cloudCatalogClient.listServices().iterateAll()) {
* // doThingsWith(element);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,17 @@
* <p>For example, to set the total timeout of getBillingAccount 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
* CloudBillingStubSettings.Builder cloudBillingSettingsBuilder =
* CloudBillingStubSettings.newBuilder();
* cloudBillingSettingsBuilder
* .getBillingAccountSettings()
* .setRetrySettings(
* cloudBillingSettingsBuilder
* .getBillingAccountSettings()
* .getRetrySettings()
* .toBuilder()
* cloudBillingSettingsBuilder.getBillingAccountSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* CloudBillingStubSettings cloudBillingSettings = cloudBillingSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,17 @@
* <p>For example, to set the total timeout of listServices 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
* CloudCatalogStubSettings.Builder cloudCatalogSettingsBuilder =
* CloudCatalogStubSettings.newBuilder();
* cloudCatalogSettingsBuilder
* .listServicesSettings()
* .setRetrySettings(
* cloudCatalogSettingsBuilder
* .listServicesSettings()
* .getRetrySettings()
* .toBuilder()
* cloudCatalogSettingsBuilder.listServicesSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* CloudCatalogStubSettings cloudCatalogSettings = cloudCatalogSettingsBuilder.build();
Expand Down
Loading

0 comments on commit 27075b4

Please sign in to comment.