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

- [ ] 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 0306be4 commit 3d0d5f7
Show file tree
Hide file tree
Showing 126 changed files with 5,840 additions and 2,562 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,16 @@
* <p>For example, to set the total timeout of getAgent 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
* AgentsSettings.Builder agentsSettingsBuilder = AgentsSettings.newBuilder();
* agentsSettingsBuilder
* .getAgentSettings()
* .setRetrySettings(
* agentsSettingsBuilder
* .getAgentSettings()
* .getRetrySettings()
* .toBuilder()
* agentsSettingsBuilder.getAgentSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* AgentsSettings agentsSettings = agentsSettingsBuilder.build();
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,16 @@
* <p>For example, to set the total timeout of getChangelog 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
* ChangelogsSettings.Builder changelogsSettingsBuilder = ChangelogsSettings.newBuilder();
* changelogsSettingsBuilder
* .getChangelogSettings()
* .setRetrySettings(
* changelogsSettingsBuilder
* .getChangelogSettings()
* .getRetrySettings()
* .toBuilder()
* changelogsSettingsBuilder.getChangelogSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* ChangelogsSettings changelogsSettings = changelogsSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,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 (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
* DeploymentName name =
* DeploymentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]", "[DEPLOYMENT]");
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
* DeploymentsSettings deploymentsSettings =
* DeploymentsSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -95,8 +101,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
* DeploymentsSettings deploymentsSettings =
* DeploymentsSettings.newBuilder().setEndpoint(myEndpoint).build();
* DeploymentsClient deploymentsClient = DeploymentsClient.create(deploymentsSettings);
Expand All @@ -106,8 +115,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
* DeploymentsSettings deploymentsSettings =
* DeploymentsSettings.newBuilder()
* .setTransportChannelProvider(
Expand Down Expand Up @@ -175,8 +187,11 @@ public DeploymentsStub 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 (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
* EnvironmentName parent =
* EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]");
Expand Down Expand Up @@ -207,8 +222,11 @@ public final ListDeploymentsPagedResponse listDeployments(EnvironmentName parent
* <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 (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
* String parent =
* EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]").toString();
Expand Down Expand Up @@ -236,8 +254,11 @@ public final ListDeploymentsPagedResponse listDeployments(String parent) {
* <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 (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
* ListDeploymentsRequest request =
* ListDeploymentsRequest.newBuilder()
Expand Down Expand Up @@ -268,8 +289,11 @@ public final ListDeploymentsPagedResponse listDeployments(ListDeploymentsRequest
* <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 (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
* ListDeploymentsRequest request =
* ListDeploymentsRequest.newBuilder()
Expand Down Expand Up @@ -301,8 +325,11 @@ public final ListDeploymentsPagedResponse listDeployments(ListDeploymentsRequest
* <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 (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
* ListDeploymentsRequest request =
* ListDeploymentsRequest.newBuilder()
Expand Down Expand Up @@ -340,8 +367,11 @@ public final ListDeploymentsPagedResponse listDeployments(ListDeploymentsRequest
* <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 (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
* DeploymentName name =
* DeploymentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]", "[DEPLOYMENT]");
Expand All @@ -367,8 +397,11 @@ public final Deployment getDeployment(DeploymentName 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 (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
* String name =
* DeploymentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]", "[DEPLOYMENT]")
Expand All @@ -394,8 +427,11 @@ public final Deployment getDeployment(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 (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
* GetDeploymentRequest request =
* GetDeploymentRequest.newBuilder()
Expand All @@ -422,8 +458,11 @@ public final Deployment getDeployment(GetDeploymentRequest 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 (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
* GetDeploymentRequest request =
* GetDeploymentRequest.newBuilder()
Expand All @@ -449,8 +488,11 @@ public final UnaryCallable<GetDeploymentRequest, Deployment> getDeploymentCallab
* <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 (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
* ListLocationsRequest request =
* ListLocationsRequest.newBuilder()
Expand Down Expand Up @@ -479,8 +521,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
* <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 (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
* ListLocationsRequest request =
* ListLocationsRequest.newBuilder()
Expand Down Expand Up @@ -510,8 +555,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
* <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 (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
* ListLocationsRequest request =
* ListLocationsRequest.newBuilder()
Expand Down Expand Up @@ -546,8 +594,11 @@ public final UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLoca
* <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 (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
* GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
* Location response = deploymentsClient.getLocation(request);
Expand All @@ -568,8 +619,11 @@ public final Location getLocation(GetLocationRequest 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 (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
* GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
* ApiFuture<Location> future = deploymentsClient.getLocationCallable().futureCall(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,16 @@
* <p>For example, to set the total timeout of getDeployment 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
* DeploymentsSettings.Builder deploymentsSettingsBuilder = DeploymentsSettings.newBuilder();
* deploymentsSettingsBuilder
* .getDeploymentSettings()
* .setRetrySettings(
* deploymentsSettingsBuilder
* .getDeploymentSettings()
* .getRetrySettings()
* .toBuilder()
* deploymentsSettingsBuilder.getDeploymentSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* DeploymentsSettings deploymentsSettings = deploymentsSettingsBuilder.build();
Expand Down
Loading

0 comments on commit 3d0d5f7

Please sign in to comment.