Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit 9140740

Browse files
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#826)
- [ ] 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 92d24f2 commit 9140740

File tree

269 files changed

+2463
-1140
lines changed

Some content is hidden

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

269 files changed

+2463
-1140
lines changed

google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java

Lines changed: 120 additions & 48 deletions
Large diffs are not rendered by default.

google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,17 @@
5454
* <p>For example, to set the total timeout of createCompany to 30 seconds:
5555
*
5656
* <pre>{@code
57-
* // This snippet has been automatically generated for illustrative purposes only.
58-
* // It may require modifications to work in your environment.
57+
* // This snippet has been automatically generated and should be regarded as a code template only.
58+
* // It will require modifications to work:
59+
* // - It may require correct/in-range values for request initialization.
60+
* // - It may require specifying regional endpoints when creating the service client as shown in
61+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
5962
* CompanyServiceSettings.Builder companyServiceSettingsBuilder =
6063
* CompanyServiceSettings.newBuilder();
6164
* companyServiceSettingsBuilder
6265
* .createCompanySettings()
6366
* .setRetrySettings(
64-
* companyServiceSettingsBuilder
65-
* .createCompanySettings()
66-
* .getRetrySettings()
67-
* .toBuilder()
67+
* companyServiceSettingsBuilder.createCompanySettings().getRetrySettings().toBuilder()
6868
* .setTotalTimeout(Duration.ofSeconds(30))
6969
* .build());
7070
* CompanyServiceSettings companyServiceSettings = companyServiceSettingsBuilder.build();

google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@
3232
* calls that map to API methods. Sample code to get started:
3333
*
3434
* <pre>{@code
35-
* // This snippet has been automatically generated for illustrative purposes only.
36-
* // It may require modifications to work in your environment.
35+
* // This snippet has been automatically generated and should be regarded as a code template only.
36+
* // It will require modifications to work:
37+
* // - It may require correct/in-range values for request initialization.
38+
* // - It may require specifying regional endpoints when creating the service client as shown in
39+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3740
* try (CompletionClient completionClient = CompletionClient.create()) {
3841
* CompleteQueryRequest request =
3942
* CompleteQueryRequest.newBuilder()
@@ -76,8 +79,11 @@
7679
* <p>To customize credentials:
7780
*
7881
* <pre>{@code
79-
* // This snippet has been automatically generated for illustrative purposes only.
80-
* // It may require modifications to work in your environment.
82+
* // This snippet has been automatically generated and should be regarded as a code template only.
83+
* // It will require modifications to work:
84+
* // - It may require correct/in-range values for request initialization.
85+
* // - It may require specifying regional endpoints when creating the service client as shown in
86+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
8187
* CompletionSettings completionSettings =
8288
* CompletionSettings.newBuilder()
8389
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -88,8 +94,11 @@
8894
* <p>To customize the endpoint:
8995
*
9096
* <pre>{@code
91-
* // This snippet has been automatically generated for illustrative purposes only.
92-
* // It may require modifications to work in your environment.
97+
* // This snippet has been automatically generated and should be regarded as a code template only.
98+
* // It will require modifications to work:
99+
* // - It may require correct/in-range values for request initialization.
100+
* // - It may require specifying regional endpoints when creating the service client as shown in
101+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
93102
* CompletionSettings completionSettings =
94103
* CompletionSettings.newBuilder().setEndpoint(myEndpoint).build();
95104
* CompletionClient completionClient = CompletionClient.create(completionSettings);
@@ -99,8 +108,11 @@
99108
* the wire:
100109
*
101110
* <pre>{@code
102-
* // This snippet has been automatically generated for illustrative purposes only.
103-
* // It may require modifications to work in your environment.
111+
* // This snippet has been automatically generated and should be regarded as a code template only.
112+
* // It will require modifications to work:
113+
* // - It may require correct/in-range values for request initialization.
114+
* // - It may require specifying regional endpoints when creating the service client as shown in
115+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
104116
* CompletionSettings completionSettings =
105117
* CompletionSettings.newBuilder()
106118
* .setTransportChannelProvider(
@@ -167,8 +179,11 @@ public CompletionStub getStub() {
167179
* <p>Sample code:
168180
*
169181
* <pre>{@code
170-
* // This snippet has been automatically generated for illustrative purposes only.
171-
* // It may require modifications to work in your environment.
182+
* // This snippet has been automatically generated and should be regarded as a code template only.
183+
* // It will require modifications to work:
184+
* // - It may require correct/in-range values for request initialization.
185+
* // - It may require specifying regional endpoints when creating the service client as shown in
186+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
172187
* try (CompletionClient completionClient = CompletionClient.create()) {
173188
* CompleteQueryRequest request =
174189
* CompleteQueryRequest.newBuilder()
@@ -197,8 +212,11 @@ public final CompleteQueryResponse completeQuery(CompleteQueryRequest request) {
197212
* <p>Sample code:
198213
*
199214
* <pre>{@code
200-
* // This snippet has been automatically generated for illustrative purposes only.
201-
* // It may require modifications to work in your environment.
215+
* // This snippet has been automatically generated and should be regarded as a code template only.
216+
* // It will require modifications to work:
217+
* // - It may require correct/in-range values for request initialization.
218+
* // - It may require specifying regional endpoints when creating the service client as shown in
219+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
202220
* try (CompletionClient completionClient = CompletionClient.create()) {
203221
* CompleteQueryRequest request =
204222
* CompleteQueryRequest.newBuilder()

google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@
5050
* <p>For example, to set the total timeout of completeQuery to 30 seconds:
5151
*
5252
* <pre>{@code
53-
* // This snippet has been automatically generated for illustrative purposes only.
54-
* // It may require modifications to work in your environment.
53+
* // This snippet has been automatically generated and should be regarded as a code template only.
54+
* // It will require modifications to work:
55+
* // - It may require correct/in-range values for request initialization.
56+
* // - It may require specifying regional endpoints when creating the service client as shown in
57+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
5558
* CompletionSettings.Builder completionSettingsBuilder = CompletionSettings.newBuilder();
5659
* completionSettingsBuilder
5760
* .completeQuerySettings()
5861
* .setRetrySettings(
59-
* completionSettingsBuilder
60-
* .completeQuerySettings()
61-
* .getRetrySettings()
62-
* .toBuilder()
62+
* completionSettingsBuilder.completeQuerySettings().getRetrySettings().toBuilder()
6363
* .setTotalTimeout(Duration.ofSeconds(30))
6464
* .build());
6565
* CompletionSettings completionSettings = completionSettingsBuilder.build();

google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java

Lines changed: 40 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@
3232
* calls that map to API methods. Sample code to get started:
3333
*
3434
* <pre>{@code
35-
* // This snippet has been automatically generated for illustrative purposes only.
36-
* // It may require modifications to work in your environment.
35+
* // This snippet has been automatically generated and should be regarded as a code template only.
36+
* // It will require modifications to work:
37+
* // - It may require correct/in-range values for request initialization.
38+
* // - It may require specifying regional endpoints when creating the service client as shown in
39+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3740
* try (EventServiceClient eventServiceClient = EventServiceClient.create()) {
3841
* TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
3942
* ClientEvent clientEvent = ClientEvent.newBuilder().build();
@@ -70,8 +73,11 @@
7073
* <p>To customize credentials:
7174
*
7275
* <pre>{@code
73-
* // This snippet has been automatically generated for illustrative purposes only.
74-
* // It may require modifications to work in your environment.
76+
* // This snippet has been automatically generated and should be regarded as a code template only.
77+
* // It will require modifications to work:
78+
* // - It may require correct/in-range values for request initialization.
79+
* // - It may require specifying regional endpoints when creating the service client as shown in
80+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
7581
* EventServiceSettings eventServiceSettings =
7682
* EventServiceSettings.newBuilder()
7783
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -82,8 +88,11 @@
8288
* <p>To customize the endpoint:
8389
*
8490
* <pre>{@code
85-
* // This snippet has been automatically generated for illustrative purposes only.
86-
* // It may require modifications to work in your environment.
91+
* // This snippet has been automatically generated and should be regarded as a code template only.
92+
* // It will require modifications to work:
93+
* // - It may require correct/in-range values for request initialization.
94+
* // - It may require specifying regional endpoints when creating the service client as shown in
95+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
8796
* EventServiceSettings eventServiceSettings =
8897
* EventServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
8998
* EventServiceClient eventServiceClient = EventServiceClient.create(eventServiceSettings);
@@ -93,8 +102,11 @@
93102
* the wire:
94103
*
95104
* <pre>{@code
96-
* // This snippet has been automatically generated for illustrative purposes only.
97-
* // It may require modifications to work in your environment.
105+
* // This snippet has been automatically generated and should be regarded as a code template only.
106+
* // It will require modifications to work:
107+
* // - It may require correct/in-range values for request initialization.
108+
* // - It may require specifying regional endpoints when creating the service client as shown in
109+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
98110
* EventServiceSettings eventServiceSettings =
99111
* EventServiceSettings.newBuilder()
100112
* .setTransportChannelProvider(
@@ -164,8 +176,11 @@ public EventServiceStub getStub() {
164176
* <p>Sample code:
165177
*
166178
* <pre>{@code
167-
* // This snippet has been automatically generated for illustrative purposes only.
168-
* // It may require modifications to work in your environment.
179+
* // This snippet has been automatically generated and should be regarded as a code template only.
180+
* // It will require modifications to work:
181+
* // - It may require correct/in-range values for request initialization.
182+
* // - It may require specifying regional endpoints when creating the service client as shown in
183+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
169184
* try (EventServiceClient eventServiceClient = EventServiceClient.create()) {
170185
* TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
171186
* ClientEvent clientEvent = ClientEvent.newBuilder().build();
@@ -199,8 +214,11 @@ public final ClientEvent createClientEvent(TenantName parent, ClientEvent client
199214
* <p>Sample code:
200215
*
201216
* <pre>{@code
202-
* // This snippet has been automatically generated for illustrative purposes only.
203-
* // It may require modifications to work in your environment.
217+
* // This snippet has been automatically generated and should be regarded as a code template only.
218+
* // It will require modifications to work:
219+
* // - It may require correct/in-range values for request initialization.
220+
* // - It may require specifying regional endpoints when creating the service client as shown in
221+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
204222
* try (EventServiceClient eventServiceClient = EventServiceClient.create()) {
205223
* String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
206224
* ClientEvent clientEvent = ClientEvent.newBuilder().build();
@@ -231,8 +249,11 @@ public final ClientEvent createClientEvent(String parent, ClientEvent clientEven
231249
* <p>Sample code:
232250
*
233251
* <pre>{@code
234-
* // This snippet has been automatically generated for illustrative purposes only.
235-
* // It may require modifications to work in your environment.
252+
* // This snippet has been automatically generated and should be regarded as a code template only.
253+
* // It will require modifications to work:
254+
* // - It may require correct/in-range values for request initialization.
255+
* // - It may require specifying regional endpoints when creating the service client as shown in
256+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
236257
* try (EventServiceClient eventServiceClient = EventServiceClient.create()) {
237258
* CreateClientEventRequest request =
238259
* CreateClientEventRequest.newBuilder()
@@ -260,8 +281,11 @@ public final ClientEvent createClientEvent(CreateClientEventRequest request) {
260281
* <p>Sample code:
261282
*
262283
* <pre>{@code
263-
* // This snippet has been automatically generated for illustrative purposes only.
264-
* // It may require modifications to work in your environment.
284+
* // This snippet has been automatically generated and should be regarded as a code template only.
285+
* // It will require modifications to work:
286+
* // - It may require correct/in-range values for request initialization.
287+
* // - It may require specifying regional endpoints when creating the service client as shown in
288+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
265289
* try (EventServiceClient eventServiceClient = EventServiceClient.create()) {
266290
* CreateClientEventRequest request =
267291
* CreateClientEventRequest.newBuilder()

google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@
5050
* <p>For example, to set the total timeout of createClientEvent to 30 seconds:
5151
*
5252
* <pre>{@code
53-
* // This snippet has been automatically generated for illustrative purposes only.
54-
* // It may require modifications to work in your environment.
53+
* // This snippet has been automatically generated and should be regarded as a code template only.
54+
* // It will require modifications to work:
55+
* // - It may require correct/in-range values for request initialization.
56+
* // - It may require specifying regional endpoints when creating the service client as shown in
57+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
5558
* EventServiceSettings.Builder eventServiceSettingsBuilder = EventServiceSettings.newBuilder();
5659
* eventServiceSettingsBuilder
5760
* .createClientEventSettings()
5861
* .setRetrySettings(
59-
* eventServiceSettingsBuilder
60-
* .createClientEventSettings()
61-
* .getRetrySettings()
62-
* .toBuilder()
62+
* eventServiceSettingsBuilder.createClientEventSettings().getRetrySettings().toBuilder()
6363
* .setTotalTimeout(Duration.ofSeconds(30))
6464
* .build());
6565
* EventServiceSettings eventServiceSettings = eventServiceSettingsBuilder.build();

0 commit comments

Comments
 (0)