|
56 | 56 | * calls that map to API methods. Sample code to get started: |
57 | 57 | * |
58 | 58 | * <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 |
61 | 64 | * try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) { |
62 | 65 | * SearchCatalogsRequest request = |
63 | 66 | * SearchCatalogsRequest.newBuilder() |
|
101 | 104 | * <p>To customize credentials: |
102 | 105 | * |
103 | 106 | * <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 |
106 | 112 | * PrivateCatalogSettings privateCatalogSettings = |
107 | 113 | * PrivateCatalogSettings.newBuilder() |
108 | 114 | * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) |
|
113 | 119 | * <p>To customize the endpoint: |
114 | 120 | * |
115 | 121 | * <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 |
118 | 127 | * PrivateCatalogSettings privateCatalogSettings = |
119 | 128 | * PrivateCatalogSettings.newBuilder().setEndpoint(myEndpoint).build(); |
120 | 129 | * PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create(privateCatalogSettings); |
|
124 | 133 | * the wire: |
125 | 134 | * |
126 | 135 | * <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 |
129 | 141 | * PrivateCatalogSettings privateCatalogSettings = |
130 | 142 | * PrivateCatalogSettings.newBuilder() |
131 | 143 | * .setTransportChannelProvider( |
@@ -195,8 +207,11 @@ public PrivateCatalogStub getStub() { |
195 | 207 | * <p>Sample code: |
196 | 208 | * |
197 | 209 | * <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 |
200 | 215 | * try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) { |
201 | 216 | * SearchCatalogsRequest request = |
202 | 217 | * SearchCatalogsRequest.newBuilder() |
@@ -226,8 +241,11 @@ public final SearchCatalogsPagedResponse searchCatalogs(SearchCatalogsRequest re |
226 | 241 | * <p>Sample code: |
227 | 242 | * |
228 | 243 | * <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 |
231 | 249 | * try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) { |
232 | 250 | * SearchCatalogsRequest request = |
233 | 251 | * SearchCatalogsRequest.newBuilder() |
@@ -258,8 +276,11 @@ public final SearchCatalogsPagedResponse searchCatalogs(SearchCatalogsRequest re |
258 | 276 | * <p>Sample code: |
259 | 277 | * |
260 | 278 | * <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 |
263 | 284 | * try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) { |
264 | 285 | * SearchCatalogsRequest request = |
265 | 286 | * SearchCatalogsRequest.newBuilder() |
@@ -297,8 +318,11 @@ public final SearchCatalogsPagedResponse searchCatalogs(SearchCatalogsRequest re |
297 | 318 | * <p>Sample code: |
298 | 319 | * |
299 | 320 | * <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 |
302 | 326 | * try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) { |
303 | 327 | * SearchProductsRequest request = |
304 | 328 | * SearchProductsRequest.newBuilder() |
@@ -328,8 +352,11 @@ public final SearchProductsPagedResponse searchProducts(SearchProductsRequest re |
328 | 352 | * <p>Sample code: |
329 | 353 | * |
330 | 354 | * <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 |
333 | 360 | * try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) { |
334 | 361 | * SearchProductsRequest request = |
335 | 362 | * SearchProductsRequest.newBuilder() |
@@ -360,8 +387,11 @@ public final SearchProductsPagedResponse searchProducts(SearchProductsRequest re |
360 | 387 | * <p>Sample code: |
361 | 388 | * |
362 | 389 | * <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 |
365 | 395 | * try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) { |
366 | 396 | * SearchProductsRequest request = |
367 | 397 | * SearchProductsRequest.newBuilder() |
@@ -399,8 +429,11 @@ public final SearchProductsPagedResponse searchProducts(SearchProductsRequest re |
399 | 429 | * <p>Sample code: |
400 | 430 | * |
401 | 431 | * <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 |
404 | 437 | * try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) { |
405 | 438 | * SearchVersionsRequest request = |
406 | 439 | * SearchVersionsRequest.newBuilder() |
@@ -430,8 +463,11 @@ public final SearchVersionsPagedResponse searchVersions(SearchVersionsRequest re |
430 | 463 | * <p>Sample code: |
431 | 464 | * |
432 | 465 | * <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 |
435 | 471 | * try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) { |
436 | 472 | * SearchVersionsRequest request = |
437 | 473 | * SearchVersionsRequest.newBuilder() |
@@ -462,8 +498,11 @@ public final SearchVersionsPagedResponse searchVersions(SearchVersionsRequest re |
462 | 498 | * <p>Sample code: |
463 | 499 | * |
464 | 500 | * <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 |
467 | 506 | * try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) { |
468 | 507 | * SearchVersionsRequest request = |
469 | 508 | * SearchVersionsRequest.newBuilder() |
|
0 commit comments