Skip to content

Commit aa82919

Browse files
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#257)
- [ ] 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 81abd77 commit aa82919

File tree

74 files changed

+710
-284
lines changed

Some content is hidden

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

74 files changed

+710
-284
lines changed

java-dms/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/DataMigrationServiceClient.java

Lines changed: 345 additions & 138 deletions
Large diffs are not rendered by default.

java-dms/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/DataMigrationServiceSettings.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,11 @@
5656
* <p>For example, to set the total timeout of getMigrationJob 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.
59+
* // This snippet has been automatically generated and should be regarded as a code template only.
60+
* // It will require modifications to work:
61+
* // - It may require correct/in-range values for request initialization.
62+
* // - It may require specifying regional endpoints when creating the service client as shown in
63+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
6164
* DataMigrationServiceSettings.Builder dataMigrationServiceSettingsBuilder =
6265
* DataMigrationServiceSettings.newBuilder();
6366
* dataMigrationServiceSettingsBuilder

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@
2424
* <p>Sample for DataMigrationServiceClient:
2525
*
2626
* <pre>{@code
27-
* // This snippet has been automatically generated for illustrative purposes only.
28-
* // It may require modifications to work in your environment.
27+
* // This snippet has been automatically generated and should be regarded as a code template only.
28+
* // It will require modifications to work:
29+
* // - It may require correct/in-range values for request initialization.
30+
* // - It may require specifying regional endpoints when creating the service client as shown in
31+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
2932
* try (DataMigrationServiceClient dataMigrationServiceClient =
3033
* DataMigrationServiceClient.create()) {
3134
* MigrationJobName name = MigrationJobName.of("[PROJECT]", "[LOCATION]", "[MIGRATION_JOB]");

java-dms/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/stub/DataMigrationServiceStubSettings.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,11 @@
9797
* <p>For example, to set the total timeout of getMigrationJob to 30 seconds:
9898
*
9999
* <pre>{@code
100-
* // This snippet has been automatically generated for illustrative purposes only.
101-
* // It may require modifications to work in your environment.
100+
* // This snippet has been automatically generated and should be regarded as a code template only.
101+
* // It will require modifications to work:
102+
* // - It may require correct/in-range values for request initialization.
103+
* // - It may require specifying regional endpoints when creating the service client as shown in
104+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
102105
* DataMigrationServiceStubSettings.Builder dataMigrationServiceSettingsBuilder =
103106
* DataMigrationServiceStubSettings.newBuilder();
104107
* dataMigrationServiceSettingsBuilder

java-dms/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/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
DataMigrationServiceSettings dataMigrationServiceSettings =
3538
DataMigrationServiceSettings.newBuilder()
3639
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))

java-dms/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/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
DataMigrationServiceSettings dataMigrationServiceSettings =
3437
DataMigrationServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
3538
DataMigrationServiceClient dataMigrationServiceClient =

java-dms/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/AsyncCreateConnectionProfile.java

Lines changed: 5 additions & 2 deletions
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 asyncCreateConnectionProfile() 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 (DataMigrationServiceClient dataMigrationServiceClient =
3740
DataMigrationServiceClient.create()) {
3841
CreateConnectionProfileRequest request =

java-dms/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java

Lines changed: 5 additions & 2 deletions
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 asyncCreateConnectionProfileLRO() 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 (DataMigrationServiceClient dataMigrationServiceClient =
3740
DataMigrationServiceClient.create()) {
3841
CreateConnectionProfileRequest request =

java-dms/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/SyncCreateConnectionProfile.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 syncCreateConnectionProfile() 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
try (DataMigrationServiceClient dataMigrationServiceClient =
3538
DataMigrationServiceClient.create()) {
3639
CreateConnectionProfileRequest request =

java-dms/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/SyncCreateConnectionProfileConnectionprofilenameConnectionprofileString.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
public static void syncCreateConnectionProfileConnectionprofilenameConnectionprofileString()
3131
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
try (DataMigrationServiceClient dataMigrationServiceClient =
3538
DataMigrationServiceClient.create()) {
3639
ConnectionProfileName parent =

java-dms/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.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 syncCreateConnectionProfileStringConnectionprofileString() 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
try (DataMigrationServiceClient dataMigrationServiceClient =
3437
DataMigrationServiceClient.create()) {
3538
String parent =

java-dms/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/AsyncCreateMigrationJob.java

Lines changed: 5 additions & 2 deletions
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 asyncCreateMigrationJob() 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 (DataMigrationServiceClient dataMigrationServiceClient =
3740
DataMigrationServiceClient.create()) {
3841
CreateMigrationJobRequest request =

java-dms/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/AsyncCreateMigrationJobLRO.java

Lines changed: 5 additions & 2 deletions
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 asyncCreateMigrationJobLRO() 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 (DataMigrationServiceClient dataMigrationServiceClient =
3740
DataMigrationServiceClient.create()) {
3841
CreateMigrationJobRequest request =

java-dms/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/SyncCreateMigrationJob.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 syncCreateMigrationJob() 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
try (DataMigrationServiceClient dataMigrationServiceClient =
3538
DataMigrationServiceClient.create()) {
3639
CreateMigrationJobRequest request =

java-dms/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/SyncCreateMigrationJobLocationnameMigrationjobString.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 syncCreateMigrationJobLocationnameMigrationjobString() 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
try (DataMigrationServiceClient dataMigrationServiceClient =
3437
DataMigrationServiceClient.create()) {
3538
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");

java-dms/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/SyncCreateMigrationJobStringMigrationjobString.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 syncCreateMigrationJobStringMigrationjobString() 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
try (DataMigrationServiceClient dataMigrationServiceClient =
3437
DataMigrationServiceClient.create()) {
3538
String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();

java-dms/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java

Lines changed: 5 additions & 2 deletions
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 asyncDeleteConnectionProfile() 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 (DataMigrationServiceClient dataMigrationServiceClient =
3639
DataMigrationServiceClient.create()) {
3740
DeleteConnectionProfileRequest request =

java-dms/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java

Lines changed: 5 additions & 2 deletions
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 asyncDeleteConnectionProfileLRO() 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 (DataMigrationServiceClient dataMigrationServiceClient =
3740
DataMigrationServiceClient.create()) {
3841
DeleteConnectionProfileRequest request =

java-dms/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/SyncDeleteConnectionProfile.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 syncDeleteConnectionProfile() 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
try (DataMigrationServiceClient dataMigrationServiceClient =
3538
DataMigrationServiceClient.create()) {
3639
DeleteConnectionProfileRequest request =

java-dms/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.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 syncDeleteConnectionProfileConnectionprofilename() 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
try (DataMigrationServiceClient dataMigrationServiceClient =
3437
DataMigrationServiceClient.create()) {
3538
ConnectionProfileName name =

java-dms/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.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 syncDeleteConnectionProfileString() 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
try (DataMigrationServiceClient dataMigrationServiceClient =
3437
DataMigrationServiceClient.create()) {
3538
String name =

java-dms/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/AsyncDeleteMigrationJob.java

Lines changed: 5 additions & 2 deletions
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 asyncDeleteMigrationJob() 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 (DataMigrationServiceClient dataMigrationServiceClient =
3639
DataMigrationServiceClient.create()) {
3740
DeleteMigrationJobRequest request =

java-dms/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/AsyncDeleteMigrationJobLRO.java

Lines changed: 5 additions & 2 deletions
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 asyncDeleteMigrationJobLRO() 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 (DataMigrationServiceClient dataMigrationServiceClient =
3740
DataMigrationServiceClient.create()) {
3841
DeleteMigrationJobRequest request =

java-dms/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/SyncDeleteMigrationJob.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 syncDeleteMigrationJob() 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
try (DataMigrationServiceClient dataMigrationServiceClient =
3538
DataMigrationServiceClient.create()) {
3639
DeleteMigrationJobRequest request =

0 commit comments

Comments
 (0)