33
33
* calls that map to API methods. Sample code to get started:
34
34
*
35
35
* <pre>{@code
36
- * // This snippet has been automatically generated for illustrative purposes only.
37
- * // It may require modifications to work in your environment.
36
+ * // This snippet has been automatically generated and should be regarded as a code template only.
37
+ * // It will require modifications to work:
38
+ * // - It may require correct/in-range values for request initialization.
39
+ * // - It may require specifying regional endpoints when creating the service client as shown in
40
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
38
41
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
39
42
* ErrorGroupName groupName = ErrorGroupName.of("[PROJECT]", "[GROUP]");
40
43
* ErrorGroup response = errorGroupServiceClient.getGroup(groupName);
71
74
* <p>To customize credentials:
72
75
*
73
76
* <pre>{@code
74
- * // This snippet has been automatically generated for illustrative purposes only.
75
- * // It may require modifications to work in your environment.
77
+ * // This snippet has been automatically generated and should be regarded as a code template only.
78
+ * // It will require modifications to work:
79
+ * // - It may require correct/in-range values for request initialization.
80
+ * // - It may require specifying regional endpoints when creating the service client as shown in
81
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
76
82
* ErrorGroupServiceSettings errorGroupServiceSettings =
77
83
* ErrorGroupServiceSettings.newBuilder()
78
84
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
84
90
* <p>To customize the endpoint:
85
91
*
86
92
* <pre>{@code
87
- * // This snippet has been automatically generated for illustrative purposes only.
88
- * // It may require modifications to work in your environment.
93
+ * // This snippet has been automatically generated and should be regarded as a code template only.
94
+ * // It will require modifications to work:
95
+ * // - It may require correct/in-range values for request initialization.
96
+ * // - It may require specifying regional endpoints when creating the service client as shown in
97
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
89
98
* ErrorGroupServiceSettings errorGroupServiceSettings =
90
99
* ErrorGroupServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
91
100
* ErrorGroupServiceClient errorGroupServiceClient =
96
105
* the wire:
97
106
*
98
107
* <pre>{@code
99
- * // This snippet has been automatically generated for illustrative purposes only.
100
- * // It may require modifications to work in your environment.
108
+ * // This snippet has been automatically generated and should be regarded as a code template only.
109
+ * // It will require modifications to work:
110
+ * // - It may require correct/in-range values for request initialization.
111
+ * // - It may require specifying regional endpoints when creating the service client as shown in
112
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
101
113
* ErrorGroupServiceSettings errorGroupServiceSettings =
102
114
* ErrorGroupServiceSettings.newBuilder()
103
115
* .setTransportChannelProvider(
@@ -199,8 +211,11 @@ public final ErrorGroup getGroup(GroupName groupName) {
199
211
* <p>Sample code:
200
212
*
201
213
* <pre>{@code
202
- * // This snippet has been automatically generated for illustrative purposes only.
203
- * // It may require modifications to work in your environment.
214
+ * // This snippet has been automatically generated and should be regarded as a code template only.
215
+ * // It will require modifications to work:
216
+ * // - It may require correct/in-range values for request initialization.
217
+ * // - It may require specifying regional endpoints when creating the service client as shown in
218
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
204
219
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
205
220
* ErrorGroupName groupName = ErrorGroupName.of("[PROJECT]", "[GROUP]");
206
221
* ErrorGroup response = errorGroupServiceClient.getGroup(groupName);
@@ -229,8 +244,11 @@ public final ErrorGroup getGroup(ErrorGroupName groupName) {
229
244
* <p>Sample code:
230
245
*
231
246
* <pre>{@code
232
- * // This snippet has been automatically generated for illustrative purposes only.
233
- * // It may require modifications to work in your environment.
247
+ * // This snippet has been automatically generated and should be regarded as a code template only.
248
+ * // It will require modifications to work:
249
+ * // - It may require correct/in-range values for request initialization.
250
+ * // - It may require specifying regional endpoints when creating the service client as shown in
251
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
234
252
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
235
253
* String groupName = ErrorGroupName.of("[PROJECT]", "[GROUP]").toString();
236
254
* ErrorGroup response = errorGroupServiceClient.getGroup(groupName);
@@ -256,8 +274,11 @@ public final ErrorGroup getGroup(String groupName) {
256
274
* <p>Sample code:
257
275
*
258
276
* <pre>{@code
259
- * // This snippet has been automatically generated for illustrative purposes only.
260
- * // It may require modifications to work in your environment.
277
+ * // This snippet has been automatically generated and should be regarded as a code template only.
278
+ * // It will require modifications to work:
279
+ * // - It may require correct/in-range values for request initialization.
280
+ * // - It may require specifying regional endpoints when creating the service client as shown in
281
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
261
282
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
262
283
* GetGroupRequest request =
263
284
* GetGroupRequest.newBuilder()
@@ -281,8 +302,11 @@ public final ErrorGroup getGroup(GetGroupRequest request) {
281
302
* <p>Sample code:
282
303
*
283
304
* <pre>{@code
284
- * // This snippet has been automatically generated for illustrative purposes only.
285
- * // It may require modifications to work in your environment.
305
+ * // This snippet has been automatically generated and should be regarded as a code template only.
306
+ * // It will require modifications to work:
307
+ * // - It may require correct/in-range values for request initialization.
308
+ * // - It may require specifying regional endpoints when creating the service client as shown in
309
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
286
310
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
287
311
* GetGroupRequest request =
288
312
* GetGroupRequest.newBuilder()
@@ -305,8 +329,11 @@ public final UnaryCallable<GetGroupRequest, ErrorGroup> getGroupCallable() {
305
329
* <p>Sample code:
306
330
*
307
331
* <pre>{@code
308
- * // This snippet has been automatically generated for illustrative purposes only.
309
- * // It may require modifications to work in your environment.
332
+ * // This snippet has been automatically generated and should be regarded as a code template only.
333
+ * // It will require modifications to work:
334
+ * // - It may require correct/in-range values for request initialization.
335
+ * // - It may require specifying regional endpoints when creating the service client as shown in
336
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
310
337
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
311
338
* ErrorGroup group = ErrorGroup.newBuilder().build();
312
339
* ErrorGroup response = errorGroupServiceClient.updateGroup(group);
@@ -328,8 +355,11 @@ public final ErrorGroup updateGroup(ErrorGroup group) {
328
355
* <p>Sample code:
329
356
*
330
357
* <pre>{@code
331
- * // This snippet has been automatically generated for illustrative purposes only.
332
- * // It may require modifications to work in your environment.
358
+ * // This snippet has been automatically generated and should be regarded as a code template only.
359
+ * // It will require modifications to work:
360
+ * // - It may require correct/in-range values for request initialization.
361
+ * // - It may require specifying regional endpoints when creating the service client as shown in
362
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
333
363
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
334
364
* UpdateGroupRequest request =
335
365
* UpdateGroupRequest.newBuilder().setGroup(ErrorGroup.newBuilder().build()).build();
@@ -351,8 +381,11 @@ public final ErrorGroup updateGroup(UpdateGroupRequest request) {
351
381
* <p>Sample code:
352
382
*
353
383
* <pre>{@code
354
- * // This snippet has been automatically generated for illustrative purposes only.
355
- * // It may require modifications to work in your environment.
384
+ * // This snippet has been automatically generated and should be regarded as a code template only.
385
+ * // It will require modifications to work:
386
+ * // - It may require correct/in-range values for request initialization.
387
+ * // - It may require specifying regional endpoints when creating the service client as shown in
388
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
356
389
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
357
390
* UpdateGroupRequest request =
358
391
* UpdateGroupRequest.newBuilder().setGroup(ErrorGroup.newBuilder().build()).build();
0 commit comments