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

- [ ] 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 374a16b commit 3f2a1c3
Show file tree
Hide file tree
Showing 328 changed files with 15,331 additions and 6,790 deletions.
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 @@ -53,17 +53,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 3f2a1c3

Please sign in to comment.