Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 73c7653

Browse files
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 57cb1b6 commit 73c7653

File tree

107 files changed

+7117
-11923
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+7117
-11923
lines changed

grpc-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupServiceGrpc.java

Lines changed: 0 additions & 490 deletions
This file was deleted.

grpc-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorStatsServiceGrpc.java

Lines changed: 0 additions & 620 deletions
This file was deleted.

google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupServiceClient.java renamed to owl-bot-staging/v1beta1/google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupServiceClient.java

Lines changed: 55 additions & 54 deletions
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(
@@ -160,47 +172,18 @@ public ErrorGroupServiceStub getStub() {
160172
return stub;
161173
}
162174

163-
// Inserted by synthtool to preserve backwards-compatibility
164-
/**
165-
* Get the specified group.
166-
*
167-
* <p>Sample code:
168-
*
169-
* <pre><code>
170-
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
171-
* GroupName groupName = GroupName.of("[PROJECT]", "[GROUP]");
172-
* ErrorGroup response = errorGroupServiceClient.getGroup(groupName);
173-
* }
174-
* </code></pre>
175-
*
176-
* @param groupName Required. The group resource name. Written as
177-
* &lt;code&gt;projects/&lt;var&gt;projectID&lt;/var&gt;/groups/&lt;var&gt;group_name&lt;/var&gt;&lt;/code&gt;.
178-
* Call &lt;a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list"&gt;
179-
* &lt;code&gt;groupStats.list&lt;/code&gt;&lt;/a&gt; to return a list of groups belonging to
180-
* this project.
181-
* <p>Example: &lt;code&gt;projects/my-project-123/groups/my-group&lt;/code&gt;
182-
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
183-
* @deprecated Use ErrorGroupServiceClient#getGroup(ErrorGroupName)
184-
*/
185-
@Deprecated
186-
public final ErrorGroup getGroup(GroupName groupName) {
187-
188-
GetGroupRequest request =
189-
GetGroupRequest.newBuilder()
190-
.setGroupName(groupName == null ? null : groupName.toString())
191-
.build();
192-
return getGroup(request);
193-
}
194-
195175
// AUTO-GENERATED DOCUMENTATION AND METHOD.
196176
/**
197177
* Get the specified group.
198178
*
199179
* <p>Sample code:
200180
*
201181
* <pre>{@code
202-
* // This snippet has been automatically generated for illustrative purposes only.
203-
* // It may require modifications to work in your environment.
182+
* // This snippet has been automatically generated and should be regarded as a code template only.
183+
* // It will require modifications to work:
184+
* // - It may require correct/in-range values for request initialization.
185+
* // - It may require specifying regional endpoints when creating the service client as shown in
186+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
204187
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
205188
* ErrorGroupName groupName = ErrorGroupName.of("[PROJECT]", "[GROUP]");
206189
* ErrorGroup response = errorGroupServiceClient.getGroup(groupName);
@@ -229,8 +212,11 @@ public final ErrorGroup getGroup(ErrorGroupName groupName) {
229212
* <p>Sample code:
230213
*
231214
* <pre>{@code
232-
* // This snippet has been automatically generated for illustrative purposes only.
233-
* // It may require modifications to work in your environment.
215+
* // This snippet has been automatically generated and should be regarded as a code template only.
216+
* // It will require modifications to work:
217+
* // - It may require correct/in-range values for request initialization.
218+
* // - It may require specifying regional endpoints when creating the service client as shown in
219+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
234220
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
235221
* String groupName = ErrorGroupName.of("[PROJECT]", "[GROUP]").toString();
236222
* ErrorGroup response = errorGroupServiceClient.getGroup(groupName);
@@ -256,8 +242,11 @@ public final ErrorGroup getGroup(String groupName) {
256242
* <p>Sample code:
257243
*
258244
* <pre>{@code
259-
* // This snippet has been automatically generated for illustrative purposes only.
260-
* // It may require modifications to work in your environment.
245+
* // This snippet has been automatically generated and should be regarded as a code template only.
246+
* // It will require modifications to work:
247+
* // - It may require correct/in-range values for request initialization.
248+
* // - It may require specifying regional endpoints when creating the service client as shown in
249+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
261250
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
262251
* GetGroupRequest request =
263252
* GetGroupRequest.newBuilder()
@@ -281,8 +270,11 @@ public final ErrorGroup getGroup(GetGroupRequest request) {
281270
* <p>Sample code:
282271
*
283272
* <pre>{@code
284-
* // This snippet has been automatically generated for illustrative purposes only.
285-
* // It may require modifications to work in your environment.
273+
* // This snippet has been automatically generated and should be regarded as a code template only.
274+
* // It will require modifications to work:
275+
* // - It may require correct/in-range values for request initialization.
276+
* // - It may require specifying regional endpoints when creating the service client as shown in
277+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
286278
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
287279
* GetGroupRequest request =
288280
* GetGroupRequest.newBuilder()
@@ -305,8 +297,11 @@ public final UnaryCallable<GetGroupRequest, ErrorGroup> getGroupCallable() {
305297
* <p>Sample code:
306298
*
307299
* <pre>{@code
308-
* // This snippet has been automatically generated for illustrative purposes only.
309-
* // It may require modifications to work in your environment.
300+
* // This snippet has been automatically generated and should be regarded as a code template only.
301+
* // It will require modifications to work:
302+
* // - It may require correct/in-range values for request initialization.
303+
* // - It may require specifying regional endpoints when creating the service client as shown in
304+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
310305
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
311306
* ErrorGroup group = ErrorGroup.newBuilder().build();
312307
* ErrorGroup response = errorGroupServiceClient.updateGroup(group);
@@ -328,8 +323,11 @@ public final ErrorGroup updateGroup(ErrorGroup group) {
328323
* <p>Sample code:
329324
*
330325
* <pre>{@code
331-
* // This snippet has been automatically generated for illustrative purposes only.
332-
* // It may require modifications to work in your environment.
326+
* // This snippet has been automatically generated and should be regarded as a code template only.
327+
* // It will require modifications to work:
328+
* // - It may require correct/in-range values for request initialization.
329+
* // - It may require specifying regional endpoints when creating the service client as shown in
330+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
333331
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
334332
* UpdateGroupRequest request =
335333
* UpdateGroupRequest.newBuilder().setGroup(ErrorGroup.newBuilder().build()).build();
@@ -351,8 +349,11 @@ public final ErrorGroup updateGroup(UpdateGroupRequest request) {
351349
* <p>Sample code:
352350
*
353351
* <pre>{@code
354-
* // This snippet has been automatically generated for illustrative purposes only.
355-
* // It may require modifications to work in your environment.
352+
* // This snippet has been automatically generated and should be regarded as a code template only.
353+
* // It will require modifications to work:
354+
* // - It may require correct/in-range values for request initialization.
355+
* // - It may require specifying regional endpoints when creating the service client as shown in
356+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
356357
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
357358
* UpdateGroupRequest request =
358359
* UpdateGroupRequest.newBuilder().setGroup(ErrorGroup.newBuilder().build()).build();

google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupServiceSettings.java renamed to owl-bot-staging/v1beta1/google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupServiceSettings.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import com.google.api.gax.rpc.ApiClientHeaderProvider;
2626
import com.google.api.gax.rpc.ClientContext;
2727
import com.google.api.gax.rpc.ClientSettings;
28+
import com.google.api.gax.rpc.StubSettings;
2829
import com.google.api.gax.rpc.TransportChannelProvider;
2930
import com.google.api.gax.rpc.UnaryCallSettings;
3031
import com.google.devtools.clouderrorreporting.v1beta1.stub.ErrorGroupServiceStubSettings;
@@ -51,17 +52,17 @@
5152
* <p>For example, to set the total timeout of getGroup to 30 seconds:
5253
*
5354
* <pre>{@code
54-
* // This snippet has been automatically generated for illustrative purposes only.
55-
* // It may require modifications to work in your environment.
55+
* // This snippet has been automatically generated and should be regarded as a code template only.
56+
* // It will require modifications to work:
57+
* // - It may require correct/in-range values for request initialization.
58+
* // - It may require specifying regional endpoints when creating the service client as shown in
59+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
5660
* ErrorGroupServiceSettings.Builder errorGroupServiceSettingsBuilder =
5761
* ErrorGroupServiceSettings.newBuilder();
5862
* errorGroupServiceSettingsBuilder
5963
* .getGroupSettings()
6064
* .setRetrySettings(
61-
* errorGroupServiceSettingsBuilder
62-
* .getGroupSettings()
63-
* .getRetrySettings()
64-
* .toBuilder()
65+
* errorGroupServiceSettingsBuilder.getGroupSettings().getRetrySettings().toBuilder()
6566
* .setTotalTimeout(Duration.ofSeconds(30))
6667
* .build());
6768
* ErrorGroupServiceSettings errorGroupServiceSettings = errorGroupServiceSettingsBuilder.build();

0 commit comments

Comments
 (0)