Skip to content

Commit 3d0d5f7

Browse files
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_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
1 parent 0306be4 commit 3d0d5f7

File tree

126 files changed

+5840
-2562
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+5840
-2562
lines changed

java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentsClient.java

Lines changed: 205 additions & 82 deletions
Large diffs are not rendered by default.

java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentsSettings.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,16 @@
6262
* <p>For example, to set the total timeout of getAgent to 30 seconds:
6363
*
6464
* <pre>{@code
65-
* // This snippet has been automatically generated for illustrative purposes only.
66-
* // It may require modifications to work in your environment.
65+
* // This snippet has been automatically generated and should be regarded as a code template only.
66+
* // It will require modifications to work:
67+
* // - It may require correct/in-range values for request initialization.
68+
* // - It may require specifying regional endpoints when creating the service client as shown in
69+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
6770
* AgentsSettings.Builder agentsSettingsBuilder = AgentsSettings.newBuilder();
6871
* agentsSettingsBuilder
6972
* .getAgentSettings()
7073
* .setRetrySettings(
71-
* agentsSettingsBuilder
72-
* .getAgentSettings()
73-
* .getRetrySettings()
74-
* .toBuilder()
74+
* agentsSettingsBuilder.getAgentSettings().getRetrySettings().toBuilder()
7575
* .setTotalTimeout(Duration.ofSeconds(30))
7676
* .build());
7777
* AgentsSettings agentsSettings = agentsSettingsBuilder.build();

java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/ChangelogsClient.java

Lines changed: 90 additions & 36 deletions
Large diffs are not rendered by default.

java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/ChangelogsSettings.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,16 @@
5858
* <p>For example, to set the total timeout of getChangelog to 30 seconds:
5959
*
6060
* <pre>{@code
61-
* // This snippet has been automatically generated for illustrative purposes only.
62-
* // It may require modifications to work in your environment.
61+
* // This snippet has been automatically generated and should be regarded as a code template only.
62+
* // It will require modifications to work:
63+
* // - It may require correct/in-range values for request initialization.
64+
* // - It may require specifying regional endpoints when creating the service client as shown in
65+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
6366
* ChangelogsSettings.Builder changelogsSettingsBuilder = ChangelogsSettings.newBuilder();
6467
* changelogsSettingsBuilder
6568
* .getChangelogSettings()
6669
* .setRetrySettings(
67-
* changelogsSettingsBuilder
68-
* .getChangelogSettings()
69-
* .getRetrySettings()
70-
* .toBuilder()
70+
* changelogsSettingsBuilder.getChangelogSettings().getRetrySettings().toBuilder()
7171
* .setTotalTimeout(Duration.ofSeconds(30))
7272
* .build());
7373
* ChangelogsSettings changelogsSettings = changelogsSettingsBuilder.build();

java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/DeploymentsClient.java

Lines changed: 90 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,11 @@
4545
* calls that map to API methods. Sample code to get started:
4646
*
4747
* <pre>{@code
48-
* // This snippet has been automatically generated for illustrative purposes only.
49-
* // It may require modifications to work in your environment.
48+
* // This snippet has been automatically generated and should be regarded as a code template only.
49+
* // It will require modifications to work:
50+
* // - It may require correct/in-range values for request initialization.
51+
* // - It may require specifying regional endpoints when creating the service client as shown in
52+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
5053
* try (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
5154
* DeploymentName name =
5255
* DeploymentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]", "[DEPLOYMENT]");
@@ -83,8 +86,11 @@
8386
* <p>To customize credentials:
8487
*
8588
* <pre>{@code
86-
* // This snippet has been automatically generated for illustrative purposes only.
87-
* // It may require modifications to work in your environment.
89+
* // This snippet has been automatically generated and should be regarded as a code template only.
90+
* // It will require modifications to work:
91+
* // - It may require correct/in-range values for request initialization.
92+
* // - It may require specifying regional endpoints when creating the service client as shown in
93+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
8894
* DeploymentsSettings deploymentsSettings =
8995
* DeploymentsSettings.newBuilder()
9096
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -95,8 +101,11 @@
95101
* <p>To customize the endpoint:
96102
*
97103
* <pre>{@code
98-
* // This snippet has been automatically generated for illustrative purposes only.
99-
* // It may require modifications to work in your environment.
104+
* // This snippet has been automatically generated and should be regarded as a code template only.
105+
* // It will require modifications to work:
106+
* // - It may require correct/in-range values for request initialization.
107+
* // - It may require specifying regional endpoints when creating the service client as shown in
108+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
100109
* DeploymentsSettings deploymentsSettings =
101110
* DeploymentsSettings.newBuilder().setEndpoint(myEndpoint).build();
102111
* DeploymentsClient deploymentsClient = DeploymentsClient.create(deploymentsSettings);
@@ -106,8 +115,11 @@
106115
* the wire:
107116
*
108117
* <pre>{@code
109-
* // This snippet has been automatically generated for illustrative purposes only.
110-
* // It may require modifications to work in your environment.
118+
* // This snippet has been automatically generated and should be regarded as a code template only.
119+
* // It will require modifications to work:
120+
* // - It may require correct/in-range values for request initialization.
121+
* // - It may require specifying regional endpoints when creating the service client as shown in
122+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
111123
* DeploymentsSettings deploymentsSettings =
112124
* DeploymentsSettings.newBuilder()
113125
* .setTransportChannelProvider(
@@ -175,8 +187,11 @@ public DeploymentsStub getStub() {
175187
* <p>Sample code:
176188
*
177189
* <pre>{@code
178-
* // This snippet has been automatically generated for illustrative purposes only.
179-
* // It may require modifications to work in your environment.
190+
* // This snippet has been automatically generated and should be regarded as a code template only.
191+
* // It will require modifications to work:
192+
* // - It may require correct/in-range values for request initialization.
193+
* // - It may require specifying regional endpoints when creating the service client as shown in
194+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
180195
* try (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
181196
* EnvironmentName parent =
182197
* EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]");
@@ -207,8 +222,11 @@ public final ListDeploymentsPagedResponse listDeployments(EnvironmentName parent
207222
* <p>Sample code:
208223
*
209224
* <pre>{@code
210-
* // This snippet has been automatically generated for illustrative purposes only.
211-
* // It may require modifications to work in your environment.
225+
* // This snippet has been automatically generated and should be regarded as a code template only.
226+
* // It will require modifications to work:
227+
* // - It may require correct/in-range values for request initialization.
228+
* // - It may require specifying regional endpoints when creating the service client as shown in
229+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
212230
* try (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
213231
* String parent =
214232
* EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]").toString();
@@ -236,8 +254,11 @@ public final ListDeploymentsPagedResponse listDeployments(String parent) {
236254
* <p>Sample code:
237255
*
238256
* <pre>{@code
239-
* // This snippet has been automatically generated for illustrative purposes only.
240-
* // It may require modifications to work in your environment.
257+
* // This snippet has been automatically generated and should be regarded as a code template only.
258+
* // It will require modifications to work:
259+
* // - It may require correct/in-range values for request initialization.
260+
* // - It may require specifying regional endpoints when creating the service client as shown in
261+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
241262
* try (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
242263
* ListDeploymentsRequest request =
243264
* ListDeploymentsRequest.newBuilder()
@@ -268,8 +289,11 @@ public final ListDeploymentsPagedResponse listDeployments(ListDeploymentsRequest
268289
* <p>Sample code:
269290
*
270291
* <pre>{@code
271-
* // This snippet has been automatically generated for illustrative purposes only.
272-
* // It may require modifications to work in your environment.
292+
* // This snippet has been automatically generated and should be regarded as a code template only.
293+
* // It will require modifications to work:
294+
* // - It may require correct/in-range values for request initialization.
295+
* // - It may require specifying regional endpoints when creating the service client as shown in
296+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
273297
* try (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
274298
* ListDeploymentsRequest request =
275299
* ListDeploymentsRequest.newBuilder()
@@ -301,8 +325,11 @@ public final ListDeploymentsPagedResponse listDeployments(ListDeploymentsRequest
301325
* <p>Sample code:
302326
*
303327
* <pre>{@code
304-
* // This snippet has been automatically generated for illustrative purposes only.
305-
* // It may require modifications to work in your environment.
328+
* // This snippet has been automatically generated and should be regarded as a code template only.
329+
* // It will require modifications to work:
330+
* // - It may require correct/in-range values for request initialization.
331+
* // - It may require specifying regional endpoints when creating the service client as shown in
332+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
306333
* try (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
307334
* ListDeploymentsRequest request =
308335
* ListDeploymentsRequest.newBuilder()
@@ -340,8 +367,11 @@ public final ListDeploymentsPagedResponse listDeployments(ListDeploymentsRequest
340367
* <p>Sample code:
341368
*
342369
* <pre>{@code
343-
* // This snippet has been automatically generated for illustrative purposes only.
344-
* // It may require modifications to work in your environment.
370+
* // This snippet has been automatically generated and should be regarded as a code template only.
371+
* // It will require modifications to work:
372+
* // - It may require correct/in-range values for request initialization.
373+
* // - It may require specifying regional endpoints when creating the service client as shown in
374+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
345375
* try (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
346376
* DeploymentName name =
347377
* DeploymentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]", "[DEPLOYMENT]");
@@ -367,8 +397,11 @@ public final Deployment getDeployment(DeploymentName name) {
367397
* <p>Sample code:
368398
*
369399
* <pre>{@code
370-
* // This snippet has been automatically generated for illustrative purposes only.
371-
* // It may require modifications to work in your environment.
400+
* // This snippet has been automatically generated and should be regarded as a code template only.
401+
* // It will require modifications to work:
402+
* // - It may require correct/in-range values for request initialization.
403+
* // - It may require specifying regional endpoints when creating the service client as shown in
404+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
372405
* try (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
373406
* String name =
374407
* DeploymentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]", "[DEPLOYMENT]")
@@ -394,8 +427,11 @@ public final Deployment getDeployment(String name) {
394427
* <p>Sample code:
395428
*
396429
* <pre>{@code
397-
* // This snippet has been automatically generated for illustrative purposes only.
398-
* // It may require modifications to work in your environment.
430+
* // This snippet has been automatically generated and should be regarded as a code template only.
431+
* // It will require modifications to work:
432+
* // - It may require correct/in-range values for request initialization.
433+
* // - It may require specifying regional endpoints when creating the service client as shown in
434+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
399435
* try (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
400436
* GetDeploymentRequest request =
401437
* GetDeploymentRequest.newBuilder()
@@ -422,8 +458,11 @@ public final Deployment getDeployment(GetDeploymentRequest request) {
422458
* <p>Sample code:
423459
*
424460
* <pre>{@code
425-
* // This snippet has been automatically generated for illustrative purposes only.
426-
* // It may require modifications to work in your environment.
461+
* // This snippet has been automatically generated and should be regarded as a code template only.
462+
* // It will require modifications to work:
463+
* // - It may require correct/in-range values for request initialization.
464+
* // - It may require specifying regional endpoints when creating the service client as shown in
465+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
427466
* try (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
428467
* GetDeploymentRequest request =
429468
* GetDeploymentRequest.newBuilder()
@@ -449,8 +488,11 @@ public final UnaryCallable<GetDeploymentRequest, Deployment> getDeploymentCallab
449488
* <p>Sample code:
450489
*
451490
* <pre>{@code
452-
* // This snippet has been automatically generated for illustrative purposes only.
453-
* // It may require modifications to work in your environment.
491+
* // This snippet has been automatically generated and should be regarded as a code template only.
492+
* // It will require modifications to work:
493+
* // - It may require correct/in-range values for request initialization.
494+
* // - It may require specifying regional endpoints when creating the service client as shown in
495+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
454496
* try (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
455497
* ListLocationsRequest request =
456498
* ListLocationsRequest.newBuilder()
@@ -479,8 +521,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
479521
* <p>Sample code:
480522
*
481523
* <pre>{@code
482-
* // This snippet has been automatically generated for illustrative purposes only.
483-
* // It may require modifications to work in your environment.
524+
* // This snippet has been automatically generated and should be regarded as a code template only.
525+
* // It will require modifications to work:
526+
* // - It may require correct/in-range values for request initialization.
527+
* // - It may require specifying regional endpoints when creating the service client as shown in
528+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
484529
* try (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
485530
* ListLocationsRequest request =
486531
* ListLocationsRequest.newBuilder()
@@ -510,8 +555,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
510555
* <p>Sample code:
511556
*
512557
* <pre>{@code
513-
* // This snippet has been automatically generated for illustrative purposes only.
514-
* // It may require modifications to work in your environment.
558+
* // This snippet has been automatically generated and should be regarded as a code template only.
559+
* // It will require modifications to work:
560+
* // - It may require correct/in-range values for request initialization.
561+
* // - It may require specifying regional endpoints when creating the service client as shown in
562+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
515563
* try (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
516564
* ListLocationsRequest request =
517565
* ListLocationsRequest.newBuilder()
@@ -546,8 +594,11 @@ public final UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLoca
546594
* <p>Sample code:
547595
*
548596
* <pre>{@code
549-
* // This snippet has been automatically generated for illustrative purposes only.
550-
* // It may require modifications to work in your environment.
597+
* // This snippet has been automatically generated and should be regarded as a code template only.
598+
* // It will require modifications to work:
599+
* // - It may require correct/in-range values for request initialization.
600+
* // - It may require specifying regional endpoints when creating the service client as shown in
601+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
551602
* try (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
552603
* GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
553604
* Location response = deploymentsClient.getLocation(request);
@@ -568,8 +619,11 @@ public final Location getLocation(GetLocationRequest request) {
568619
* <p>Sample code:
569620
*
570621
* <pre>{@code
571-
* // This snippet has been automatically generated for illustrative purposes only.
572-
* // It may require modifications to work in your environment.
622+
* // This snippet has been automatically generated and should be regarded as a code template only.
623+
* // It will require modifications to work:
624+
* // - It may require correct/in-range values for request initialization.
625+
* // - It may require specifying regional endpoints when creating the service client as shown in
626+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
573627
* try (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
574628
* GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
575629
* ApiFuture<Location> future = deploymentsClient.getLocationCallable().futureCall(request);

java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/DeploymentsSettings.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,16 @@
5858
* <p>For example, to set the total timeout of getDeployment to 30 seconds:
5959
*
6060
* <pre>{@code
61-
* // This snippet has been automatically generated for illustrative purposes only.
62-
* // It may require modifications to work in your environment.
61+
* // This snippet has been automatically generated and should be regarded as a code template only.
62+
* // It will require modifications to work:
63+
* // - It may require correct/in-range values for request initialization.
64+
* // - It may require specifying regional endpoints when creating the service client as shown in
65+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
6366
* DeploymentsSettings.Builder deploymentsSettingsBuilder = DeploymentsSettings.newBuilder();
6467
* deploymentsSettingsBuilder
6568
* .getDeploymentSettings()
6669
* .setRetrySettings(
67-
* deploymentsSettingsBuilder
68-
* .getDeploymentSettings()
69-
* .getRetrySettings()
70-
* .toBuilder()
70+
* deploymentsSettingsBuilder.getDeploymentSettings().getRetrySettings().toBuilder()
7171
* .setTotalTimeout(Duration.ofSeconds(30))
7272
* .build());
7373
* DeploymentsSettings deploymentsSettings = deploymentsSettingsBuilder.build();

0 commit comments

Comments
 (0)