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

Commit 4321e0a

Browse files
chore(deps): upgrade gapic-generator-java to 2.7.0 and update gax-java to 2.16.0 (#173)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 446250659 Source-Link: googleapis/googleapis@dc4ef31 Source-Link: https://github.com/googleapis/googleapis-gen/commit/5fdda4ddfbab87998e77e4a453e0ff87986d2db8 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWZkZGE0ZGRmYmFiODc5OThlNzdlNGE0NTNlMGZmODc5ODZkMmRiOCJ9
1 parent f67e446 commit 4321e0a

20 files changed

+122
-20
lines changed

google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceClient.java

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -54,6 +54,8 @@
5454
* calls that map to API methods. Sample code to get started:
5555
*
5656
* <pre>{@code
57+
* // This snippet has been automatically generated for illustrative purposes only.
58+
* // It may require modifications to work in your environment.
5759
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
5860
* String name = "name3373707";
5961
* ConnectivityTest response = reachabilityServiceClient.getConnectivityTest(name);
@@ -90,6 +92,8 @@
9092
* <p>To customize credentials:
9193
*
9294
* <pre>{@code
95+
* // This snippet has been automatically generated for illustrative purposes only.
96+
* // It may require modifications to work in your environment.
9397
* ReachabilityServiceSettings reachabilityServiceSettings =
9498
* ReachabilityServiceSettings.newBuilder()
9599
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -101,6 +105,8 @@
101105
* <p>To customize the endpoint:
102106
*
103107
* <pre>{@code
108+
* // This snippet has been automatically generated for illustrative purposes only.
109+
* // It may require modifications to work in your environment.
104110
* ReachabilityServiceSettings reachabilityServiceSettings =
105111
* ReachabilityServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
106112
* ReachabilityServiceClient reachabilityServiceClient =
@@ -180,6 +186,8 @@ public final OperationsClient getOperationsClient() {
180186
* <p>Sample code:
181187
*
182188
* <pre>{@code
189+
* // This snippet has been automatically generated for illustrative purposes only.
190+
* // It may require modifications to work in your environment.
183191
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
184192
* String parent = "parent-995424086";
185193
* for (ConnectivityTest element :
@@ -206,6 +214,8 @@ public final ListConnectivityTestsPagedResponse listConnectivityTests(String par
206214
* <p>Sample code:
207215
*
208216
* <pre>{@code
217+
* // This snippet has been automatically generated for illustrative purposes only.
218+
* // It may require modifications to work in your environment.
209219
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
210220
* ListConnectivityTestsRequest request =
211221
* ListConnectivityTestsRequest.newBuilder()
@@ -237,6 +247,8 @@ public final ListConnectivityTestsPagedResponse listConnectivityTests(
237247
* <p>Sample code:
238248
*
239249
* <pre>{@code
250+
* // This snippet has been automatically generated for illustrative purposes only.
251+
* // It may require modifications to work in your environment.
240252
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
241253
* ListConnectivityTestsRequest request =
242254
* ListConnectivityTestsRequest.newBuilder()
@@ -267,6 +279,8 @@ public final ListConnectivityTestsPagedResponse listConnectivityTests(
267279
* <p>Sample code:
268280
*
269281
* <pre>{@code
282+
* // This snippet has been automatically generated for illustrative purposes only.
283+
* // It may require modifications to work in your environment.
270284
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
271285
* ListConnectivityTestsRequest request =
272286
* ListConnectivityTestsRequest.newBuilder()
@@ -304,6 +318,8 @@ public final ListConnectivityTestsPagedResponse listConnectivityTests(
304318
* <p>Sample code:
305319
*
306320
* <pre>{@code
321+
* // This snippet has been automatically generated for illustrative purposes only.
322+
* // It may require modifications to work in your environment.
307323
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
308324
* String name = "name3373707";
309325
* ConnectivityTest response = reachabilityServiceClient.getConnectivityTest(name);
@@ -327,6 +343,8 @@ public final ConnectivityTest getConnectivityTest(String name) {
327343
* <p>Sample code:
328344
*
329345
* <pre>{@code
346+
* // This snippet has been automatically generated for illustrative purposes only.
347+
* // It may require modifications to work in your environment.
330348
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
331349
* GetConnectivityTestRequest request =
332350
* GetConnectivityTestRequest.newBuilder().setName("name3373707").build();
@@ -348,6 +366,8 @@ public final ConnectivityTest getConnectivityTest(GetConnectivityTestRequest req
348366
* <p>Sample code:
349367
*
350368
* <pre>{@code
369+
* // This snippet has been automatically generated for illustrative purposes only.
370+
* // It may require modifications to work in your environment.
351371
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
352372
* GetConnectivityTestRequest request =
353373
* GetConnectivityTestRequest.newBuilder().setName("name3373707").build();
@@ -379,6 +399,8 @@ public final ConnectivityTest getConnectivityTest(GetConnectivityTestRequest req
379399
* <p>Sample code:
380400
*
381401
* <pre>{@code
402+
* // This snippet has been automatically generated for illustrative purposes only.
403+
* // It may require modifications to work in your environment.
382404
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
383405
* String parent = "parent-995424086";
384406
* String testId = "testId-877170355";
@@ -430,6 +452,8 @@ public final OperationFuture<ConnectivityTest, OperationMetadata> createConnecti
430452
* <p>Sample code:
431453
*
432454
* <pre>{@code
455+
* // This snippet has been automatically generated for illustrative purposes only.
456+
* // It may require modifications to work in your environment.
433457
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
434458
* CreateConnectivityTestRequest request =
435459
* CreateConnectivityTestRequest.newBuilder()
@@ -466,6 +490,8 @@ public final OperationFuture<ConnectivityTest, OperationMetadata> createConnecti
466490
* <p>Sample code:
467491
*
468492
* <pre>{@code
493+
* // This snippet has been automatically generated for illustrative purposes only.
494+
* // It may require modifications to work in your environment.
469495
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
470496
* CreateConnectivityTestRequest request =
471497
* CreateConnectivityTestRequest.newBuilder()
@@ -501,6 +527,8 @@ public final OperationFuture<ConnectivityTest, OperationMetadata> createConnecti
501527
* <p>Sample code:
502528
*
503529
* <pre>{@code
530+
* // This snippet has been automatically generated for illustrative purposes only.
531+
* // It may require modifications to work in your environment.
504532
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
505533
* CreateConnectivityTestRequest request =
506534
* CreateConnectivityTestRequest.newBuilder()
@@ -539,6 +567,8 @@ public final OperationFuture<ConnectivityTest, OperationMetadata> createConnecti
539567
* <p>Sample code:
540568
*
541569
* <pre>{@code
570+
* // This snippet has been automatically generated for illustrative purposes only.
571+
* // It may require modifications to work in your environment.
542572
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
543573
* FieldMask updateMask = FieldMask.newBuilder().build();
544574
* ConnectivityTest resource = ConnectivityTest.newBuilder().build();
@@ -581,6 +611,8 @@ public final OperationFuture<ConnectivityTest, OperationMetadata> updateConnecti
581611
* <p>Sample code:
582612
*
583613
* <pre>{@code
614+
* // This snippet has been automatically generated for illustrative purposes only.
615+
* // It may require modifications to work in your environment.
584616
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
585617
* UpdateConnectivityTestRequest request =
586618
* UpdateConnectivityTestRequest.newBuilder()
@@ -619,6 +651,8 @@ public final OperationFuture<ConnectivityTest, OperationMetadata> updateConnecti
619651
* <p>Sample code:
620652
*
621653
* <pre>{@code
654+
* // This snippet has been automatically generated for illustrative purposes only.
655+
* // It may require modifications to work in your environment.
622656
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
623657
* UpdateConnectivityTestRequest request =
624658
* UpdateConnectivityTestRequest.newBuilder()
@@ -656,6 +690,8 @@ public final OperationFuture<ConnectivityTest, OperationMetadata> updateConnecti
656690
* <p>Sample code:
657691
*
658692
* <pre>{@code
693+
* // This snippet has been automatically generated for illustrative purposes only.
694+
* // It may require modifications to work in your environment.
659695
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
660696
* UpdateConnectivityTestRequest request =
661697
* UpdateConnectivityTestRequest.newBuilder()
@@ -690,6 +726,8 @@ public final OperationFuture<ConnectivityTest, OperationMetadata> updateConnecti
690726
* <p>Sample code:
691727
*
692728
* <pre>{@code
729+
* // This snippet has been automatically generated for illustrative purposes only.
730+
* // It may require modifications to work in your environment.
693731
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
694732
* RerunConnectivityTestRequest request =
695733
* RerunConnectivityTestRequest.newBuilder().setName("name3373707").build();
@@ -722,6 +760,8 @@ public final OperationFuture<ConnectivityTest, OperationMetadata> rerunConnectiv
722760
* <p>Sample code:
723761
*
724762
* <pre>{@code
763+
* // This snippet has been automatically generated for illustrative purposes only.
764+
* // It may require modifications to work in your environment.
725765
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
726766
* RerunConnectivityTestRequest request =
727767
* RerunConnectivityTestRequest.newBuilder().setName("name3373707").build();
@@ -753,6 +793,8 @@ public final OperationFuture<ConnectivityTest, OperationMetadata> rerunConnectiv
753793
* <p>Sample code:
754794
*
755795
* <pre>{@code
796+
* // This snippet has been automatically generated for illustrative purposes only.
797+
* // It may require modifications to work in your environment.
756798
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
757799
* RerunConnectivityTestRequest request =
758800
* RerunConnectivityTestRequest.newBuilder().setName("name3373707").build();
@@ -775,6 +817,8 @@ public final OperationFuture<ConnectivityTest, OperationMetadata> rerunConnectiv
775817
* <p>Sample code:
776818
*
777819
* <pre>{@code
820+
* // This snippet has been automatically generated for illustrative purposes only.
821+
* // It may require modifications to work in your environment.
778822
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
779823
* String name = "name3373707";
780824
* reachabilityServiceClient.deleteConnectivityTestAsync(name).get();
@@ -798,6 +842,8 @@ public final OperationFuture<Empty, OperationMetadata> deleteConnectivityTestAsy
798842
* <p>Sample code:
799843
*
800844
* <pre>{@code
845+
* // This snippet has been automatically generated for illustrative purposes only.
846+
* // It may require modifications to work in your environment.
801847
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
802848
* DeleteConnectivityTestRequest request =
803849
* DeleteConnectivityTestRequest.newBuilder().setName("name3373707").build();
@@ -820,6 +866,8 @@ public final OperationFuture<Empty, OperationMetadata> deleteConnectivityTestAsy
820866
* <p>Sample code:
821867
*
822868
* <pre>{@code
869+
* // This snippet has been automatically generated for illustrative purposes only.
870+
* // It may require modifications to work in your environment.
823871
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
824872
* DeleteConnectivityTestRequest request =
825873
* DeleteConnectivityTestRequest.newBuilder().setName("name3373707").build();
@@ -842,6 +890,8 @@ public final OperationFuture<Empty, OperationMetadata> deleteConnectivityTestAsy
842890
* <p>Sample code:
843891
*
844892
* <pre>{@code
893+
* // This snippet has been automatically generated for illustrative purposes only.
894+
* // It may require modifications to work in your environment.
845895
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
846896
* DeleteConnectivityTestRequest request =
847897
* DeleteConnectivityTestRequest.newBuilder().setName("name3373707").build();

google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceSettings.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -56,6 +56,8 @@
5656
* <p>For example, to set the total timeout of getConnectivityTest to 30 seconds:
5757
*
5858
* <pre>{@code
59+
* // This snippet has been automatically generated for illustrative purposes only.
60+
* // It may require modifications to work in your environment.
5961
* ReachabilityServiceSettings.Builder reachabilityServiceSettingsBuilder =
6062
* ReachabilityServiceSettings.newBuilder();
6163
* reachabilityServiceSettingsBuilder

google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/package-info.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@
3131
* <p>Sample for ReachabilityServiceClient:
3232
*
3333
* <pre>{@code
34+
* // This snippet has been automatically generated for illustrative purposes only.
35+
* // It may require modifications to work in your environment.
3436
* try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
3537
* String name = "name3373707";
3638
* ConnectivityTest response = reachabilityServiceClient.getConnectivityTest(name);

google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/GrpcReachabilityServiceCallableFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/GrpcReachabilityServiceStub.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/ReachabilityServiceStub.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/ReachabilityServiceStubSettings.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -83,6 +83,8 @@
8383
* <p>For example, to set the total timeout of getConnectivityTest to 30 seconds:
8484
*
8585
* <pre>{@code
86+
* // This snippet has been automatically generated for illustrative purposes only.
87+
* // It may require modifications to work in your environment.
8688
* ReachabilityServiceStubSettings.Builder reachabilityServiceSettingsBuilder =
8789
* ReachabilityServiceStubSettings.newBuilder();
8890
* reachabilityServiceSettingsBuilder

0 commit comments

Comments
 (0)