Skip to content

Commit 293f962

Browse files
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#214)
- [ ] 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 a65ea5e commit 293f962

File tree

18 files changed

+154
-76
lines changed

18 files changed

+154
-76
lines changed

java-private-catalog/google-cloud-private-catalog/src/main/java/com/google/cloud/privatecatalog/v1beta1/PrivateCatalogClient.java

Lines changed: 65 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,11 @@
5656
* calls that map to API methods. Sample code to get started:
5757
*
5858
* <pre>{@code
59-
* // This snippet has been automatically generated for illustrative purposes only.
60-
* // It may require modifications to work in your environment.
59+
* // This snippet has been automatically generated and should be regarded as a code template only.
60+
* // It will require modifications to work:
61+
* // - It may require correct/in-range values for request initialization.
62+
* // - It may require specifying regional endpoints when creating the service client as shown in
63+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
6164
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
6265
* SearchCatalogsRequest request =
6366
* SearchCatalogsRequest.newBuilder()
@@ -101,8 +104,11 @@
101104
* <p>To customize credentials:
102105
*
103106
* <pre>{@code
104-
* // This snippet has been automatically generated for illustrative purposes only.
105-
* // It may require modifications to work in your environment.
107+
* // This snippet has been automatically generated and should be regarded as a code template only.
108+
* // It will require modifications to work:
109+
* // - It may require correct/in-range values for request initialization.
110+
* // - It may require specifying regional endpoints when creating the service client as shown in
111+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
106112
* PrivateCatalogSettings privateCatalogSettings =
107113
* PrivateCatalogSettings.newBuilder()
108114
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -113,8 +119,11 @@
113119
* <p>To customize the endpoint:
114120
*
115121
* <pre>{@code
116-
* // This snippet has been automatically generated for illustrative purposes only.
117-
* // It may require modifications to work in your environment.
122+
* // This snippet has been automatically generated and should be regarded as a code template only.
123+
* // It will require modifications to work:
124+
* // - It may require correct/in-range values for request initialization.
125+
* // - It may require specifying regional endpoints when creating the service client as shown in
126+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
118127
* PrivateCatalogSettings privateCatalogSettings =
119128
* PrivateCatalogSettings.newBuilder().setEndpoint(myEndpoint).build();
120129
* PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create(privateCatalogSettings);
@@ -124,8 +133,11 @@
124133
* the wire:
125134
*
126135
* <pre>{@code
127-
* // This snippet has been automatically generated for illustrative purposes only.
128-
* // It may require modifications to work in your environment.
136+
* // This snippet has been automatically generated and should be regarded as a code template only.
137+
* // It will require modifications to work:
138+
* // - It may require correct/in-range values for request initialization.
139+
* // - It may require specifying regional endpoints when creating the service client as shown in
140+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
129141
* PrivateCatalogSettings privateCatalogSettings =
130142
* PrivateCatalogSettings.newBuilder()
131143
* .setTransportChannelProvider(
@@ -195,8 +207,11 @@ public PrivateCatalogStub getStub() {
195207
* <p>Sample code:
196208
*
197209
* <pre>{@code
198-
* // This snippet has been automatically generated for illustrative purposes only.
199-
* // It may require modifications to work in your environment.
210+
* // This snippet has been automatically generated and should be regarded as a code template only.
211+
* // It will require modifications to work:
212+
* // - It may require correct/in-range values for request initialization.
213+
* // - It may require specifying regional endpoints when creating the service client as shown in
214+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
200215
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
201216
* SearchCatalogsRequest request =
202217
* SearchCatalogsRequest.newBuilder()
@@ -226,8 +241,11 @@ public final SearchCatalogsPagedResponse searchCatalogs(SearchCatalogsRequest re
226241
* <p>Sample code:
227242
*
228243
* <pre>{@code
229-
* // This snippet has been automatically generated for illustrative purposes only.
230-
* // It may require modifications to work in your environment.
244+
* // This snippet has been automatically generated and should be regarded as a code template only.
245+
* // It will require modifications to work:
246+
* // - It may require correct/in-range values for request initialization.
247+
* // - It may require specifying regional endpoints when creating the service client as shown in
248+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
231249
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
232250
* SearchCatalogsRequest request =
233251
* SearchCatalogsRequest.newBuilder()
@@ -258,8 +276,11 @@ public final SearchCatalogsPagedResponse searchCatalogs(SearchCatalogsRequest re
258276
* <p>Sample code:
259277
*
260278
* <pre>{@code
261-
* // This snippet has been automatically generated for illustrative purposes only.
262-
* // It may require modifications to work in your environment.
279+
* // This snippet has been automatically generated and should be regarded as a code template only.
280+
* // It will require modifications to work:
281+
* // - It may require correct/in-range values for request initialization.
282+
* // - It may require specifying regional endpoints when creating the service client as shown in
283+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
263284
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
264285
* SearchCatalogsRequest request =
265286
* SearchCatalogsRequest.newBuilder()
@@ -297,8 +318,11 @@ public final SearchCatalogsPagedResponse searchCatalogs(SearchCatalogsRequest re
297318
* <p>Sample code:
298319
*
299320
* <pre>{@code
300-
* // This snippet has been automatically generated for illustrative purposes only.
301-
* // It may require modifications to work in your environment.
321+
* // This snippet has been automatically generated and should be regarded as a code template only.
322+
* // It will require modifications to work:
323+
* // - It may require correct/in-range values for request initialization.
324+
* // - It may require specifying regional endpoints when creating the service client as shown in
325+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
302326
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
303327
* SearchProductsRequest request =
304328
* SearchProductsRequest.newBuilder()
@@ -328,8 +352,11 @@ public final SearchProductsPagedResponse searchProducts(SearchProductsRequest re
328352
* <p>Sample code:
329353
*
330354
* <pre>{@code
331-
* // This snippet has been automatically generated for illustrative purposes only.
332-
* // It may require modifications to work in your environment.
355+
* // This snippet has been automatically generated and should be regarded as a code template only.
356+
* // It will require modifications to work:
357+
* // - It may require correct/in-range values for request initialization.
358+
* // - It may require specifying regional endpoints when creating the service client as shown in
359+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
333360
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
334361
* SearchProductsRequest request =
335362
* SearchProductsRequest.newBuilder()
@@ -360,8 +387,11 @@ public final SearchProductsPagedResponse searchProducts(SearchProductsRequest re
360387
* <p>Sample code:
361388
*
362389
* <pre>{@code
363-
* // This snippet has been automatically generated for illustrative purposes only.
364-
* // It may require modifications to work in your environment.
390+
* // This snippet has been automatically generated and should be regarded as a code template only.
391+
* // It will require modifications to work:
392+
* // - It may require correct/in-range values for request initialization.
393+
* // - It may require specifying regional endpoints when creating the service client as shown in
394+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
365395
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
366396
* SearchProductsRequest request =
367397
* SearchProductsRequest.newBuilder()
@@ -399,8 +429,11 @@ public final SearchProductsPagedResponse searchProducts(SearchProductsRequest re
399429
* <p>Sample code:
400430
*
401431
* <pre>{@code
402-
* // This snippet has been automatically generated for illustrative purposes only.
403-
* // It may require modifications to work in your environment.
432+
* // This snippet has been automatically generated and should be regarded as a code template only.
433+
* // It will require modifications to work:
434+
* // - It may require correct/in-range values for request initialization.
435+
* // - It may require specifying regional endpoints when creating the service client as shown in
436+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
404437
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
405438
* SearchVersionsRequest request =
406439
* SearchVersionsRequest.newBuilder()
@@ -430,8 +463,11 @@ public final SearchVersionsPagedResponse searchVersions(SearchVersionsRequest re
430463
* <p>Sample code:
431464
*
432465
* <pre>{@code
433-
* // This snippet has been automatically generated for illustrative purposes only.
434-
* // It may require modifications to work in your environment.
466+
* // This snippet has been automatically generated and should be regarded as a code template only.
467+
* // It will require modifications to work:
468+
* // - It may require correct/in-range values for request initialization.
469+
* // - It may require specifying regional endpoints when creating the service client as shown in
470+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
435471
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
436472
* SearchVersionsRequest request =
437473
* SearchVersionsRequest.newBuilder()
@@ -462,8 +498,11 @@ public final SearchVersionsPagedResponse searchVersions(SearchVersionsRequest re
462498
* <p>Sample code:
463499
*
464500
* <pre>{@code
465-
* // This snippet has been automatically generated for illustrative purposes only.
466-
* // It may require modifications to work in your environment.
501+
* // This snippet has been automatically generated and should be regarded as a code template only.
502+
* // It will require modifications to work:
503+
* // - It may require correct/in-range values for request initialization.
504+
* // - It may require specifying regional endpoints when creating the service client as shown in
505+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
467506
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
468507
* SearchVersionsRequest request =
469508
* SearchVersionsRequest.newBuilder()

java-private-catalog/google-cloud-private-catalog/src/main/java/com/google/cloud/privatecatalog/v1beta1/PrivateCatalogSettings.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@
5656
* <p>For example, to set the total timeout of searchCatalogs to 30 seconds:
5757
*
5858
* <pre>{@code
59-
* // This snippet has been automatically generated for illustrative purposes only.
60-
* // It may require modifications to work in your environment.
59+
* // This snippet has been automatically generated and should be regarded as a code template only.
60+
* // It will require modifications to work:
61+
* // - It may require correct/in-range values for request initialization.
62+
* // - It may require specifying regional endpoints when creating the service client as shown in
63+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
6164
* PrivateCatalogSettings.Builder privateCatalogSettingsBuilder =
6265
* PrivateCatalogSettings.newBuilder();
6366
* privateCatalogSettingsBuilder
6467
* .searchCatalogsSettings()
6568
* .setRetrySettings(
66-
* privateCatalogSettingsBuilder
67-
* .searchCatalogsSettings()
68-
* .getRetrySettings()
69-
* .toBuilder()
69+
* privateCatalogSettingsBuilder.searchCatalogsSettings().getRetrySettings().toBuilder()
7070
* .setTotalTimeout(Duration.ofSeconds(30))
7171
* .build());
7272
* PrivateCatalogSettings privateCatalogSettings = privateCatalogSettingsBuilder.build();

java-private-catalog/google-cloud-private-catalog/src/main/java/com/google/cloud/privatecatalog/v1beta1/package-info.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,11 @@
3939
* <p>Sample for PrivateCatalogClient:
4040
*
4141
* <pre>{@code
42-
* // This snippet has been automatically generated for illustrative purposes only.
43-
* // It may require modifications to work in your environment.
42+
* // This snippet has been automatically generated and should be regarded as a code template only.
43+
* // It will require modifications to work:
44+
* // - It may require correct/in-range values for request initialization.
45+
* // - It may require specifying regional endpoints when creating the service client as shown in
46+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
4447
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
4548
* SearchCatalogsRequest request =
4649
* SearchCatalogsRequest.newBuilder()

java-private-catalog/google-cloud-private-catalog/src/main/java/com/google/cloud/privatecatalog/v1beta1/stub/PrivateCatalogStubSettings.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,17 @@
8181
* <p>For example, to set the total timeout of searchCatalogs to 30 seconds:
8282
*
8383
* <pre>{@code
84-
* // This snippet has been automatically generated for illustrative purposes only.
85-
* // It may require modifications to work in your environment.
84+
* // This snippet has been automatically generated and should be regarded as a code template only.
85+
* // It will require modifications to work:
86+
* // - It may require correct/in-range values for request initialization.
87+
* // - It may require specifying regional endpoints when creating the service client as shown in
88+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
8689
* PrivateCatalogStubSettings.Builder privateCatalogSettingsBuilder =
8790
* PrivateCatalogStubSettings.newBuilder();
8891
* privateCatalogSettingsBuilder
8992
* .searchCatalogsSettings()
9093
* .setRetrySettings(
91-
* privateCatalogSettingsBuilder
92-
* .searchCatalogsSettings()
93-
* .getRetrySettings()
94-
* .toBuilder()
94+
* privateCatalogSettingsBuilder.searchCatalogsSettings().getRetrySettings().toBuilder()
9595
* .setTotalTimeout(Duration.ofSeconds(30))
9696
* .build());
9797
* PrivateCatalogStubSettings privateCatalogSettings = privateCatalogSettingsBuilder.build();

java-private-catalog/samples/snippets/generated/com/google/cloud/privatecatalog/v1beta1/privatecatalogclient/create/SyncCreateSetCredentialsProvider.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
2929
}
3030

3131
public static void syncCreateSetCredentialsProvider() throws Exception {
32-
// This snippet has been automatically generated for illustrative purposes only.
33-
// It may require modifications to work in your environment.
32+
// This snippet has been automatically generated and should be regarded as a code template only.
33+
// It will require modifications to work:
34+
// - It may require correct/in-range values for request initialization.
35+
// - It may require specifying regional endpoints when creating the service client as shown in
36+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3437
PrivateCatalogSettings privateCatalogSettings =
3538
PrivateCatalogSettings.newBuilder()
3639
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))

java-private-catalog/samples/snippets/generated/com/google/cloud/privatecatalog/v1beta1/privatecatalogclient/create/SyncCreateSetCredentialsProvider1.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
2727
}
2828

2929
public static void syncCreateSetCredentialsProvider1() throws Exception {
30-
// This snippet has been automatically generated for illustrative purposes only.
31-
// It may require modifications to work in your environment.
30+
// This snippet has been automatically generated and should be regarded as a code template only.
31+
// It will require modifications to work:
32+
// - It may require correct/in-range values for request initialization.
33+
// - It may require specifying regional endpoints when creating the service client as shown in
34+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3235
PrivateCatalogSettings privateCatalogSettings =
3336
PrivateCatalogSettings.newBuilder()
3437
.setTransportChannelProvider(

java-private-catalog/samples/snippets/generated/com/google/cloud/privatecatalog/v1beta1/privatecatalogclient/create/SyncCreateSetEndpoint.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
2828
}
2929

3030
public static void syncCreateSetEndpoint() throws Exception {
31-
// This snippet has been automatically generated for illustrative purposes only.
32-
// It may require modifications to work in your environment.
31+
// This snippet has been automatically generated and should be regarded as a code template only.
32+
// It will require modifications to work:
33+
// - It may require correct/in-range values for request initialization.
34+
// - It may require specifying regional endpoints when creating the service client as shown in
35+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3336
PrivateCatalogSettings privateCatalogSettings =
3437
PrivateCatalogSettings.newBuilder().setEndpoint(myEndpoint).build();
3538
PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create(privateCatalogSettings);

java-private-catalog/samples/snippets/generated/com/google/cloud/privatecatalog/v1beta1/privatecatalogclient/searchcatalogs/AsyncSearchCatalogs.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
2929
}
3030

3131
public static void asyncSearchCatalogs() throws Exception {
32-
// This snippet has been automatically generated for illustrative purposes only.
33-
// It may require modifications to work in your environment.
32+
// This snippet has been automatically generated and should be regarded as a code template only.
33+
// It will require modifications to work:
34+
// - It may require correct/in-range values for request initialization.
35+
// - It may require specifying regional endpoints when creating the service client as shown in
36+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3437
try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
3538
SearchCatalogsRequest request =
3639
SearchCatalogsRequest.newBuilder()

java-private-catalog/samples/snippets/generated/com/google/cloud/privatecatalog/v1beta1/privatecatalogclient/searchcatalogs/AsyncSearchCatalogsPaged.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
3030
}
3131

3232
public static void asyncSearchCatalogsPaged() throws Exception {
33-
// This snippet has been automatically generated for illustrative purposes only.
34-
// It may require modifications to work in your environment.
33+
// This snippet has been automatically generated and should be regarded as a code template only.
34+
// It will require modifications to work:
35+
// - It may require correct/in-range values for request initialization.
36+
// - It may require specifying regional endpoints when creating the service client as shown in
37+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3538
try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
3639
SearchCatalogsRequest request =
3740
SearchCatalogsRequest.newBuilder()

java-private-catalog/samples/snippets/generated/com/google/cloud/privatecatalog/v1beta1/privatecatalogclient/searchcatalogs/SyncSearchCatalogs.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
2828
}
2929

3030
public static void syncSearchCatalogs() throws Exception {
31-
// This snippet has been automatically generated for illustrative purposes only.
32-
// It may require modifications to work in your environment.
31+
// This snippet has been automatically generated and should be regarded as a code template only.
32+
// It will require modifications to work:
33+
// - It may require correct/in-range values for request initialization.
34+
// - It may require specifying regional endpoints when creating the service client as shown in
35+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3336
try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
3437
SearchCatalogsRequest request =
3538
SearchCatalogsRequest.newBuilder()

0 commit comments

Comments
 (0)