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

- [ ] 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] committed Sep 9, 2022
1 parent 7a9ad9f commit aa1fcd5
Show file tree
Hide file tree
Showing 174 changed files with 1,632 additions and 692 deletions.
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 (LookupServiceClient lookupServiceClient = LookupServiceClient.create()) {
* ResolveServiceRequest request =
* ResolveServiceRequest.newBuilder()
Expand Down Expand Up @@ -75,8 +78,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
* LookupServiceSettings lookupServiceSettings =
* LookupServiceSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -87,8 +93,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
* LookupServiceSettings lookupServiceSettings =
* LookupServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
* LookupServiceClient lookupServiceClient = LookupServiceClient.create(lookupServiceSettings);
Expand All @@ -98,8 +107,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
* LookupServiceSettings lookupServiceSettings =
* LookupServiceSettings.newBuilder()
* .setTransportChannelProvider(
Expand Down Expand Up @@ -168,8 +180,11 @@ public LookupServiceStub 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 (LookupServiceClient lookupServiceClient = LookupServiceClient.create()) {
* ResolveServiceRequest request =
* ResolveServiceRequest.newBuilder()
Expand Down Expand Up @@ -197,8 +212,11 @@ public final ResolveServiceResponse resolveService(ResolveServiceRequest 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 (LookupServiceClient lookupServiceClient = LookupServiceClient.create()) {
* ResolveServiceRequest request =
* ResolveServiceRequest.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,16 @@
* <p>For example, to set the total timeout of resolveService 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
* LookupServiceSettings.Builder lookupServiceSettingsBuilder = LookupServiceSettings.newBuilder();
* lookupServiceSettingsBuilder
* .resolveServiceSettings()
* .setRetrySettings(
* lookupServiceSettingsBuilder
* .resolveServiceSettings()
* .getRetrySettings()
* .toBuilder()
* lookupServiceSettingsBuilder.resolveServiceSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* LookupServiceSettings lookupServiceSettings = lookupServiceSettingsBuilder.build();
Expand Down
Loading

0 comments on commit aa1fcd5

Please sign in to comment.