Skip to content

Commit 3eccd1b

Browse files
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#223)
- [ ] 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
1 parent cd26e47 commit 3eccd1b

File tree

13 files changed

+91
-37
lines changed

13 files changed

+91
-37
lines changed

java-life-sciences/google-cloud-life-sciences/src/main/java/com/google/cloud/lifesciences/v2beta/WorkflowsServiceV2BetaClient.java

+35-14
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,11 @@
3838
* calls that map to API methods. Sample code to get started:
3939
*
4040
* <pre>{@code
41-
* // This snippet has been automatically generated for illustrative purposes only.
42-
* // It may require modifications to work in your environment.
41+
* // This snippet has been automatically generated and should be regarded as a code template only.
42+
* // It will require modifications to work:
43+
* // - It may require correct/in-range values for request initialization.
44+
* // - It may require specifying regional endpoints when creating the service client as shown in
45+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
4346
* try (WorkflowsServiceV2BetaClient workflowsServiceV2BetaClient =
4447
* WorkflowsServiceV2BetaClient.create()) {
4548
* RunPipelineRequest request =
@@ -83,8 +86,11 @@
8386
* <p>To customize credentials:
8487
*
8588
* <pre>{@code
86-
* // This snippet has been automatically generated for illustrative purposes only.
87-
* // It may require modifications to work in your environment.
89+
* // This snippet has been automatically generated and should be regarded as a code template only.
90+
* // It will require modifications to work:
91+
* // - It may require correct/in-range values for request initialization.
92+
* // - It may require specifying regional endpoints when creating the service client as shown in
93+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
8894
* WorkflowsServiceV2BetaSettings workflowsServiceV2BetaSettings =
8995
* WorkflowsServiceV2BetaSettings.newBuilder()
9096
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -96,8 +102,11 @@
96102
* <p>To customize the endpoint:
97103
*
98104
* <pre>{@code
99-
* // This snippet has been automatically generated for illustrative purposes only.
100-
* // It may require modifications to work in your environment.
105+
* // This snippet has been automatically generated and should be regarded as a code template only.
106+
* // It will require modifications to work:
107+
* // - It may require correct/in-range values for request initialization.
108+
* // - It may require specifying regional endpoints when creating the service client as shown in
109+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
101110
* WorkflowsServiceV2BetaSettings workflowsServiceV2BetaSettings =
102111
* WorkflowsServiceV2BetaSettings.newBuilder().setEndpoint(myEndpoint).build();
103112
* WorkflowsServiceV2BetaClient workflowsServiceV2BetaClient =
@@ -108,8 +117,11 @@
108117
* the wire:
109118
*
110119
* <pre>{@code
111-
* // This snippet has been automatically generated for illustrative purposes only.
112-
* // It may require modifications to work in your environment.
120+
* // This snippet has been automatically generated and should be regarded as a code template only.
121+
* // It will require modifications to work:
122+
* // - It may require correct/in-range values for request initialization.
123+
* // - It may require specifying regional endpoints when creating the service client as shown in
124+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
113125
* WorkflowsServiceV2BetaSettings workflowsServiceV2BetaSettings =
114126
* WorkflowsServiceV2BetaSettings.newBuilder()
115127
* .setTransportChannelProvider(
@@ -221,8 +233,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
221233
* <p>Sample code:
222234
*
223235
* <pre>{@code
224-
* // This snippet has been automatically generated for illustrative purposes only.
225-
* // It may require modifications to work in your environment.
236+
* // This snippet has been automatically generated and should be regarded as a code template only.
237+
* // It will require modifications to work:
238+
* // - It may require correct/in-range values for request initialization.
239+
* // - It may require specifying regional endpoints when creating the service client as shown in
240+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
226241
* try (WorkflowsServiceV2BetaClient workflowsServiceV2BetaClient =
227242
* WorkflowsServiceV2BetaClient.create()) {
228243
* RunPipelineRequest request =
@@ -267,8 +282,11 @@ public final OperationFuture<RunPipelineResponse, Metadata> runPipelineAsync(
267282
* <p>Sample code:
268283
*
269284
* <pre>{@code
270-
* // This snippet has been automatically generated for illustrative purposes only.
271-
* // It may require modifications to work in your environment.
285+
* // This snippet has been automatically generated and should be regarded as a code template only.
286+
* // It will require modifications to work:
287+
* // - It may require correct/in-range values for request initialization.
288+
* // - It may require specifying regional endpoints when creating the service client as shown in
289+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
272290
* try (WorkflowsServiceV2BetaClient workflowsServiceV2BetaClient =
273291
* WorkflowsServiceV2BetaClient.create()) {
274292
* RunPipelineRequest request =
@@ -313,8 +331,11 @@ public final OperationFuture<RunPipelineResponse, Metadata> runPipelineAsync(
313331
* <p>Sample code:
314332
*
315333
* <pre>{@code
316-
* // This snippet has been automatically generated for illustrative purposes only.
317-
* // It may require modifications to work in your environment.
334+
* // This snippet has been automatically generated and should be regarded as a code template only.
335+
* // It will require modifications to work:
336+
* // - It may require correct/in-range values for request initialization.
337+
* // - It may require specifying regional endpoints when creating the service client as shown in
338+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
318339
* try (WorkflowsServiceV2BetaClient workflowsServiceV2BetaClient =
319340
* WorkflowsServiceV2BetaClient.create()) {
320341
* RunPipelineRequest request =

java-life-sciences/google-cloud-life-sciences/src/main/java/com/google/cloud/lifesciences/v2beta/WorkflowsServiceV2BetaSettings.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,11 @@
5252
* <p>For example, to set the total timeout of runPipeline to 30 seconds:
5353
*
5454
* <pre>{@code
55-
* // This snippet has been automatically generated for illustrative purposes only.
56-
* // 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
5760
* WorkflowsServiceV2BetaSettings.Builder workflowsServiceV2BetaSettingsBuilder =
5861
* WorkflowsServiceV2BetaSettings.newBuilder();
5962
* workflowsServiceV2BetaSettingsBuilder

java-life-sciences/google-cloud-life-sciences/src/main/java/com/google/cloud/lifesciences/v2beta/package-info.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@
2525
* <p>Sample for WorkflowsServiceV2BetaClient:
2626
*
2727
* <pre>{@code
28-
* // This snippet has been automatically generated for illustrative purposes only.
29-
* // It may require modifications to work in your environment.
28+
* // This snippet has been automatically generated and should be regarded as a code template only.
29+
* // It will require modifications to work:
30+
* // - It may require correct/in-range values for request initialization.
31+
* // - It may require specifying regional endpoints when creating the service client as shown in
32+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3033
* try (WorkflowsServiceV2BetaClient workflowsServiceV2BetaClient =
3134
* WorkflowsServiceV2BetaClient.create()) {
3235
* RunPipelineRequest request =

java-life-sciences/google-cloud-life-sciences/src/main/java/com/google/cloud/lifesciences/v2beta/stub/HttpJsonWorkflowsServiceV2BetaStub.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public class HttpJsonWorkflowsServiceV2BetaStub extends WorkflowsServiceV2BetaSt
8787
.setRequestBodyExtractor(
8888
request ->
8989
ProtoRestSerializer.create()
90-
.toBody("*", request.toBuilder().clearParent().build()))
90+
.toBody("*", request.toBuilder().clearParent().build(), false))
9191
.build())
9292
.setResponseParser(
9393
ProtoMessageResponseParser.<Operation>newBuilder()

java-life-sciences/google-cloud-life-sciences/src/main/java/com/google/cloud/lifesciences/v2beta/stub/WorkflowsServiceV2BetaStubSettings.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,11 @@
6969
* <p>For example, to set the total timeout of runPipeline to 30 seconds:
7070
*
7171
* <pre>{@code
72-
* // This snippet has been automatically generated for illustrative purposes only.
73-
* // It may require modifications to work in your environment.
72+
* // This snippet has been automatically generated and should be regarded as a code template only.
73+
* // It will require modifications to work:
74+
* // - It may require correct/in-range values for request initialization.
75+
* // - It may require specifying regional endpoints when creating the service client as shown in
76+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
7477
* WorkflowsServiceV2BetaStubSettings.Builder workflowsServiceV2BetaSettingsBuilder =
7578
* WorkflowsServiceV2BetaStubSettings.newBuilder();
7679
* workflowsServiceV2BetaSettingsBuilder

java-life-sciences/samples/snippets/generated/com/google/cloud/lifesciences/v2beta/stub/workflowsservicev2betastubsettings/runpipeline/SyncRunPipeline.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
2727
}
2828

2929
public static void syncRunPipeline() throws Exception {
30-
// This snippet has been automatically generated for illustrative purposes only.
31-
// It may require modifications to work in your environment.
30+
// This snippet has been automatically generated and should be regarded as a code template only.
31+
// It will require modifications to work:
32+
// - It may require correct/in-range values for request initialization.
33+
// - It may require specifying regional endpoints when creating the service client as shown in
34+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3235
WorkflowsServiceV2BetaStubSettings.Builder workflowsServiceV2BetaSettingsBuilder =
3336
WorkflowsServiceV2BetaStubSettings.newBuilder();
3437
workflowsServiceV2BetaSettingsBuilder

java-life-sciences/samples/snippets/generated/com/google/cloud/lifesciences/v2beta/workflowsservicev2betaclient/create/SyncCreateSetCredentialsProvider.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
2929
}
3030

3131
public static void syncCreateSetCredentialsProvider() throws Exception {
32-
// This snippet has been automatically generated for illustrative purposes only.
33-
// It may require modifications to work in your environment.
32+
// This snippet has been automatically generated and should be regarded as a code template only.
33+
// It will require modifications to work:
34+
// - It may require correct/in-range values for request initialization.
35+
// - It may require specifying regional endpoints when creating the service client as shown in
36+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3437
WorkflowsServiceV2BetaSettings workflowsServiceV2BetaSettings =
3538
WorkflowsServiceV2BetaSettings.newBuilder()
3639
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))

java-life-sciences/samples/snippets/generated/com/google/cloud/lifesciences/v2beta/workflowsservicev2betaclient/create/SyncCreateSetCredentialsProvider1.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
2727
}
2828

2929
public static void syncCreateSetCredentialsProvider1() throws Exception {
30-
// This snippet has been automatically generated for illustrative purposes only.
31-
// It may require modifications to work in your environment.
30+
// This snippet has been automatically generated and should be regarded as a code template only.
31+
// It will require modifications to work:
32+
// - It may require correct/in-range values for request initialization.
33+
// - It may require specifying regional endpoints when creating the service client as shown in
34+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3235
WorkflowsServiceV2BetaSettings workflowsServiceV2BetaSettings =
3336
WorkflowsServiceV2BetaSettings.newBuilder()
3437
.setTransportChannelProvider(

java-life-sciences/samples/snippets/generated/com/google/cloud/lifesciences/v2beta/workflowsservicev2betaclient/create/SyncCreateSetEndpoint.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
2828
}
2929

3030
public static void syncCreateSetEndpoint() throws Exception {
31-
// This snippet has been automatically generated for illustrative purposes only.
32-
// It may require modifications to work in your environment.
31+
// This snippet has been automatically generated and should be regarded as a code template only.
32+
// It will require modifications to work:
33+
// - It may require correct/in-range values for request initialization.
34+
// - It may require specifying regional endpoints when creating the service client as shown in
35+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3336
WorkflowsServiceV2BetaSettings workflowsServiceV2BetaSettings =
3437
WorkflowsServiceV2BetaSettings.newBuilder().setEndpoint(myEndpoint).build();
3538
WorkflowsServiceV2BetaClient workflowsServiceV2BetaClient =

java-life-sciences/samples/snippets/generated/com/google/cloud/lifesciences/v2beta/workflowsservicev2betaclient/runpipeline/AsyncRunPipeline.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
3131
}
3232

3333
public static void asyncRunPipeline() throws Exception {
34-
// This snippet has been automatically generated for illustrative purposes only.
35-
// It may require modifications to work in your environment.
34+
// This snippet has been automatically generated and should be regarded as a code template only.
35+
// It will require modifications to work:
36+
// - It may require correct/in-range values for request initialization.
37+
// - It may require specifying regional endpoints when creating the service client as shown in
38+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3639
try (WorkflowsServiceV2BetaClient workflowsServiceV2BetaClient =
3740
WorkflowsServiceV2BetaClient.create()) {
3841
RunPipelineRequest request =

java-life-sciences/samples/snippets/generated/com/google/cloud/lifesciences/v2beta/workflowsservicev2betaclient/runpipeline/AsyncRunPipelineLRO.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
3232
}
3333

3434
public static void asyncRunPipelineLRO() throws Exception {
35-
// This snippet has been automatically generated for illustrative purposes only.
36-
// It may require modifications to work in your environment.
35+
// This snippet has been automatically generated and should be regarded as a code template only.
36+
// It will require modifications to work:
37+
// - It may require correct/in-range values for request initialization.
38+
// - It may require specifying regional endpoints when creating the service client as shown in
39+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3740
try (WorkflowsServiceV2BetaClient workflowsServiceV2BetaClient =
3841
WorkflowsServiceV2BetaClient.create()) {
3942
RunPipelineRequest request =

java-life-sciences/samples/snippets/generated/com/google/cloud/lifesciences/v2beta/workflowsservicev2betaclient/runpipeline/SyncRunPipeline.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
3030
}
3131

3232
public static void syncRunPipeline() throws Exception {
33-
// This snippet has been automatically generated for illustrative purposes only.
34-
// It may require modifications to work in your environment.
33+
// This snippet has been automatically generated and should be regarded as a code template only.
34+
// It will require modifications to work:
35+
// - It may require correct/in-range values for request initialization.
36+
// - It may require specifying regional endpoints when creating the service client as shown in
37+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3538
try (WorkflowsServiceV2BetaClient workflowsServiceV2BetaClient =
3639
WorkflowsServiceV2BetaClient.create()) {
3740
RunPipelineRequest request =

java-life-sciences/samples/snippets/generated/com/google/cloud/lifesciences/v2beta/workflowsservicev2betasettings/runpipeline/SyncRunPipeline.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
2727
}
2828

2929
public static void syncRunPipeline() throws Exception {
30-
// This snippet has been automatically generated for illustrative purposes only.
31-
// It may require modifications to work in your environment.
30+
// This snippet has been automatically generated and should be regarded as a code template only.
31+
// It will require modifications to work:
32+
// - It may require correct/in-range values for request initialization.
33+
// - It may require specifying regional endpoints when creating the service client as shown in
34+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3235
WorkflowsServiceV2BetaSettings.Builder workflowsServiceV2BetaSettingsBuilder =
3336
WorkflowsServiceV2BetaSettings.newBuilder();
3437
workflowsServiceV2BetaSettingsBuilder

0 commit comments

Comments
 (0)