Skip to content

Commit 7e4de2b

Browse files
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#285)
- [ ] 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 c5fcb79 commit 7e4de2b

File tree

108 files changed

+1028
-440
lines changed

Some content is hidden

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

108 files changed

+1028
-440
lines changed

java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/HubServiceClient.java

Lines changed: 245 additions & 98 deletions
Large diffs are not rendered by default.

java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/HubServiceSettings.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,16 @@
5757
* <p>For example, to set the total timeout of getHub to 30 seconds:
5858
*
5959
* <pre>{@code
60-
* // This snippet has been automatically generated for illustrative purposes only.
61-
* // It may require modifications to work in your environment.
60+
* // This snippet has been automatically generated and should be regarded as a code template only.
61+
* // It will require modifications to work:
62+
* // - It may require correct/in-range values for request initialization.
63+
* // - It may require specifying regional endpoints when creating the service client as shown in
64+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
6265
* HubServiceSettings.Builder hubServiceSettingsBuilder = HubServiceSettings.newBuilder();
6366
* hubServiceSettingsBuilder
6467
* .getHubSettings()
6568
* .setRetrySettings(
66-
* hubServiceSettingsBuilder
67-
* .getHubSettings()
68-
* .getRetrySettings()
69-
* .toBuilder()
69+
* hubServiceSettingsBuilder.getHubSettings().getRetrySettings().toBuilder()
7070
* .setTotalTimeout(Duration.ofSeconds(30))
7171
* .build());
7272
* HubServiceSettings hubServiceSettings = hubServiceSettingsBuilder.build();

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@
2828
* <p>Sample for HubServiceClient:
2929
*
3030
* <pre>{@code
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
* try (HubServiceClient hubServiceClient = HubServiceClient.create()) {
3437
* HubName name = HubName.of("[PROJECT]", "[HUB]");
3538
* Hub response = hubServiceClient.getHub(name);

java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/HubServiceStubSettings.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,16 @@
9090
* <p>For example, to set the total timeout of getHub to 30 seconds:
9191
*
9292
* <pre>{@code
93-
* // This snippet has been automatically generated for illustrative purposes only.
94-
* // 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
9598
* HubServiceStubSettings.Builder hubServiceSettingsBuilder = HubServiceStubSettings.newBuilder();
9699
* hubServiceSettingsBuilder
97100
* .getHubSettings()
98101
* .setRetrySettings(
99-
* hubServiceSettingsBuilder
100-
* .getHubSettings()
101-
* .getRetrySettings()
102-
* .toBuilder()
102+
* hubServiceSettingsBuilder.getHubSettings().getRetrySettings().toBuilder()
103103
* .setTotalTimeout(Duration.ofSeconds(30))
104104
* .build());
105105
* HubServiceStubSettings hubServiceSettings = hubServiceSettingsBuilder.build();

java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/HubServiceClient.java

Lines changed: 245 additions & 98 deletions
Large diffs are not rendered by default.

java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/HubServiceSettings.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,16 @@
5757
* <p>For example, to set the total timeout of getHub to 30 seconds:
5858
*
5959
* <pre>{@code
60-
* // This snippet has been automatically generated for illustrative purposes only.
61-
* // It may require modifications to work in your environment.
60+
* // This snippet has been automatically generated and should be regarded as a code template only.
61+
* // It will require modifications to work:
62+
* // - It may require correct/in-range values for request initialization.
63+
* // - It may require specifying regional endpoints when creating the service client as shown in
64+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
6265
* HubServiceSettings.Builder hubServiceSettingsBuilder = HubServiceSettings.newBuilder();
6366
* hubServiceSettingsBuilder
6467
* .getHubSettings()
6568
* .setRetrySettings(
66-
* hubServiceSettingsBuilder
67-
* .getHubSettings()
68-
* .getRetrySettings()
69-
* .toBuilder()
69+
* hubServiceSettingsBuilder.getHubSettings().getRetrySettings().toBuilder()
7070
* .setTotalTimeout(Duration.ofSeconds(30))
7171
* .build());
7272
* HubServiceSettings hubServiceSettings = hubServiceSettingsBuilder.build();

java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/package-info.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@
2626
* <p>Sample for HubServiceClient:
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 (HubServiceClient hubServiceClient = HubServiceClient.create()) {
3235
* HubName name = HubName.of("[PROJECT]", "[HUB]");
3336
* Hub response = hubServiceClient.getHub(name);

java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/stub/HubServiceStubSettings.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,16 @@
9090
* <p>For example, to set the total timeout of getHub to 30 seconds:
9191
*
9292
* <pre>{@code
93-
* // This snippet has been automatically generated for illustrative purposes only.
94-
* // 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
9598
* HubServiceStubSettings.Builder hubServiceSettingsBuilder = HubServiceStubSettings.newBuilder();
9699
* hubServiceSettingsBuilder
97100
* .getHubSettings()
98101
* .setRetrySettings(
99-
* hubServiceSettingsBuilder
100-
* .getHubSettings()
101-
* .getRetrySettings()
102-
* .toBuilder()
102+
* hubServiceSettingsBuilder.getHubSettings().getRetrySettings().toBuilder()
103103
* .setTotalTimeout(Duration.ofSeconds(30))
104104
* .build());
105105
* HubServiceStubSettings hubServiceSettings = hubServiceSettingsBuilder.build();

java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/create/SyncCreateSetCredentialsProvider.java

Lines changed: 5 additions & 2 deletions
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
HubServiceSettings hubServiceSettings =
3538
HubServiceSettings.newBuilder()
3639
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))

java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/hubserviceclient/create/SyncCreateSetEndpoint.java

Lines changed: 5 additions & 2 deletions
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
HubServiceSettings hubServiceSettings =
3437
HubServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
3538
HubServiceClient hubServiceClient = HubServiceClient.create(hubServiceSettings);

0 commit comments

Comments
 (0)