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

- [ ] 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 5472efa commit 967ec77
Show file tree
Hide file tree
Showing 32 changed files with 756 additions and 352 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,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 (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
* String name = "name3373707";
* Application response = applicationsClient.getApplication(name);
Expand Down Expand Up @@ -74,8 +77,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
* ApplicationsSettings applicationsSettings =
* ApplicationsSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -86,8 +92,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
* ApplicationsSettings applicationsSettings =
* ApplicationsSettings.newBuilder().setEndpoint(myEndpoint).build();
* ApplicationsClient applicationsClient = ApplicationsClient.create(applicationsSettings);
Expand All @@ -97,8 +106,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
* ApplicationsSettings applicationsSettings =
* ApplicationsSettings.newBuilder()
* .setTransportChannelProvider(
Expand Down Expand Up @@ -190,8 +202,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
* <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 (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
* String name = "name3373707";
* Application response = applicationsClient.getApplication(name);
Expand All @@ -213,8 +228,11 @@ public final Application getApplication(String name) {
* <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 (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
* GetApplicationRequest request =
* GetApplicationRequest.newBuilder().setName("name3373707").build();
Expand All @@ -236,8 +254,11 @@ public final Application getApplication(GetApplicationRequest 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 (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
* GetApplicationRequest request =
* GetApplicationRequest.newBuilder().setName("name3373707").build();
Expand Down Expand Up @@ -268,8 +289,11 @@ public final UnaryCallable<GetApplicationRequest, Application> getApplicationCal
* <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 (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
* CreateApplicationRequest request =
* CreateApplicationRequest.newBuilder()
Expand Down Expand Up @@ -303,8 +327,11 @@ public final OperationFuture<Application, OperationMetadataV1> createApplication
* <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 (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
* CreateApplicationRequest request =
* CreateApplicationRequest.newBuilder()
Expand Down Expand Up @@ -338,8 +365,11 @@ public final OperationFuture<Application, OperationMetadataV1> createApplication
* <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 (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
* CreateApplicationRequest request =
* CreateApplicationRequest.newBuilder()
Expand Down Expand Up @@ -370,8 +400,11 @@ public final UnaryCallable<CreateApplicationRequest, Operation> createApplicatio
* <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 (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
* UpdateApplicationRequest request =
* UpdateApplicationRequest.newBuilder()
Expand Down Expand Up @@ -405,8 +438,11 @@ public final OperationFuture<Application, OperationMetadataV1> updateApplication
* <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 (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
* UpdateApplicationRequest request =
* UpdateApplicationRequest.newBuilder()
Expand Down Expand Up @@ -440,8 +476,11 @@ public final OperationFuture<Application, OperationMetadataV1> updateApplication
* <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 (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
* UpdateApplicationRequest request =
* UpdateApplicationRequest.newBuilder()
Expand Down Expand Up @@ -473,8 +512,11 @@ public final UnaryCallable<UpdateApplicationRequest, Operation> updateApplicatio
* <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 (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
* RepairApplicationRequest request =
* RepairApplicationRequest.newBuilder().setName("name3373707").build();
Expand Down Expand Up @@ -503,8 +545,11 @@ public final OperationFuture<Application, OperationMetadataV1> repairApplication
* <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 (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
* RepairApplicationRequest request =
* RepairApplicationRequest.newBuilder().setName("name3373707").build();
Expand Down Expand Up @@ -533,8 +578,11 @@ public final OperationFuture<Application, OperationMetadataV1> repairApplication
* <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 (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
* RepairApplicationRequest request =
* RepairApplicationRequest.newBuilder().setName("name3373707").build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,16 @@
* <p>For example, to set the total timeout of getApplication 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
* ApplicationsSettings.Builder applicationsSettingsBuilder = ApplicationsSettings.newBuilder();
* applicationsSettingsBuilder
* .getApplicationSettings()
* .setRetrySettings(
* applicationsSettingsBuilder
* .getApplicationSettings()
* .getRetrySettings()
* .toBuilder()
* applicationsSettingsBuilder.getApplicationSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* ApplicationsSettings applicationsSettings = applicationsSettingsBuilder.build();
Expand Down
Loading

0 comments on commit 967ec77

Please sign in to comment.