diff --git a/java-bigquerydatatransfer/README.md b/java-bigquerydatatransfer/README.md index 57c83dc4bc92..e460081cc0c4 100644 --- a/java-bigquerydatatransfer/README.md +++ b/java-bigquerydatatransfer/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquerydatatransfer.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatatransfer/2.34.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatatransfer/2.35.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java index 8063edf4ff87..bc96a3bb2072 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java +++ b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -353,6 +353,20 @@ * * *
UnenrollDataSources
Unenroll data sources in a user project. This allows users to remove transfer configurations for these data sources. They will no longer appear in the ListDataSources RPC and will also no longer appear in the [BigQuery UI](https://console.cloud.google.com/bigquery).
Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *unenrollDataSources(UnenrollDataSourcesRequest request) + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *unenrollDataSourcesCallable() + *
ListLocations
Lists information about the supported locations for this service.
Sample code: + * + *
{@code + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * try (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + * UnenrollDataSourcesRequest request = + * UnenrollDataSourcesRequest.newBuilder() + * .setName("name3373707") + * .addAllDataSourceIds(new ArrayList+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void unenrollDataSources(UnenrollDataSourcesRequest request) { + unenrollDataSourcesCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Unenroll data sources in a user project. This allows users to remove transfer configurations + * for these data sources. They will no longer appear in the ListDataSources RPC and will also no + * longer appear in the [BigQuery UI](https://console.cloud.google.com/bigquery). + * + *()) + * .build(); + * dataTransferServiceClient.unenrollDataSources(request); + * } + * }
Sample code: + * + *
{@code + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * try (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + * UnenrollDataSourcesRequest request = + * UnenrollDataSourcesRequest.newBuilder() + * .setName("name3373707") + * .addAllDataSourceIds(new ArrayList+ */ + public final UnaryCallable()) + * .build(); + * ApiFuture future = + * dataTransferServiceClient.unenrollDataSourcesCallable().futureCall(request); + * // Do something. + * future.get(); + * } + * }
+ * Unenroll data sources in a user project. This allows users to remove + * transfer configurations for these data sources. They will no longer appear + * in the ListDataSources RPC and will also no longer appear in the [BigQuery + * UI](https://console.cloud.google.com/bigquery). + *+ */ + default void unenrollDataSources( + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest request, + io.grpc.stub.StreamObserver
+ * Unenroll data sources in a user project. This allows users to remove + * transfer configurations for these data sources. They will no longer appear + * in the ListDataSources RPC and will also no longer appear in the [BigQuery + * UI](https://console.cloud.google.com/bigquery). + *+ */ + public void unenrollDataSources( + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest request, + io.grpc.stub.StreamObserver
+ * Unenroll data sources in a user project. This allows users to remove + * transfer configurations for these data sources. They will no longer appear + * in the ListDataSources RPC and will also no longer appear in the [BigQuery + * UI](https://console.cloud.google.com/bigquery). + *+ */ + public com.google.protobuf.Empty unenrollDataSources( + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUnenrollDataSourcesMethod(), getCallOptions(), request); + } } /** @@ -1872,6 +1973,23 @@ protected DataTransferServiceFutureStub build( return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getEnrollDataSourcesMethod(), getCallOptions()), request); } + + /** + * + * + *
+ * Unenroll data sources in a user project. This allows users to remove + * transfer configurations for these data sources. They will no longer appear + * in the ListDataSources RPC and will also no longer appear in the [BigQuery + * UI](https://console.cloud.google.com/bigquery). + *+ */ + public com.google.common.util.concurrent.ListenableFuture
bool supports_multiple_transfers = 8 [deprecated = true];
*
* @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is
- * deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=386
+ * deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398
* @return The supportsMultipleTransfers.
*/
@java.lang.Override
@@ -2807,7 +2807,7 @@ public Builder addScopesBytes(com.google.protobuf.ByteString value) {
*
*
* @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See
- * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=383
+ * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395
* @return The enum numeric value on the wire for transferType.
*/
@java.lang.Override
@@ -2827,7 +2827,7 @@ public int getTransferTypeValue() {
*
*
* @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See
- * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=383
+ * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395
* @param value The enum numeric value on the wire for transferType to set.
* @return This builder for chaining.
*/
@@ -2850,7 +2850,7 @@ public Builder setTransferTypeValue(int value) {
*
*
* @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See
- * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=383
+ * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395
* @return The transferType.
*/
@java.lang.Override
@@ -2874,7 +2874,7 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType()
*
*
* @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See
- * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=383
+ * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395
* @param value The transferType to set.
* @return This builder for chaining.
*/
@@ -2900,7 +2900,7 @@ public Builder setTransferType(com.google.cloud.bigquery.datatransfer.v1.Transfe
*
*
* @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See
- * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=383
+ * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -2922,7 +2922,7 @@ public Builder clearTransferType() {
* bool supports_multiple_transfers = 8 [deprecated = true];
*
* @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is
- * deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=386
+ * deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398
* @return The supportsMultipleTransfers.
*/
@java.lang.Override
@@ -2940,7 +2940,7 @@ public boolean getSupportsMultipleTransfers() {
* bool supports_multiple_transfers = 8 [deprecated = true];
*
* @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is
- * deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=386
+ * deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398
* @param value The supportsMultipleTransfers to set.
* @return This builder for chaining.
*/
@@ -2962,7 +2962,7 @@ public Builder setSupportsMultipleTransfers(boolean value) {
* bool supports_multiple_transfers = 8 [deprecated = true];
*
* @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is
- * deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=386
+ * deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398
* @return This builder for chaining.
*/
@java.lang.Deprecated
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java
index 1efd363511d0..e09fe9a6b87a 100644
--- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java
+++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java
index 55f2bc62c597..88a54468e75e 100644
--- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java
+++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java
@@ -220,7 +220,7 @@ public interface DataSourceOrBuilder
*
*
* @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See
- * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=383
+ * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395
* @return The enum numeric value on the wire for transferType.
*/
@java.lang.Deprecated
@@ -237,7 +237,7 @@ public interface DataSourceOrBuilder
*
*
* @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See
- * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=383
+ * google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=395
* @return The transferType.
*/
@java.lang.Deprecated
@@ -253,7 +253,7 @@ public interface DataSourceOrBuilder
* bool supports_multiple_transfers = 8 [deprecated = true];
*
* @deprecated google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is
- * deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=386
+ * deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=398
* @return The supportsMultipleTransfers.
*/
@java.lang.Deprecated
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java
index f8b3e18ff608..9d7e1008d342 100644
--- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java
+++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java
@@ -128,6 +128,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_bigquery_datatransfer_v1_EnrollDataSourcesRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_bigquery_datatransfer_v1_UnenrollDataSourcesRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_bigquery_datatransfer_v1_UnenrollDataSourcesRequest_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -280,121 +284,127 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "RunsResponse\022@\n\004runs\030\001 \003(\01322.google.clou"
+ "d.bigquery.datatransfer.v1.TransferRun\"A"
+ "\n\030EnrollDataSourcesRequest\022\014\n\004name\030\001 \001(\t"
- + "\022\027\n\017data_source_ids\030\002 \003(\t2\240!\n\023DataTransf"
- + "erService\022\346\001\n\rGetDataSource\022;.google.clo"
- + "ud.bigquery.datatransfer.v1.GetDataSourc"
- + "eRequest\0321.google.cloud.bigquery.datatra"
- + "nsfer.v1.DataSource\"e\332A\004name\202\323\344\223\002X\022//v1/"
- + "{name=projects/*/locations/*/dataSources"
- + "/*}Z%\022#/v1/{name=projects/*/dataSources/"
- + "*}\022\371\001\n\017ListDataSources\022=.google.cloud.bi"
- + "gquery.datatransfer.v1.ListDataSourcesRe"
- + "quest\032>.google.cloud.bigquery.datatransf"
- + "er.v1.ListDataSourcesResponse\"g\332A\006parent"
- + "\202\323\344\223\002X\022//v1/{parent=projects/*/locations"
- + "/*}/dataSourcesZ%\022#/v1/{parent=projects/"
- + "*}/dataSources\022\266\002\n\024CreateTransferConfig\022"
- + "B.google.cloud.bigquery.datatransfer.v1."
- + "CreateTransferConfigRequest\0325.google.clo"
- + "ud.bigquery.datatransfer.v1.TransferConf"
- + "ig\"\242\001\332A\026parent,transfer_config\202\323\344\223\002\202\001\"3/"
- + "v1/{parent=projects/*/locations/*}/trans"
- + "ferConfigs:\017transfer_configZ:\"\'/v1/{pare"
- + "nt=projects/*}/transferConfigs:\017transfer"
- + "_config\022\333\002\n\024UpdateTransferConfig\022B.googl"
- + "e.cloud.bigquery.datatransfer.v1.UpdateT"
- + "ransferConfigRequest\0325.google.cloud.bigq"
- + "uery.datatransfer.v1.TransferConfig\"\307\001\332A"
- + "\033transfer_config,update_mask\202\323\344\223\002\242\0012C/v1"
- + "/{transfer_config.name=projects/*/locati"
- + "ons/*/transferConfigs/*}:\017transfer_confi"
- + "gZJ27/v1/{transfer_config.name=projects/"
- + "*/transferConfigs/*}:\017transfer_config\022\341\001"
- + "\n\024DeleteTransferConfig\022B.google.cloud.bi"
- + "gquery.datatransfer.v1.DeleteTransferCon"
- + "figRequest\032\026.google.protobuf.Empty\"m\332A\004n"
- + "ame\202\323\344\223\002`*3/v1/{name=projects/*/location"
- + "s/*/transferConfigs/*}Z)*\'/v1/{name=proj"
- + "ects/*/transferConfigs/*}\022\372\001\n\021GetTransfe"
- + "rConfig\022?.google.cloud.bigquery.datatran"
- + "sfer.v1.GetTransferConfigRequest\0325.googl"
- + "e.cloud.bigquery.datatransfer.v1.Transfe"
- + "rConfig\"m\332A\004name\202\323\344\223\002`\0223/v1/{name=projec"
- + "ts/*/locations/*/transferConfigs/*}Z)\022\'/"
- + "v1/{name=projects/*/transferConfigs/*}\022\215"
- + "\002\n\023ListTransferConfigs\022A.google.cloud.bi"
- + "gquery.datatransfer.v1.ListTransferConfi"
- + "gsRequest\032B.google.cloud.bigquery.datatr"
- + "ansfer.v1.ListTransferConfigsResponse\"o\332"
- + "A\006parent\202\323\344\223\002`\0223/v1/{parent=projects/*/l"
- + "ocations/*}/transferConfigsZ)\022\'/v1/{pare"
- + "nt=projects/*}/transferConfigs\022\315\002\n\024Sched"
- + "uleTransferRuns\022B.google.cloud.bigquery."
- + "datatransfer.v1.ScheduleTransferRunsRequ"
- + "est\032C.google.cloud.bigquery.datatransfer"
- + ".v1.ScheduleTransferRunsResponse\"\253\001\210\002\001\332A"
- + "\032parent,start_time,end_time\202\323\344\223\002\204\001\"B/v1/"
- + "{parent=projects/*/locations/*/transferC"
- + "onfigs/*}:scheduleRuns:\001*Z;\"6/v1/{parent"
- + "=projects/*/transferConfigs/*}:scheduleR"
- + "uns:\001*\022\274\002\n\027StartManualTransferRuns\022E.goo"
- + "gle.cloud.bigquery.datatransfer.v1.Start"
- + "ManualTransferRunsRequest\032F.google.cloud"
- + ".bigquery.datatransfer.v1.StartManualTra"
- + "nsferRunsResponse\"\221\001\202\323\344\223\002\212\001\"E/v1/{parent"
- + "=projects/*/locations/*/transferConfigs/"
- + "*}:startManualRuns:\001*Z>\"9/v1/{parent=pro"
- + "jects/*/transferConfigs/*}:startManualRu"
- + "ns:\001*\022\377\001\n\016GetTransferRun\022<.google.cloud."
- + "bigquery.datatransfer.v1.GetTransferRunR"
- + "equest\0322.google.cloud.bigquery.datatrans"
- + "fer.v1.TransferRun\"{\332A\004name\202\323\344\223\002n\022:/v1/{"
- + "name=projects/*/locations/*/transferConf"
- + "igs/*/runs/*}Z0\022./v1/{name=projects/*/tr"
- + "ansferConfigs/*/runs/*}\022\351\001\n\021DeleteTransf"
- + "erRun\022?.google.cloud.bigquery.datatransf"
- + "er.v1.DeleteTransferRunRequest\032\026.google."
- + "protobuf.Empty\"{\332A\004name\202\323\344\223\002n*:/v1/{name"
- + "=projects/*/locations/*/transferConfigs/"
- + "*/runs/*}Z0*./v1/{name=projects/*/transf"
- + "erConfigs/*/runs/*}\022\222\002\n\020ListTransferRuns"
- + "\022>.google.cloud.bigquery.datatransfer.v1"
- + ".ListTransferRunsRequest\032?.google.cloud."
- + "bigquery.datatransfer.v1.ListTransferRun"
- + "sResponse\"}\332A\006parent\202\323\344\223\002n\022:/v1/{parent="
- + "projects/*/locations/*/transferConfigs/*"
- + "}/runsZ0\022./v1/{parent=projects/*/transfe"
- + "rConfigs/*}/runs\022\262\002\n\020ListTransferLogs\022>."
- + "google.cloud.bigquery.datatransfer.v1.Li"
- + "stTransferLogsRequest\032?.google.cloud.big"
- + "query.datatransfer.v1.ListTransferLogsRe"
- + "sponse\"\234\001\332A\006parent\202\323\344\223\002\214\001\022I/v1/{parent=p"
- + "rojects/*/locations/*/transferConfigs/*/"
- + "runs/*}/transferLogsZ?\022=/v1/{parent=proj"
- + "ects/*/transferConfigs/*/runs/*}/transfe"
- + "rLogs\022\236\002\n\017CheckValidCreds\022=.google.cloud"
- + ".bigquery.datatransfer.v1.CheckValidCred"
- + "sRequest\032>.google.cloud.bigquery.datatra"
- + "nsfer.v1.CheckValidCredsResponse\"\213\001\332A\004na"
- + "me\202\323\344\223\002~\"?/v1/{name=projects/*/locations"
- + "/*/dataSources/*}:checkValidCreds:\001*Z8\"3"
- + "/v1/{name=projects/*/dataSources/*}:chec"
- + "kValidCreds:\001*\022\332\001\n\021EnrollDataSources\022?.g"
- + "oogle.cloud.bigquery.datatransfer.v1.Enr"
- + "ollDataSourcesRequest\032\026.google.protobuf."
- + "Empty\"l\202\323\344\223\002f\"3/v1/{name=projects/*/loca"
- + "tions/*}:enrollDataSources:\001*Z,\"\'/v1/{na"
- + "me=projects/*}:enrollDataSources:\001*\032W\312A#"
- + "bigquerydatatransfer.googleapis.com\322A.ht"
- + "tps://www.googleapis.com/auth/cloud-plat"
- + "formB\213\002\n)com.google.cloud.bigquery.datat"
- + "ransfer.v1B\021DataTransferProtoP\001ZMcloud.g"
- + "oogle.com/go/bigquery/datatransfer/apiv1"
- + "/datatransferpb;datatransferpb\252\002%Google."
- + "Cloud.BigQuery.DataTransfer.V1\312\002%Google\\"
- + "Cloud\\BigQuery\\DataTransfer\\V1\352\002)Google:"
- + ":Cloud::Bigquery::DataTransfer::V1b\006prot"
- + "o3"
+ + "\022\027\n\017data_source_ids\030\002 \003(\t\"C\n\032UnenrollDat"
+ + "aSourcesRequest\022\014\n\004name\030\001 \001(\t\022\027\n\017data_so"
+ + "urce_ids\030\002 \003(\t2\325\"\n\023DataTransferService\022\346"
+ + "\001\n\rGetDataSource\022;.google.cloud.bigquery"
+ + ".datatransfer.v1.GetDataSourceRequest\0321."
+ + "google.cloud.bigquery.datatransfer.v1.Da"
+ + "taSource\"e\332A\004name\202\323\344\223\002X\022//v1/{name=proje"
+ + "cts/*/locations/*/dataSources/*}Z%\022#/v1/"
+ + "{name=projects/*/dataSources/*}\022\371\001\n\017List"
+ + "DataSources\022=.google.cloud.bigquery.data"
+ + "transfer.v1.ListDataSourcesRequest\032>.goo"
+ + "gle.cloud.bigquery.datatransfer.v1.ListD"
+ + "ataSourcesResponse\"g\332A\006parent\202\323\344\223\002X\022//v1"
+ + "/{parent=projects/*/locations/*}/dataSou"
+ + "rcesZ%\022#/v1/{parent=projects/*}/dataSour"
+ + "ces\022\266\002\n\024CreateTransferConfig\022B.google.cl"
+ + "oud.bigquery.datatransfer.v1.CreateTrans"
+ + "ferConfigRequest\0325.google.cloud.bigquery"
+ + ".datatransfer.v1.TransferConfig\"\242\001\332A\026par"
+ + "ent,transfer_config\202\323\344\223\002\202\001\"3/v1/{parent="
+ + "projects/*/locations/*}/transferConfigs:"
+ + "\017transfer_configZ:\"\'/v1/{parent=projects"
+ + "/*}/transferConfigs:\017transfer_config\022\333\002\n"
+ + "\024UpdateTransferConfig\022B.google.cloud.big"
+ + "query.datatransfer.v1.UpdateTransferConf"
+ + "igRequest\0325.google.cloud.bigquery.datatr"
+ + "ansfer.v1.TransferConfig\"\307\001\332A\033transfer_c"
+ + "onfig,update_mask\202\323\344\223\002\242\0012C/v1/{transfer_"
+ + "config.name=projects/*/locations/*/trans"
+ + "ferConfigs/*}:\017transfer_configZJ27/v1/{t"
+ + "ransfer_config.name=projects/*/transferC"
+ + "onfigs/*}:\017transfer_config\022\341\001\n\024DeleteTra"
+ + "nsferConfig\022B.google.cloud.bigquery.data"
+ + "transfer.v1.DeleteTransferConfigRequest\032"
+ + "\026.google.protobuf.Empty\"m\332A\004name\202\323\344\223\002`*3"
+ + "/v1/{name=projects/*/locations/*/transfe"
+ + "rConfigs/*}Z)*\'/v1/{name=projects/*/tran"
+ + "sferConfigs/*}\022\372\001\n\021GetTransferConfig\022?.g"
+ + "oogle.cloud.bigquery.datatransfer.v1.Get"
+ + "TransferConfigRequest\0325.google.cloud.big"
+ + "query.datatransfer.v1.TransferConfig\"m\332A"
+ + "\004name\202\323\344\223\002`\0223/v1/{name=projects/*/locati"
+ + "ons/*/transferConfigs/*}Z)\022\'/v1/{name=pr"
+ + "ojects/*/transferConfigs/*}\022\215\002\n\023ListTran"
+ + "sferConfigs\022A.google.cloud.bigquery.data"
+ + "transfer.v1.ListTransferConfigsRequest\032B"
+ + ".google.cloud.bigquery.datatransfer.v1.L"
+ + "istTransferConfigsResponse\"o\332A\006parent\202\323\344"
+ + "\223\002`\0223/v1/{parent=projects/*/locations/*}"
+ + "/transferConfigsZ)\022\'/v1/{parent=projects"
+ + "/*}/transferConfigs\022\315\002\n\024ScheduleTransfer"
+ + "Runs\022B.google.cloud.bigquery.datatransfe"
+ + "r.v1.ScheduleTransferRunsRequest\032C.googl"
+ + "e.cloud.bigquery.datatransfer.v1.Schedul"
+ + "eTransferRunsResponse\"\253\001\210\002\001\332A\032parent,sta"
+ + "rt_time,end_time\202\323\344\223\002\204\001\"B/v1/{parent=pro"
+ + "jects/*/locations/*/transferConfigs/*}:s"
+ + "cheduleRuns:\001*Z;\"6/v1/{parent=projects/*"
+ + "/transferConfigs/*}:scheduleRuns:\001*\022\274\002\n\027"
+ + "StartManualTransferRuns\022E.google.cloud.b"
+ + "igquery.datatransfer.v1.StartManualTrans"
+ + "ferRunsRequest\032F.google.cloud.bigquery.d"
+ + "atatransfer.v1.StartManualTransferRunsRe"
+ + "sponse\"\221\001\202\323\344\223\002\212\001\"E/v1/{parent=projects/*"
+ + "/locations/*/transferConfigs/*}:startMan"
+ + "ualRuns:\001*Z>\"9/v1/{parent=projects/*/tra"
+ + "nsferConfigs/*}:startManualRuns:\001*\022\377\001\n\016G"
+ + "etTransferRun\022<.google.cloud.bigquery.da"
+ + "tatransfer.v1.GetTransferRunRequest\0322.go"
+ + "ogle.cloud.bigquery.datatransfer.v1.Tran"
+ + "sferRun\"{\332A\004name\202\323\344\223\002n\022:/v1/{name=projec"
+ + "ts/*/locations/*/transferConfigs/*/runs/"
+ + "*}Z0\022./v1/{name=projects/*/transferConfi"
+ + "gs/*/runs/*}\022\351\001\n\021DeleteTransferRun\022?.goo"
+ + "gle.cloud.bigquery.datatransfer.v1.Delet"
+ + "eTransferRunRequest\032\026.google.protobuf.Em"
+ + "pty\"{\332A\004name\202\323\344\223\002n*:/v1/{name=projects/*"
+ + "/locations/*/transferConfigs/*/runs/*}Z0"
+ + "*./v1/{name=projects/*/transferConfigs/*"
+ + "/runs/*}\022\222\002\n\020ListTransferRuns\022>.google.c"
+ + "loud.bigquery.datatransfer.v1.ListTransf"
+ + "erRunsRequest\032?.google.cloud.bigquery.da"
+ + "tatransfer.v1.ListTransferRunsResponse\"}"
+ + "\332A\006parent\202\323\344\223\002n\022:/v1/{parent=projects/*/"
+ + "locations/*/transferConfigs/*}/runsZ0\022./"
+ + "v1/{parent=projects/*/transferConfigs/*}"
+ + "/runs\022\262\002\n\020ListTransferLogs\022>.google.clou"
+ + "d.bigquery.datatransfer.v1.ListTransferL"
+ + "ogsRequest\032?.google.cloud.bigquery.datat"
+ + "ransfer.v1.ListTransferLogsResponse\"\234\001\332A"
+ + "\006parent\202\323\344\223\002\214\001\022I/v1/{parent=projects/*/l"
+ + "ocations/*/transferConfigs/*/runs/*}/tra"
+ + "nsferLogsZ?\022=/v1/{parent=projects/*/tran"
+ + "sferConfigs/*/runs/*}/transferLogs\022\236\002\n\017C"
+ + "heckValidCreds\022=.google.cloud.bigquery.d"
+ + "atatransfer.v1.CheckValidCredsRequest\032>."
+ + "google.cloud.bigquery.datatransfer.v1.Ch"
+ + "eckValidCredsResponse\"\213\001\332A\004name\202\323\344\223\002~\"?/"
+ + "v1/{name=projects/*/locations/*/dataSour"
+ + "ces/*}:checkValidCreds:\001*Z8\"3/v1/{name=p"
+ + "rojects/*/dataSources/*}:checkValidCreds"
+ + ":\001*\022\332\001\n\021EnrollDataSources\022?.google.cloud"
+ + ".bigquery.datatransfer.v1.EnrollDataSour"
+ + "cesRequest\032\026.google.protobuf.Empty\"l\202\323\344\223"
+ + "\002f\"3/v1/{name=projects/*/locations/*}:en"
+ + "rollDataSources:\001*Z,\"\'/v1/{name=projects"
+ + "/*}:enrollDataSources:\001*\022\262\001\n\023UnenrollDat"
+ + "aSources\022A.google.cloud.bigquery.datatra"
+ + "nsfer.v1.UnenrollDataSourcesRequest\032\026.go"
+ + "ogle.protobuf.Empty\"@\202\323\344\223\002:\"5/v1/{name=p"
+ + "rojects/*/locations/*}:unenrollDataSourc"
+ + "es:\001*\032W\312A#bigquerydatatransfer.googleapi"
+ + "s.com\322A.https://www.googleapis.com/auth/"
+ + "cloud-platformB\213\002\n)com.google.cloud.bigq"
+ + "uery.datatransfer.v1B\021DataTransferProtoP"
+ + "\001ZMcloud.google.com/go/bigquery/datatran"
+ + "sfer/apiv1/datatransferpb;datatransferpb"
+ + "\252\002%Google.Cloud.BigQuery.DataTransfer.V1"
+ + "\312\002%Google\\Cloud\\BigQuery\\DataTransfer\\V1"
+ + "\352\002)Google::Cloud::Bigquery::DataTransfer"
+ + "::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -649,6 +659,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Name", "DataSourceIds",
});
+ internal_static_google_cloud_bigquery_datatransfer_v1_UnenrollDataSourcesRequest_descriptor =
+ getDescriptor().getMessageTypes().get(24);
+ internal_static_google_cloud_bigquery_datatransfer_v1_UnenrollDataSourcesRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_bigquery_datatransfer_v1_UnenrollDataSourcesRequest_descriptor,
+ new java.lang.String[] {
+ "Name", "DataSourceIds",
+ });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.ClientProto.defaultHost);
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java
index 05d2ad06b8bb..d70408ee7f94 100644
--- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java
+++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java
index 56b927a0eee3..d345598b618d 100644
--- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java
+++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java
index 4f24dbba3c72..1f85997e5a5c 100644
--- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java
+++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java
index b1ec562c0dde..554556d867c4 100644
--- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java
+++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequest.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequest.java
new file mode 100644
index 000000000000..42a9e867eb7c
--- /dev/null
+++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UnenrollDataSourcesRequest.java
@@ -0,0 +1,929 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto
+
+// Protobuf Java Version: 3.25.2
+package com.google.cloud.bigquery.datatransfer.v1;
+
+/**
+ *
+ *
+ * + * A request to unenroll a set of data sources so they are no longer visible in + * the BigQuery UI's `Transfer` tab. + *+ * + * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest} + */ +public final class UnenrollDataSourcesRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) + UnenrollDataSourcesRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use UnenrollDataSourcesRequest.newBuilder() to construct. + private UnenrollDataSourcesRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private UnenrollDataSourcesRequest() { + name_ = ""; + dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UnenrollDataSourcesRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_UnenrollDataSourcesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.datatransfer.v1.DataTransferProto + .internal_static_google_cloud_bigquery_datatransfer_v1_UnenrollDataSourcesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.class, + com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+ * The name of the project resource in the form: `projects/{project_id}` + *+ * + *
string name = 1;
+ *
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * The name of the project resource in the form: `projects/{project_id}` + *+ * + *
string name = 1;
+ *
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DATA_SOURCE_IDS_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private com.google.protobuf.LazyStringArrayList dataSourceIds_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
+ /**
+ *
+ *
+ * + * Data sources that are unenrolled. It is required to provide at least one + * data source id. + *+ * + *
repeated string data_source_ids = 2;
+ *
+ * @return A list containing the dataSourceIds.
+ */
+ public com.google.protobuf.ProtocolStringList getDataSourceIdsList() {
+ return dataSourceIds_;
+ }
+ /**
+ *
+ *
+ * + * Data sources that are unenrolled. It is required to provide at least one + * data source id. + *+ * + *
repeated string data_source_ids = 2;
+ *
+ * @return The count of dataSourceIds.
+ */
+ public int getDataSourceIdsCount() {
+ return dataSourceIds_.size();
+ }
+ /**
+ *
+ *
+ * + * Data sources that are unenrolled. It is required to provide at least one + * data source id. + *+ * + *
repeated string data_source_ids = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The dataSourceIds at the given index.
+ */
+ public java.lang.String getDataSourceIds(int index) {
+ return dataSourceIds_.get(index);
+ }
+ /**
+ *
+ *
+ * + * Data sources that are unenrolled. It is required to provide at least one + * data source id. + *+ * + *
repeated string data_source_ids = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the dataSourceIds at the given index.
+ */
+ public com.google.protobuf.ByteString getDataSourceIdsBytes(int index) {
+ return dataSourceIds_.getByteString(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+ }
+ for (int i = 0; i < dataSourceIds_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, dataSourceIds_.getRaw(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < dataSourceIds_.size(); i++) {
+ dataSize += computeStringSizeNoTag(dataSourceIds_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getDataSourceIdsList().size();
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest other =
+ (com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest) obj;
+
+ if (!getName().equals(other.getName())) return false;
+ if (!getDataSourceIdsList().equals(other.getDataSourceIdsList())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ if (getDataSourceIdsCount() > 0) {
+ hash = (37 * hash) + DATA_SOURCE_IDS_FIELD_NUMBER;
+ hash = (53 * hash) + getDataSourceIdsList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * A request to unenroll a set of data sources so they are no longer visible in + * the BigQuery UI's `Transfer` tab. + *+ * + * Protobuf type {@code google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The name of the project resource in the form: `projects/{project_id}` + *+ * + *
string name = 1;
+ *
+ * @return The name.
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The name of the project resource in the form: `projects/{project_id}` + *+ * + *
string name = 1;
+ *
+ * @return The bytes for name.
+ */
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The name of the project resource in the form: `projects/{project_id}` + *+ * + *
string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ name_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The name of the project resource in the form: `projects/{project_id}` + *+ * + *
string name = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearName() {
+ name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The name of the project resource in the form: `projects/{project_id}` + *+ * + *
string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ name_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.LazyStringArrayList dataSourceIds_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
+
+ private void ensureDataSourceIdsIsMutable() {
+ if (!dataSourceIds_.isModifiable()) {
+ dataSourceIds_ = new com.google.protobuf.LazyStringArrayList(dataSourceIds_);
+ }
+ bitField0_ |= 0x00000002;
+ }
+ /**
+ *
+ *
+ * + * Data sources that are unenrolled. It is required to provide at least one + * data source id. + *+ * + *
repeated string data_source_ids = 2;
+ *
+ * @return A list containing the dataSourceIds.
+ */
+ public com.google.protobuf.ProtocolStringList getDataSourceIdsList() {
+ dataSourceIds_.makeImmutable();
+ return dataSourceIds_;
+ }
+ /**
+ *
+ *
+ * + * Data sources that are unenrolled. It is required to provide at least one + * data source id. + *+ * + *
repeated string data_source_ids = 2;
+ *
+ * @return The count of dataSourceIds.
+ */
+ public int getDataSourceIdsCount() {
+ return dataSourceIds_.size();
+ }
+ /**
+ *
+ *
+ * + * Data sources that are unenrolled. It is required to provide at least one + * data source id. + *+ * + *
repeated string data_source_ids = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The dataSourceIds at the given index.
+ */
+ public java.lang.String getDataSourceIds(int index) {
+ return dataSourceIds_.get(index);
+ }
+ /**
+ *
+ *
+ * + * Data sources that are unenrolled. It is required to provide at least one + * data source id. + *+ * + *
repeated string data_source_ids = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the dataSourceIds at the given index.
+ */
+ public com.google.protobuf.ByteString getDataSourceIdsBytes(int index) {
+ return dataSourceIds_.getByteString(index);
+ }
+ /**
+ *
+ *
+ * + * Data sources that are unenrolled. It is required to provide at least one + * data source id. + *+ * + *
repeated string data_source_ids = 2;
+ *
+ * @param index The index to set the value at.
+ * @param value The dataSourceIds to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDataSourceIds(int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDataSourceIdsIsMutable();
+ dataSourceIds_.set(index, value);
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Data sources that are unenrolled. It is required to provide at least one + * data source id. + *+ * + *
repeated string data_source_ids = 2;
+ *
+ * @param value The dataSourceIds to add.
+ * @return This builder for chaining.
+ */
+ public Builder addDataSourceIds(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDataSourceIdsIsMutable();
+ dataSourceIds_.add(value);
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Data sources that are unenrolled. It is required to provide at least one + * data source id. + *+ * + *
repeated string data_source_ids = 2;
+ *
+ * @param values The dataSourceIds to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllDataSourceIds(java.lang.Iterable+ * Data sources that are unenrolled. It is required to provide at least one + * data source id. + *+ * + *
repeated string data_source_ids = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDataSourceIds() {
+ dataSourceIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ ;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Data sources that are unenrolled. It is required to provide at least one + * data source id. + *+ * + *
repeated string data_source_ids = 2;
+ *
+ * @param value The bytes of the dataSourceIds to add.
+ * @return This builder for chaining.
+ */
+ public Builder addDataSourceIdsBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureDataSourceIdsIsMutable();
+ dataSourceIds_.add(value);
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest)
+ private static final com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest();
+ }
+
+ public static com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * The name of the project resource in the form: `projects/{project_id}` + *+ * + *
string name = 1;
+ *
+ * @return The name.
+ */
+ java.lang.String getName();
+ /**
+ *
+ *
+ * + * The name of the project resource in the form: `projects/{project_id}` + *+ * + *
string name = 1;
+ *
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString getNameBytes();
+
+ /**
+ *
+ *
+ * + * Data sources that are unenrolled. It is required to provide at least one + * data source id. + *+ * + *
repeated string data_source_ids = 2;
+ *
+ * @return A list containing the dataSourceIds.
+ */
+ java.util.List+ * Data sources that are unenrolled. It is required to provide at least one + * data source id. + *+ * + *
repeated string data_source_ids = 2;
+ *
+ * @return The count of dataSourceIds.
+ */
+ int getDataSourceIdsCount();
+ /**
+ *
+ *
+ * + * Data sources that are unenrolled. It is required to provide at least one + * data source id. + *+ * + *
repeated string data_source_ids = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The dataSourceIds at the given index.
+ */
+ java.lang.String getDataSourceIds(int index);
+ /**
+ *
+ *
+ * + * Data sources that are unenrolled. It is required to provide at least one + * data source id. + *+ * + *
repeated string data_source_ids = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the dataSourceIds at the given index.
+ */
+ com.google.protobuf.ByteString getDataSourceIdsBytes(int index);
+}
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto
index 9a61126b6af7..67f7e42261c3 100644
--- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto
+++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto
@@ -236,6 +236,18 @@ service DataTransferService {
}
};
}
+
+ // Unenroll data sources in a user project. This allows users to remove
+ // transfer configurations for these data sources. They will no longer appear
+ // in the ListDataSources RPC and will also no longer appear in the [BigQuery
+ // UI](https://console.cloud.google.com/bigquery).
+ rpc UnenrollDataSources(UnenrollDataSourcesRequest)
+ returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ post: "/v1/{name=projects/*/locations/*}:unenrollDataSources"
+ body: "*"
+ };
+ }
}
// A parameter used to define custom fields in a data source definition.
@@ -894,3 +906,14 @@ message EnrollDataSourcesRequest {
// data source id.
repeated string data_source_ids = 2;
}
+
+// A request to unenroll a set of data sources so they are no longer visible in
+// the BigQuery UI's `Transfer` tab.
+message UnenrollDataSourcesRequest {
+ // The name of the project resource in the form: `projects/{project_id}`
+ string name = 1;
+
+ // Data sources that are unenrolled. It is required to provide at least one
+ // data source id.
+ repeated string data_source_ids = 2;
+}
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java
index 3b8428bb5009..9d5af6eb0305 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java
index 6997cbf91ff6..23bf01708304 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java
index 2f42b8ba8205..186fff37137b 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java
index b44172cbfdaf..3d9a63d222ad 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java
index bdace0a29df7..39319be49c4f 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java
index a579d210e20a..22f9f38e17c7 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java
index 03a2468936b8..e59ed5f5b8c9 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java
index 07ab23791f9b..79254d12252d 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java
index 0ddaab98fb3f..f2e345885d03 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java
index 95d2687da125..0613f6d2b1e3 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java
index 3b8228c18603..d617ee3a1ea0 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java
index 80a58bc12bbd..e2f617753919 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java
index 21c8e7d801d4..ca97455ef555 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java
index b078e4aba528..6971b3b6e58b 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java
index 6e7a228c0602..837497766bde 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java
index 086a2b469c3a..4313adb4a4a7 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java
index cf50cf6f127b..7dd1d9379d86 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java
index 15d551a85d62..63acd12efdb3 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java
index 7b1a24a4dbd2..413d8c1ea33d 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java
index 11770da605d7..c97a63d96f55 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java
index 9601265c6712..571b3e9d2b3c 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java
index 42cba9df1f1a..ae69099623e9 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java
index a95626e9393f..311ecc9b7878 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java
index 64022c41580e..24e3073ec5ce 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java
index df8c57f75e60..6d5a9b59316d 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java
index e527ffa3b563..9cde6dc0dea0 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java
index f850d840b591..c92c97b47bd1 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java
index 263e7cfcb4a2..ac095a39dfd6 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java
index c4caf5f9815a..0d42a4a18f11 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java
index 47ae15964f19..1667324da81a 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java
index 3ed176105724..56a1f01fb7be 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java
index d0abd3a54a92..9dd01e7f8b47 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java
index b58487ed77b5..8b2dee7a5054 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java
index ced261b962fe..beaeb268f489 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java
index 6313b4f11362..59166004166e 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java
index a6548752d4be..de48281cee34 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java
index db7814f9a305..b9deff35e4a2 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java
index 7a7bc63bcd44..6928034a3f68 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java
index c813fb301aa2..db40a484a32d 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java
index 116a4e0cd5ab..78b154a15bff 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java
index 6276236aae7b..1b83dae37e23 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java
index 2b5b34ae9ba9..fbdf16fe5b36 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java
index 43fa49bf3ae2..85e1c17ec779 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java
index 624e16964337..01cd583dd94a 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java
index 5d52a6eb8725..66c00c0be515 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java
index a539ee7a9c67..9f44a97ee108 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java
index cee32efacee5..69d13edf0e2f 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java
index 9f0233ccbddf..2a316f7d3967 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java
index fe7562cb90a9..b34f1490f196 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java
index decb16536555..2ae0e8855723 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java
index 0701a13a63fe..a7be67a93bcd 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java
index 048f46f9e413..7abd812c79c5 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java
index ad17a87b3add..b7bcd7de0301 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java
index 368ed24c3377..33eacc73c7ca 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java
index c3079c750fa3..0be79b77f509 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java
index c6e20d550d7d..89e97279986b 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java
index 4755ae66a11f..ba78d99b346e 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java
index 326b51029bde..31186ebcc473 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java
index 132b38b24473..cfafcccb4b94 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java
index faf6ea8a6955..c73e1e49b6e9 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java
index 8bb49661a0b9..72413c74f3e6 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java
index d77d26ab9e1f..15dada28e58a 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java
index fcf4df4f6cc6..74591dff77ff 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java
index b51ae49ebd7d..872e472cb6c6 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java
index b8c8a2720875..2a01d33f4f67 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java
index 6a3374235420..4e69fde396b1 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java
index f78de1f0317f..0b24044e96a7 100644
--- a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/AsyncUnenrollDataSources.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/AsyncUnenrollDataSources.java
new file mode 100644
index 000000000000..a124f81e9b90
--- /dev/null
+++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/unenrolldatasources/AsyncUnenrollDataSources.java
@@ -0,0 +1,51 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.google.cloud.bigquery.datatransfer.v1.samples;
+
+// [START bigquerydatatransfer_v1_generated_DataTransferService_UnenrollDataSources_async]
+import com.google.api.core.ApiFuture;
+import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient;
+import com.google.cloud.bigquery.datatransfer.v1.UnenrollDataSourcesRequest;
+import com.google.protobuf.Empty;
+import java.util.ArrayList;
+
+public class AsyncUnenrollDataSources {
+
+ public static void main(String[] args) throws Exception {
+ asyncUnenrollDataSources();
+ }
+
+ public static void asyncUnenrollDataSources() throws Exception {
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ try (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) {
+ UnenrollDataSourcesRequest request =
+ UnenrollDataSourcesRequest.newBuilder()
+ .setName("name3373707")
+ .addAllDataSourceIds(new ArrayList