Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

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

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 2b41e83 commit dfadf88
Show file tree
Hide file tree
Showing 4,821 changed files with 1,275,244 additions and 1,545,497 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,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 (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* String project = "project-309310695";
* String zone = "zone3744684";
Expand Down Expand Up @@ -83,8 +86,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
* AcceleratorTypesSettings acceleratorTypesSettings =
* AcceleratorTypesSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -96,8 +102,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
* AcceleratorTypesSettings acceleratorTypesSettings =
* AcceleratorTypesSettings.newBuilder().setEndpoint(myEndpoint).build();
* AcceleratorTypesClient acceleratorTypesClient =
Expand Down Expand Up @@ -163,8 +172,11 @@ public AcceleratorTypesStub 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 (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* String project = "project-309310695";
* for (Map.Entry<String, AcceleratorTypesScopedList> element :
Expand All @@ -190,8 +202,11 @@ public final AggregatedListPagedResponse aggregatedList(String project) {
* <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 (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* AggregatedListAcceleratorTypesRequest request =
* AggregatedListAcceleratorTypesRequest.newBuilder()
Expand Down Expand Up @@ -225,8 +240,11 @@ public final AggregatedListPagedResponse aggregatedList(
* <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 (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* AggregatedListAcceleratorTypesRequest request =
* AggregatedListAcceleratorTypesRequest.newBuilder()
Expand Down Expand Up @@ -259,8 +277,11 @@ public final AggregatedListPagedResponse aggregatedList(
* <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 (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* AggregatedListAcceleratorTypesRequest request =
* AggregatedListAcceleratorTypesRequest.newBuilder()
Expand Down Expand Up @@ -300,8 +321,11 @@ public final AggregatedListPagedResponse aggregatedList(
* <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 (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* String project = "project-309310695";
* String zone = "zone3744684";
Expand Down Expand Up @@ -332,8 +356,11 @@ public final AcceleratorType get(String project, String zone, String accelerator
* <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 (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* GetAcceleratorTypeRequest request =
* GetAcceleratorTypeRequest.newBuilder()
Expand All @@ -359,8 +386,11 @@ public final AcceleratorType get(GetAcceleratorTypeRequest 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 (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* GetAcceleratorTypeRequest request =
* GetAcceleratorTypeRequest.newBuilder()
Expand All @@ -385,8 +415,11 @@ public final UnaryCallable<GetAcceleratorTypeRequest, AcceleratorType> getCallab
* <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 (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* String project = "project-309310695";
* String zone = "zone3744684";
Expand All @@ -413,8 +446,11 @@ public final ListPagedResponse list(String project, String zone) {
* <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 (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* ListAcceleratorTypesRequest request =
* ListAcceleratorTypesRequest.newBuilder()
Expand Down Expand Up @@ -446,8 +482,11 @@ public final ListPagedResponse list(ListAcceleratorTypesRequest 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 (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* ListAcceleratorTypesRequest request =
* ListAcceleratorTypesRequest.newBuilder()
Expand Down Expand Up @@ -479,8 +518,11 @@ public final UnaryCallable<ListAcceleratorTypesRequest, ListPagedResponse> listP
* <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 (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* ListAcceleratorTypesRequest request =
* ListAcceleratorTypesRequest.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.compute.v1.stub.AcceleratorTypesStubSettings;
Expand All @@ -53,17 +54,17 @@
* <p>For example, to set the total timeout of get 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
* AcceleratorTypesSettings.Builder acceleratorTypesSettingsBuilder =
* AcceleratorTypesSettings.newBuilder();
* acceleratorTypesSettingsBuilder
* .getSettings()
* .setRetrySettings(
* acceleratorTypesSettingsBuilder
* .getSettings()
* .getRetrySettings()
* .toBuilder()
* acceleratorTypesSettingsBuilder.getSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* AcceleratorTypesSettings acceleratorTypesSettings = acceleratorTypesSettingsBuilder.build();
Expand Down
Loading

0 comments on commit dfadf88

Please sign in to comment.