Skip to content

Commit 8a92965

Browse files
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#929)
- [ ] 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 chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions PiperOrigin-RevId: 472750037 Source-Link: googleapis/googleapis@88f2ea3 Source-Link: https://github.com/googleapis/googleapis-gen/commit/230a5588306aae18fe8f2a57f14d4039ad72c901 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9
1 parent 994e6da commit 8a92965

12 files changed

+238
-110
lines changed

java-errorreporting/google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupServiceClient.java

+55-22
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,11 @@
3333
* calls that map to API methods. Sample code to get started:
3434
*
3535
* <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
3841
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
3942
* ErrorGroupName groupName = ErrorGroupName.of("[PROJECT]", "[GROUP]");
4043
* ErrorGroup response = errorGroupServiceClient.getGroup(groupName);
@@ -71,8 +74,11 @@
7174
* <p>To customize credentials:
7275
*
7376
* <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
7682
* ErrorGroupServiceSettings errorGroupServiceSettings =
7783
* ErrorGroupServiceSettings.newBuilder()
7884
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -84,8 +90,11 @@
8490
* <p>To customize the endpoint:
8591
*
8692
* <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
8998
* ErrorGroupServiceSettings errorGroupServiceSettings =
9099
* ErrorGroupServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
91100
* ErrorGroupServiceClient errorGroupServiceClient =
@@ -96,8 +105,11 @@
96105
* the wire:
97106
*
98107
* <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
101113
* ErrorGroupServiceSettings errorGroupServiceSettings =
102114
* ErrorGroupServiceSettings.newBuilder()
103115
* .setTransportChannelProvider(
@@ -199,8 +211,11 @@ public final ErrorGroup getGroup(GroupName groupName) {
199211
* <p>Sample code:
200212
*
201213
* <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
204219
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
205220
* ErrorGroupName groupName = ErrorGroupName.of("[PROJECT]", "[GROUP]");
206221
* ErrorGroup response = errorGroupServiceClient.getGroup(groupName);
@@ -229,8 +244,11 @@ public final ErrorGroup getGroup(ErrorGroupName groupName) {
229244
* <p>Sample code:
230245
*
231246
* <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
234252
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
235253
* String groupName = ErrorGroupName.of("[PROJECT]", "[GROUP]").toString();
236254
* ErrorGroup response = errorGroupServiceClient.getGroup(groupName);
@@ -256,8 +274,11 @@ public final ErrorGroup getGroup(String groupName) {
256274
* <p>Sample code:
257275
*
258276
* <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
261282
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
262283
* GetGroupRequest request =
263284
* GetGroupRequest.newBuilder()
@@ -281,8 +302,11 @@ public final ErrorGroup getGroup(GetGroupRequest request) {
281302
* <p>Sample code:
282303
*
283304
* <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
286310
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
287311
* GetGroupRequest request =
288312
* GetGroupRequest.newBuilder()
@@ -305,8 +329,11 @@ public final UnaryCallable<GetGroupRequest, ErrorGroup> getGroupCallable() {
305329
* <p>Sample code:
306330
*
307331
* <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
310337
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
311338
* ErrorGroup group = ErrorGroup.newBuilder().build();
312339
* ErrorGroup response = errorGroupServiceClient.updateGroup(group);
@@ -328,8 +355,11 @@ public final ErrorGroup updateGroup(ErrorGroup group) {
328355
* <p>Sample code:
329356
*
330357
* <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
333363
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
334364
* UpdateGroupRequest request =
335365
* UpdateGroupRequest.newBuilder().setGroup(ErrorGroup.newBuilder().build()).build();
@@ -351,8 +381,11 @@ public final ErrorGroup updateGroup(UpdateGroupRequest request) {
351381
* <p>Sample code:
352382
*
353383
* <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
356389
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
357390
* UpdateGroupRequest request =
358391
* UpdateGroupRequest.newBuilder().setGroup(ErrorGroup.newBuilder().build()).build();

java-errorreporting/google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupServiceSettings.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,17 @@
5151
* <p>For example, to set the total timeout of getGroup to 30 seconds:
5252
*
5353
* <pre>{@code
54-
* // This snippet has been automatically generated for illustrative purposes only.
55-
* // It may require modifications to work in your environment.
54+
* // This snippet has been automatically generated and should be regarded as a code template only.
55+
* // It will require modifications to work:
56+
* // - It may require correct/in-range values for request initialization.
57+
* // - It may require specifying regional endpoints when creating the service client as shown in
58+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
5659
* ErrorGroupServiceSettings.Builder errorGroupServiceSettingsBuilder =
5760
* ErrorGroupServiceSettings.newBuilder();
5861
* errorGroupServiceSettingsBuilder
5962
* .getGroupSettings()
6063
* .setRetrySettings(
61-
* errorGroupServiceSettingsBuilder
62-
* .getGroupSettings()
63-
* .getRetrySettings()
64-
* .toBuilder()
64+
* errorGroupServiceSettingsBuilder.getGroupSettings().getRetrySettings().toBuilder()
6565
* .setTotalTimeout(Duration.ofSeconds(30))
6666
* .build());
6767
* ErrorGroupServiceSettings errorGroupServiceSettings = errorGroupServiceSettingsBuilder.build();

0 commit comments

Comments
 (0)