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

- [ ] 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 e42e7ad commit 110ba01
Show file tree
Hide file tree
Showing 269 changed files with 2,463 additions and 1,140 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,17 @@
* <p>For example, to set the total timeout of createCompany 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
* CompanyServiceSettings.Builder companyServiceSettingsBuilder =
* CompanyServiceSettings.newBuilder();
* companyServiceSettingsBuilder
* .createCompanySettings()
* .setRetrySettings(
* companyServiceSettingsBuilder
* .createCompanySettings()
* .getRetrySettings()
* .toBuilder()
* companyServiceSettingsBuilder.createCompanySettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* CompanyServiceSettings companyServiceSettings = companyServiceSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,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 (CompletionClient completionClient = CompletionClient.create()) {
* CompleteQueryRequest request =
* CompleteQueryRequest.newBuilder()
Expand Down Expand Up @@ -76,8 +79,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
* CompletionSettings completionSettings =
* CompletionSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -88,8 +94,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
* CompletionSettings completionSettings =
* CompletionSettings.newBuilder().setEndpoint(myEndpoint).build();
* CompletionClient completionClient = CompletionClient.create(completionSettings);
Expand All @@ -99,8 +108,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
* CompletionSettings completionSettings =
* CompletionSettings.newBuilder()
* .setTransportChannelProvider(
Expand Down Expand Up @@ -167,8 +179,11 @@ public CompletionStub 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 (CompletionClient completionClient = CompletionClient.create()) {
* CompleteQueryRequest request =
* CompleteQueryRequest.newBuilder()
Expand Down Expand Up @@ -197,8 +212,11 @@ public final CompleteQueryResponse completeQuery(CompleteQueryRequest 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 (CompletionClient completionClient = CompletionClient.create()) {
* CompleteQueryRequest request =
* CompleteQueryRequest.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@
* <p>For example, to set the total timeout of completeQuery 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
* CompletionSettings.Builder completionSettingsBuilder = CompletionSettings.newBuilder();
* completionSettingsBuilder
* .completeQuerySettings()
* .setRetrySettings(
* completionSettingsBuilder
* .completeQuerySettings()
* .getRetrySettings()
* .toBuilder()
* completionSettingsBuilder.completeQuerySettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* CompletionSettings completionSettings = completionSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,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 (EventServiceClient eventServiceClient = EventServiceClient.create()) {
* TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
* ClientEvent clientEvent = ClientEvent.newBuilder().build();
Expand Down Expand Up @@ -70,8 +73,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
* EventServiceSettings eventServiceSettings =
* EventServiceSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -82,8 +88,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
* EventServiceSettings eventServiceSettings =
* EventServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
* EventServiceClient eventServiceClient = EventServiceClient.create(eventServiceSettings);
Expand All @@ -93,8 +102,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
* EventServiceSettings eventServiceSettings =
* EventServiceSettings.newBuilder()
* .setTransportChannelProvider(
Expand Down Expand Up @@ -164,8 +176,11 @@ public EventServiceStub 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 (EventServiceClient eventServiceClient = EventServiceClient.create()) {
* TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
* ClientEvent clientEvent = ClientEvent.newBuilder().build();
Expand Down Expand Up @@ -199,8 +214,11 @@ public final ClientEvent createClientEvent(TenantName parent, ClientEvent client
* <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 (EventServiceClient eventServiceClient = EventServiceClient.create()) {
* String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
* ClientEvent clientEvent = ClientEvent.newBuilder().build();
Expand Down Expand Up @@ -231,8 +249,11 @@ public final ClientEvent createClientEvent(String parent, ClientEvent clientEven
* <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 (EventServiceClient eventServiceClient = EventServiceClient.create()) {
* CreateClientEventRequest request =
* CreateClientEventRequest.newBuilder()
Expand Down Expand Up @@ -260,8 +281,11 @@ public final ClientEvent createClientEvent(CreateClientEventRequest 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 (EventServiceClient eventServiceClient = EventServiceClient.create()) {
* CreateClientEventRequest request =
* CreateClientEventRequest.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@
* <p>For example, to set the total timeout of createClientEvent 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
* EventServiceSettings.Builder eventServiceSettingsBuilder = EventServiceSettings.newBuilder();
* eventServiceSettingsBuilder
* .createClientEventSettings()
* .setRetrySettings(
* eventServiceSettingsBuilder
* .createClientEventSettings()
* .getRetrySettings()
* .toBuilder()
* eventServiceSettingsBuilder.createClientEventSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* EventServiceSettings eventServiceSettings = eventServiceSettingsBuilder.build();
Expand Down
Loading

0 comments on commit 110ba01

Please sign in to comment.