Skip to content

Commit 3b7b13a

Browse files
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#416)
- [ ] 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 c3fa3fe commit 3b7b13a

File tree

239 files changed

+2318
-956
lines changed

Some content is hidden

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

239 files changed

+2318
-956
lines changed

java-notebooks/google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1/ManagedNotebookServiceClient.java

Lines changed: 235 additions & 94 deletions
Large diffs are not rendered by default.

java-notebooks/google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1/ManagedNotebookServiceSettings.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,11 @@
5555
* <p>For example, to set the total timeout of getRuntime to 30 seconds:
5656
*
5757
* <pre>{@code
58-
* // This snippet has been automatically generated for illustrative purposes only.
59-
* // It may require modifications to work in your environment.
58+
* // This snippet has been automatically generated and should be regarded as a code template only.
59+
* // It will require modifications to work:
60+
* // - It may require correct/in-range values for request initialization.
61+
* // - It may require specifying regional endpoints when creating the service client as shown in
62+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
6063
* ManagedNotebookServiceSettings.Builder managedNotebookServiceSettingsBuilder =
6164
* ManagedNotebookServiceSettings.newBuilder();
6265
* managedNotebookServiceSettingsBuilder

java-notebooks/google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1/NotebookServiceClient.java

Lines changed: 605 additions & 242 deletions
Large diffs are not rendered by default.

java-notebooks/google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1/NotebookServiceSettings.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,17 @@
5858
* <p>For example, to set the total timeout of getInstance to 30 seconds:
5959
*
6060
* <pre>{@code
61-
* // This snippet has been automatically generated for illustrative purposes only.
62-
* // It may require modifications to work in your environment.
61+
* // This snippet has been automatically generated and should be regarded as a code template only.
62+
* // It will require modifications to work:
63+
* // - It may require correct/in-range values for request initialization.
64+
* // - It may require specifying regional endpoints when creating the service client as shown in
65+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
6366
* NotebookServiceSettings.Builder notebookServiceSettingsBuilder =
6467
* NotebookServiceSettings.newBuilder();
6568
* notebookServiceSettingsBuilder
6669
* .getInstanceSettings()
6770
* .setRetrySettings(
68-
* notebookServiceSettingsBuilder
69-
* .getInstanceSettings()
70-
* .getRetrySettings()
71-
* .toBuilder()
71+
* notebookServiceSettingsBuilder.getInstanceSettings().getRetrySettings().toBuilder()
7272
* .setTotalTimeout(Duration.ofSeconds(30))
7373
* .build());
7474
* NotebookServiceSettings notebookServiceSettings = notebookServiceSettingsBuilder.build();

java-notebooks/google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1/package-info.java

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@
2626
* <p>Sample for ManagedNotebookServiceClient:
2727
*
2828
* <pre>{@code
29-
* // This snippet has been automatically generated for illustrative purposes only.
30-
* // It may require modifications to work in your environment.
29+
* // This snippet has been automatically generated and should be regarded as a code template only.
30+
* // It will require modifications to work:
31+
* // - It may require correct/in-range values for request initialization.
32+
* // - It may require specifying regional endpoints when creating the service client as shown in
33+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3134
* try (ManagedNotebookServiceClient managedNotebookServiceClient =
3235
* ManagedNotebookServiceClient.create()) {
3336
* RuntimeName name = RuntimeName.of("[PROJECT]", "[LOCATION]", "[RUNTIME]");
@@ -42,8 +45,11 @@
4245
* <p>Sample for NotebookServiceClient:
4346
*
4447
* <pre>{@code
45-
* // This snippet has been automatically generated for illustrative purposes only.
46-
* // It may require modifications to work in your environment.
48+
* // This snippet has been automatically generated and should be regarded as a code template only.
49+
* // It will require modifications to work:
50+
* // - It may require correct/in-range values for request initialization.
51+
* // - It may require specifying regional endpoints when creating the service client as shown in
52+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
4753
* try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) {
4854
* String name = "name3373707";
4955
* Instance response = notebookServiceClient.getInstance(name);

java-notebooks/google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1/stub/ManagedNotebookServiceStubSettings.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,11 @@
8787
* <p>For example, to set the total timeout of getRuntime to 30 seconds:
8888
*
8989
* <pre>{@code
90-
* // This snippet has been automatically generated for illustrative purposes only.
91-
* // It may require modifications to work in your environment.
90+
* // This snippet has been automatically generated and should be regarded as a code template only.
91+
* // It will require modifications to work:
92+
* // - It may require correct/in-range values for request initialization.
93+
* // - It may require specifying regional endpoints when creating the service client as shown in
94+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
9295
* ManagedNotebookServiceStubSettings.Builder managedNotebookServiceSettingsBuilder =
9396
* ManagedNotebookServiceStubSettings.newBuilder();
9497
* managedNotebookServiceSettingsBuilder

java-notebooks/google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1/stub/NotebookServiceStubSettings.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,17 +121,17 @@
121121
* <p>For example, to set the total timeout of getInstance to 30 seconds:
122122
*
123123
* <pre>{@code
124-
* // This snippet has been automatically generated for illustrative purposes only.
125-
* // It may require modifications to work in your environment.
124+
* // This snippet has been automatically generated and should be regarded as a code template only.
125+
* // It will require modifications to work:
126+
* // - It may require correct/in-range values for request initialization.
127+
* // - It may require specifying regional endpoints when creating the service client as shown in
128+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
126129
* NotebookServiceStubSettings.Builder notebookServiceSettingsBuilder =
127130
* NotebookServiceStubSettings.newBuilder();
128131
* notebookServiceSettingsBuilder
129132
* .getInstanceSettings()
130133
* .setRetrySettings(
131-
* notebookServiceSettingsBuilder
132-
* .getInstanceSettings()
133-
* .getRetrySettings()
134-
* .toBuilder()
134+
* notebookServiceSettingsBuilder.getInstanceSettings().getRetrySettings().toBuilder()
135135
* .setTotalTimeout(Duration.ofSeconds(30))
136136
* .build());
137137
* NotebookServiceStubSettings notebookServiceSettings = notebookServiceSettingsBuilder.build();

0 commit comments

Comments
 (0)