|
35 | 35 | * calls that map to API methods. Sample code to get started: |
36 | 36 | * |
37 | 37 | * <pre>{@code |
38 | | - * // This snippet has been automatically generated for illustrative purposes only. |
39 | | - * // It may require modifications to work in your environment. |
| 38 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 39 | + * // It will require modifications to work: |
| 40 | + * // - It may require correct/in-range values for request initialization. |
| 41 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 42 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
40 | 43 | * try (BaseBigQueryReadClient baseBigQueryReadClient = BaseBigQueryReadClient.create()) { |
41 | 44 | * ProjectName parent = ProjectName.of("[PROJECT]"); |
42 | 45 | * ReadSession readSession = ReadSession.newBuilder().build(); |
|
76 | 79 | * <p>To customize credentials: |
77 | 80 | * |
78 | 81 | * <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 |
81 | 87 | * BaseBigQueryReadSettings baseBigQueryReadSettings = |
82 | 88 | * BaseBigQueryReadSettings.newBuilder() |
83 | 89 | * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) |
|
89 | 95 | * <p>To customize the endpoint: |
90 | 96 | * |
91 | 97 | * <pre>{@code |
92 | | - * // This snippet has been automatically generated for illustrative purposes only. |
93 | | - * // It may require modifications to work in your environment. |
| 98 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 99 | + * // It will require modifications to work: |
| 100 | + * // - It may require correct/in-range values for request initialization. |
| 101 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 102 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
94 | 103 | * BaseBigQueryReadSettings baseBigQueryReadSettings = |
95 | 104 | * BaseBigQueryReadSettings.newBuilder().setEndpoint(myEndpoint).build(); |
96 | 105 | * BaseBigQueryReadClient baseBigQueryReadClient = |
@@ -171,8 +180,11 @@ public BigQueryReadStub getStub() { |
171 | 180 | * <p>Sample code: |
172 | 181 | * |
173 | 182 | * <pre>{@code |
174 | | - * // This snippet has been automatically generated for illustrative purposes only. |
175 | | - * // It may require modifications to work in your environment. |
| 183 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 184 | + * // It will require modifications to work: |
| 185 | + * // - It may require correct/in-range values for request initialization. |
| 186 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 187 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
176 | 188 | * try (BaseBigQueryReadClient baseBigQueryReadClient = BaseBigQueryReadClient.create()) { |
177 | 189 | * ProjectName parent = ProjectName.of("[PROJECT]"); |
178 | 190 | * ReadSession readSession = ReadSession.newBuilder().build(); |
@@ -227,8 +239,11 @@ public final ReadSession createReadSession( |
227 | 239 | * <p>Sample code: |
228 | 240 | * |
229 | 241 | * <pre>{@code |
230 | | - * // This snippet has been automatically generated for illustrative purposes only. |
231 | | - * // It may require modifications to work in your environment. |
| 242 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 243 | + * // It will require modifications to work: |
| 244 | + * // - It may require correct/in-range values for request initialization. |
| 245 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 246 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
232 | 247 | * try (BaseBigQueryReadClient baseBigQueryReadClient = BaseBigQueryReadClient.create()) { |
233 | 248 | * String parent = ProjectName.of("[PROJECT]").toString(); |
234 | 249 | * ReadSession readSession = ReadSession.newBuilder().build(); |
@@ -283,8 +298,11 @@ public final ReadSession createReadSession( |
283 | 298 | * <p>Sample code: |
284 | 299 | * |
285 | 300 | * <pre>{@code |
286 | | - * // This snippet has been automatically generated for illustrative purposes only. |
287 | | - * // It may require modifications to work in your environment. |
| 301 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 302 | + * // It will require modifications to work: |
| 303 | + * // - It may require correct/in-range values for request initialization. |
| 304 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 305 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
288 | 306 | * try (BaseBigQueryReadClient baseBigQueryReadClient = BaseBigQueryReadClient.create()) { |
289 | 307 | * CreateReadSessionRequest request = |
290 | 308 | * CreateReadSessionRequest.newBuilder() |
@@ -326,8 +344,11 @@ public final ReadSession createReadSession(CreateReadSessionRequest request) { |
326 | 344 | * <p>Sample code: |
327 | 345 | * |
328 | 346 | * <pre>{@code |
329 | | - * // This snippet has been automatically generated for illustrative purposes only. |
330 | | - * // It may require modifications to work in your environment. |
| 347 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 348 | + * // It will require modifications to work: |
| 349 | + * // - It may require correct/in-range values for request initialization. |
| 350 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 351 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
331 | 352 | * try (BaseBigQueryReadClient baseBigQueryReadClient = BaseBigQueryReadClient.create()) { |
332 | 353 | * CreateReadSessionRequest request = |
333 | 354 | * CreateReadSessionRequest.newBuilder() |
@@ -359,8 +380,11 @@ public final UnaryCallable<CreateReadSessionRequest, ReadSession> createReadSess |
359 | 380 | * <p>Sample code: |
360 | 381 | * |
361 | 382 | * <pre>{@code |
362 | | - * // This snippet has been automatically generated for illustrative purposes only. |
363 | | - * // It may require modifications to work in your environment. |
| 383 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 384 | + * // It will require modifications to work: |
| 385 | + * // - It may require correct/in-range values for request initialization. |
| 386 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 387 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
364 | 388 | * try (BaseBigQueryReadClient baseBigQueryReadClient = BaseBigQueryReadClient.create()) { |
365 | 389 | * ReadRowsRequest request = |
366 | 390 | * ReadRowsRequest.newBuilder() |
@@ -396,8 +420,11 @@ public final ServerStreamingCallable<ReadRowsRequest, ReadRowsResponse> readRows |
396 | 420 | * <p>Sample code: |
397 | 421 | * |
398 | 422 | * <pre>{@code |
399 | | - * // This snippet has been automatically generated for illustrative purposes only. |
400 | | - * // It may require modifications to work in your environment. |
| 423 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 424 | + * // It will require modifications to work: |
| 425 | + * // - It may require correct/in-range values for request initialization. |
| 426 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 427 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
401 | 428 | * try (BaseBigQueryReadClient baseBigQueryReadClient = BaseBigQueryReadClient.create()) { |
402 | 429 | * SplitReadStreamRequest request = |
403 | 430 | * SplitReadStreamRequest.newBuilder() |
@@ -432,8 +459,11 @@ public final SplitReadStreamResponse splitReadStream(SplitReadStreamRequest requ |
432 | 459 | * <p>Sample code: |
433 | 460 | * |
434 | 461 | * <pre>{@code |
435 | | - * // This snippet has been automatically generated for illustrative purposes only. |
436 | | - * // It may require modifications to work in your environment. |
| 462 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 463 | + * // It will require modifications to work: |
| 464 | + * // - It may require correct/in-range values for request initialization. |
| 465 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 466 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
437 | 467 | * try (BaseBigQueryReadClient baseBigQueryReadClient = BaseBigQueryReadClient.create()) { |
438 | 468 | * SplitReadStreamRequest request = |
439 | 469 | * SplitReadStreamRequest.newBuilder() |
|
0 commit comments